[Bug c/52127] pedantic-errors is inconsistent in its behavior

2012-02-05 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52127 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/52127] pedantic-errors is inconsistent in its behavior

2012-02-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52127 --- Comment #1 from Jonathan Wakely 2012-02-05 21:39:16 UTC --- You need -Wsystem-headers to enable the diagnostic in a system header Stripping the # lines means it is no longer considered a system header