c/3885: Incorrect "invalid suffix on integer constant" error

aoliva@gcc.gnu.org aoliva@gcc.gnu.org
Mon Jul 30 20:27:00 GMT 2001


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



More information about the Gcc-bugs mailing list