This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/7385] [3.3/3.4 Regression] g++ problems with enum and __attribute__
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2003 02:02:11 -0000
- Subject: [Bug c++/7385] [3.3/3.4 Regression] g++ problems with enum and __attribute__
- References: <20020723051601.7385.gusti@pallas.dk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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