This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61412] Warnings incorrectly suppressed when compiling previously preprocessed file
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Jun 2014 15:30:50 +0000
- Subject: [Bug c++/61412] Warnings incorrectly suppressed when compiling previously preprocessed file
- Auto-submitted: auto-generated
- References: <bug-61412-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61412
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm pretty sure there's an existing report about this.
Adding -Wsystem-headers makes it warn.