[Bug c/11853] long enum constant name results in an error
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 8 14:12: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=11853
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-08 14:12 -------
The code is defining IPPROTO_HOPOPTS as 59 so the preprocessor is replacing IPPROTO_HOPOPTS
with 59 so in the enum you get:
59 = 59,
and that is an invalid for an enum. The code is wrong find out where IPPROTO_HOPOPTS is being
defined and why (might have been a configuring of libpcap wrong).
Closing as this is not a GCC bug.
More information about the Gcc-bugs
mailing list