This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20589] error: '<anonymous enum>' is/uses anonymous type'
- From: "caolanm at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2005 11:53:43 -0000
- Subject: [Bug c++/20589] error: '<anonymous enum>' is/uses anonymous type'
- References: <20050322154540.20589.caolanm@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From caolanm at redhat dot com 2005-03-23 11:53 -------
The workaround is trivial. But I'm still confused as to what exactly causes gcc
to treat unnamed enums so much differently that named ones. It would be great if
I could get some clarity on this. I have a handful of cases like this in the
openoffice.org code base and OOo is reluctant to take the patches to fix unless
sure it's currently invalid.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20589