This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/3885: Incorrect "invalid suffix on integer constant" error
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, keith dot rollin at corp dot palm dot com, nobody at gcc dot gnu dot org
- Subject: Re: c/3885: Incorrect "invalid suffix on integer constant" error
- From: aoliva at gcc dot gnu dot org
- Date: 31 Jul 2001 03:27:41 -0000
Synopsis: Incorrect "invalid suffix on integer constant" error
State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Mon Jul 30 20:27:41 2001
State-Changed-Why:
Strange as it may seem, the behavior is correct, and mandated by the C Standard. 0x00E-0x00A is a single preprocessor token, of type pp-number, and it must become a single compiler token, but it can't. The gotcha is the `E-' sequence, that makes it seem like the exponent notation of floating-point constants.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3885&database=gcc