[Bug c++/7385] [3.3/3.4 Regression] g++ problems with enum and __attribute__
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 9 02:02:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7385
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-09 02:02 -------
The error message has changed again:
pr7385.cc:3: warning: `packed' attribute ignored
pr7385.cc:4: error: non-local function `void g1(e1)' uses anonymous type
pr7385.cc:3: error: `typedef enum <anonymous> e1' does not refer to the
unqualified type, so it is not used for linkage
pr7385.cc:6: warning: `packed' attribute ignored
pr7385.cc:7: error: non-local function `void g2(e2)' uses anonymous type
pr7385.cc:6: error: `typedef enum <anonymous> e2' does not refer to the
unqualified type, so it is not used for linkage
More information about the Gcc-bugs
mailing list