* [Bug c++/32368] warnings from system headers not supressed.
2007-06-16 17:20 [Bug c++/32368] New: warnings from system headers not supressed pluto at agmk dot net
@ 2007-06-16 17:21 ` pluto at agmk dot net
2007-06-16 19:19 ` pcarlini at suse dot de
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pluto at agmk dot net @ 2007-06-16 17:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pluto at agmk dot net 2007-06-16 17:20 -------
Created an attachment (id=13714)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13714&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/32368] warnings from system headers not supressed.
2007-06-16 17:20 [Bug c++/32368] New: warnings from system headers not supressed pluto at agmk dot net
2007-06-16 17:21 ` [Bug c++/32368] " pluto at agmk dot net
@ 2007-06-16 19:19 ` pcarlini at suse dot de
2007-06-19 6:44 ` pluto at agmk dot net
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pcarlini at suse dot de @ 2007-06-16 19:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pcarlini at suse dot de 2007-06-16 19:19 -------
At variance with c++/32256, this one apparently happens as "C" code too...
Probably should be not categorized as C++-only...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/32368] warnings from system headers not supressed.
2007-06-16 17:20 [Bug c++/32368] New: warnings from system headers not supressed pluto at agmk dot net
2007-06-16 17:21 ` [Bug c++/32368] " pluto at agmk dot net
2007-06-16 19:19 ` pcarlini at suse dot de
@ 2007-06-19 6:44 ` pluto at agmk dot net
2007-11-02 21:02 ` [Bug c++/32368] warnings from system headers not suppressed tromey at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pluto at agmk dot net @ 2007-06-19 6:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pluto at agmk dot net 2007-06-19 06:44 -------
(In reply to comment #2)
> At variance with c++/32256, this one apparently happens as "C" code too...
> Probably should be not categorized as C++-only...
these little bugs (PR32368, PR32256) are treated as blockers
by people having `-Wall -Werror` in theirs projects.
could we fix this issue easily and quickly in 4.x?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/32368] warnings from system headers not suppressed.
2007-06-16 17:20 [Bug c++/32368] New: warnings from system headers not supressed pluto at agmk dot net
` (2 preceding siblings ...)
2007-06-19 6:44 ` pluto at agmk dot net
@ 2007-11-02 21:02 ` tromey at gcc dot gnu dot org
2007-11-02 21:03 ` tromey at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-11-02 21:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tromey at gcc dot gnu dot org 2007-11-02 21:02 -------
Testing a patch.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-11-02 21:02:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/32368] warnings from system headers not suppressed.
2007-06-16 17:20 [Bug c++/32368] New: warnings from system headers not supressed pluto at agmk dot net
` (3 preceding siblings ...)
2007-11-02 21:02 ` [Bug c++/32368] warnings from system headers not suppressed tromey at gcc dot gnu dot org
@ 2007-11-02 21:03 ` tromey at gcc dot gnu dot org
2007-11-06 15:57 ` tromey at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-11-02 21:03 UTC (permalink / raw)
To: gcc-bugs
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-11-02 21:02:44 |2007-11-02 21:02:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/32368] warnings from system headers not suppressed.
2007-06-16 17:20 [Bug c++/32368] New: warnings from system headers not supressed pluto at agmk dot net
` (4 preceding siblings ...)
2007-11-02 21:03 ` tromey at gcc dot gnu dot org
@ 2007-11-06 15:57 ` tromey at gcc dot gnu dot org
2007-11-06 16:02 ` tromey at gcc dot gnu dot org
2008-03-14 16:52 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-11-06 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from tromey at gcc dot gnu dot org 2007-11-06 15:57 -------
Subject: Bug 32368
Author: tromey
Date: Tue Nov 6 15:57:02 2007
New Revision: 129936
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129936
Log:
gcc
PR c++/32256, PR c++/32368:
* function.c (saved_in_system_header): New global.
(push_cfun): Save in_system_header.
(pop_cfun): Restore in_system_header.
(push_struct_function): Save in_system_header.
gcc/testsuite
PR c++/32368:
* g++.dg/warn/pragma-system_header3.h: New.
* g++.dg/warn/pragma-system_header3.C: New.
PR c++/32256:
* g++.dg/warn/pragma-system_header4.C: New.
* g++.dg/warn/pragma-system_header4.h: New.
Added:
trunk/gcc/testsuite/g++.dg/warn/pragma-system_header3.C
trunk/gcc/testsuite/g++.dg/warn/pragma-system_header3.h
trunk/gcc/testsuite/g++.dg/warn/pragma-system_header4.C
trunk/gcc/testsuite/g++.dg/warn/pragma-system_header4.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/32368] warnings from system headers not suppressed.
2007-06-16 17:20 [Bug c++/32368] New: warnings from system headers not supressed pluto at agmk dot net
` (5 preceding siblings ...)
2007-11-06 15:57 ` tromey at gcc dot gnu dot org
@ 2007-11-06 16:02 ` tromey at gcc dot gnu dot org
2008-03-14 16:52 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-11-06 16:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from tromey at gcc dot gnu dot org 2007-11-06 16:01 -------
Fixed on trunk.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.3.0
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/32368] warnings from system headers not suppressed.
2007-06-16 17:20 [Bug c++/32368] New: warnings from system headers not supressed pluto at agmk dot net
` (6 preceding siblings ...)
2007-11-06 16:02 ` tromey at gcc dot gnu dot org
@ 2008-03-14 16:52 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-14 16:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2008-03-14 16:51 -------
We have one regression open for this. Let's close this as fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Keywords| |diagnostic
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368
^ permalink raw reply [flat|nested] 9+ messages in thread