public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/16323] New: -Wendif-labels listed even though it's on by default
@ 2004-07-01 23:30 sebor at roguewave dot com
2004-07-01 23:36 ` [Bug preprocessor/16323] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: sebor at roguewave dot com @ 2004-07-01 23:30 UTC (permalink / raw)
To: gcc-bugs
The gcc manual lists warning options that are not the default. Since the
-Wendif-labels option is listed, the default must be -Wno-endif-labels.
However, gcc 3.4 issues this type of a warning even with no options at
all. Either gcc or the manual must be wrong.
$ cat t.cpp && gcc --version && gcc -c t.cpp
#if FOO
#endif FOO
gcc (GCC) 3.4.0
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
t.cpp:2:8: warning: extra tokens at end of #endif directive
--
Summary: -Wendif-labels listed even though it's on by default
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sebor at roguewave dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16323
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug preprocessor/16323] -Wendif-labels listed even though it's on by default
2004-07-01 23:30 [Bug preprocessor/16323] New: -Wendif-labels listed even though it's on by default sebor at roguewave dot com
@ 2004-07-01 23:36 ` pinskia at gcc dot gnu dot org
2005-02-15 1:19 ` cvs-commit at gcc dot gnu dot org
2005-02-15 1:30 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-01 23:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-01 23:36 -------
Confirmed, just a documentation problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic, documentation
Last reconfirmed|0000-00-00 00:00:00 |2004-07-01 23:36:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16323
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug preprocessor/16323] -Wendif-labels listed even though it's on by default
2004-07-01 23:30 [Bug preprocessor/16323] New: -Wendif-labels listed even though it's on by default sebor at roguewave dot com
2004-07-01 23:36 ` [Bug preprocessor/16323] " pinskia at gcc dot gnu dot org
@ 2005-02-15 1:19 ` cvs-commit at gcc dot gnu dot org
2005-02-15 1:30 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-15 1:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-14 20:46 -------
Subject: Bug 16323
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jsm28@gcc.gnu.org 2005-02-14 20:46:31
Modified files:
gcc : ChangeLog
gcc/doc : invoke.texi
Log message:
PR preprocessor/16323
* doc/invoke.texi: Document that -Wendif-labels is on by default.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7475&r2=2.7476
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&r1=1.578&r2=1.579
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16323
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug preprocessor/16323] -Wendif-labels listed even though it's on by default
2004-07-01 23:30 [Bug preprocessor/16323] New: -Wendif-labels listed even though it's on by default sebor at roguewave dot com
2004-07-01 23:36 ` [Bug preprocessor/16323] " pinskia at gcc dot gnu dot org
2005-02-15 1:19 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-15 1:30 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-15 1:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-14 20:54 -------
Fixed for 4.0.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16323
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-14 20:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01 23:30 [Bug preprocessor/16323] New: -Wendif-labels listed even though it's on by default sebor at roguewave dot com
2004-07-01 23:36 ` [Bug preprocessor/16323] " pinskia at gcc dot gnu dot org
2005-02-15 1:19 ` cvs-commit at gcc dot gnu dot org
2005-02-15 1:30 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).