Variables whose types are anonymous structs, once again

law@redhat.com law@redhat.com
Wed May 19 19:09:00 GMT 2004


In message <83960454-89A5-11D8-8C46-000A95BCF344@apple.com>, Matt Austern write
s:
 >OK, I raised this issue once before.  I know more now than I did then, 
 >so I'm raising it again.
 >
 >The mainline C++ compiler gives an error (a pedwarn, which is treated 
 >as an error by default) if you do this:
 >   enum { a } x;
[ ... ]
Did this ever get resolved one way or the other?  There's a ton of C++ 
code which trips over these kinds of things and it'd be good to know if
we need to pester those projects to get their code fixed or not.

Jeff



More information about the Gcc mailing list