This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11853] New: long enum constant name results in an error
- From: "agri at desnol dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2003 10:47:38 -0000
- Subject: [Bug c/11853] New: long enum constant name results in an error
- 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=11853
Summary: long enum constant name results in an error
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: agri at desnol dot ru
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
i'm trying to compile libpcap by gcc-3.3
i got this problem
there is a file <netinet/in.h> which contains
IPPROTO_HOPOPTS = 0 /* long constant name */
that results in
/usr/include/netinet/in.h:34: error: parse error before numeric constant
stripping the name by few characters resolve the problem