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

Eric Fiselier eric at efcs.ca
Tue Jul 14 08:47:35 PDT 2015


> Would there be objection to changing the test code here to be standard conformant?

No, in fact it would be preferred. I thought I had already removed all
of the occurances of ZLA's :(

If you want to put together a patch I'll review it ASAP.

/Eric

On Tue, Jul 14, 2015 at 5: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++.  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




More information about the cfe-dev mailing list