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

David Chisnall David.Chisnall at cl.cam.ac.uk
Tue Jul 14 02:01:42 PDT 2015


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





More information about the cfe-dev mailing list