[cfe-commits] [Patch] Anonymous struct/union is not an extension in C11

Hans Wennborg hans at chromium.org
Mon Jan 30 08:40:44 PST 2012


On Tue, Jan 24, 2012 at 9:42 AM, Hans Wennborg <hans at chromium.org> wrote:
> On Tue, Jan 24, 2012 at 5:23 AM, Richard Smith <richard at metafoo.co.uk> wrote:
>> Perhaps we should adjust the error text to say they're a C11 extension?
>
> It should probably go under -Wc11-extensions rather than -Wgnu then as well.
>
> And we probably shouldn't change the case for C++: i.e. it should
> still be called a GNU extension?

New patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anonymous-struct-union-c11-2.patch
Type: text/x-patch
Size: 3811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120130/51f5355c/attachment.bin>


More information about the cfe-commits mailing list