This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/28079] #line range not verified without -pedantic
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2006 05:07:59 -0000
- Subject: [Bug preprocessor/28079] #line range not verified without -pedantic
- References: <bug-28079-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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