Can this 3+ year old bug be fixed: Warning "missing braces around initializer" causing problems with std::array

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can this 3+ year old bug be fixed: Warning "missing braces around initializer" causing problems with std::array

Matthieu Brucher via cfe-dev
https://bugs.llvm.org/show_bug.cgi?id=21629


Thanks,

Yuri

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Can this 3+ year old bug be fixed: Warning "missing braces around initializer" causing problems with std::array

Matthieu Brucher via cfe-dev
Looks fixed in trunk, this godbolt example:


seems to confirm this.

It looks like the fix should also be in 6.0.0 as per James comment in the bug report.

Regards
-Shafik

On Jan 12, 2018, at 12:29 AM, Yuri via cfe-dev <[hidden email]> wrote:

https://bugs.llvm.org/show_bug.cgi?id=21629


Thanks,

Yuri

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Can this 3+ year old bug be fixed: Warning "missing braces around initializer" causing problems with std::array

Matthieu Brucher via cfe-dev
On 01/12/18 16:16, Shafik Yaghmour wrote:
> Looks fixed in trunk, this godbolt example:
>
> https://godbolt.org/g/Beufwr
>
> seems to confirm this.
>
> It looks like the fix should also be in 6.0.0 as per James comment in
> the bug report.

This is great!

Yuri
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev