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: "matt at godbolt dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Jun 2014 15:33:40 +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 #3 from Matt Godbolt <matt at godbolt dot org> ---
Many apologies: this does indeed also happen with GCC 4.7.2! Thanks for
checking.
Also, re: the -Wsystem-headers, this does indeed fix this case but of course in
general isn't a good workaround as system headers often do have warnings.