This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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;
                                                                               
          ^


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]