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 preprocessor/28079] #line range not verified without -pedantic



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-06-21 05:07 -------
[kudzu:~] pinskia% gcc t.c -pedantic-errors -std=c99
t.c:1:7: error: line number out of range
t.c:-1358925197: error: ISO C forbids an empty source file

With -pedantic we just get a warning.

I don't know if we should warn even with -pedantic.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Keywords|                            |diagnostic
            Summary|#line range not verified    |#line range not verified
                   |                            |without -pedantic


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


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