[cfe-dev] libc++: Zero length arrays in test code

Richard Smith richard at metafoo.co.uk
Wed Jul 15 11:32:09 PDT 2015


On Tue, Jul 14, 2015 at 2:01 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk
> wrote:

> On 14 Jul 2015, at 06:29, Andrew Parker <andrew.j.c.parker at gmail.com>
> wrote:
> >
> > These are non-standard GNU extensions, even in C++11 (as far as I read
> the standard at least).
>
> If anyone in WG21 (Chandler?) is reading this, it would be great to have
> this omission fixed in C++17 - it’s currently a big interoperability
> problem for using C headers from C++.


It's a constraint violation in C, too.


> Even if they were explicitly not permitted in classes that were used in
> inheritance, it would be a big help.
>
> David
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150715/f6a63ac3/attachment.html>


More information about the cfe-dev mailing list