[Bug c/56599] very confusing compiler diagnostics (for stupid bug on my part)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 11 18:50:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56599

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-11 18:49:38 UTC ---
Works on the trunk on x86_64-linux-gnu just fine:
dlt8.c:4:25: error: expected ‘,’ or ‘;’ before numeric constant
 #define  SAMPLELONGLONG 123456789012345
                         ^
dlt8.c:10:90: note: in expansion of macro ‘SAMPLELONGLONG’
    "Here we have some user info, wherein we stupidly try to include a numeric
constant " SAMPLELONGLONG;
                                                                               
          ^
apinski@apinskidesktop:~/Downloads$ ~/gcc-228/bin/gcc dlt9.c
dlt9.c:4:25: error: expected ‘,’ or ‘;’ before numeric constant
 #define  SAMPLELONGLONG 123456789012345
                         ^
dlt9.c:10:90: note: in expansion of macro ‘SAMPLELONGLONG’
    "Here we have some user info, wherein we stupidly try to include a numeric
constant " SAMPLELONGLONG;
                                                                               
          ^



More information about the Gcc-bugs mailing list