This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Variables whose types are anonymous structs, once again
- From: law at redhat dot com
- To: Matt Austern <austern at apple dot com>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Wed, 19 May 2004 13:09:19 -0600
- Subject: Re: Variables whose types are anonymous structs, once again
- Reply-to: law at redhat dot com
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