This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/81582] -Wimplicit-fallthrough= wrong warning with -save-temps
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jul 2017 13:54:22 +0000
- Subject: [Bug other/81582] -Wimplicit-fallthrough= wrong warning with -save-temps
- Auto-submitted: auto-generated
- References: <bug-81582-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81582
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If you are preprocessing without -C and without -fdirectives-only, then
comments are gone, so you really can't use them to inhibit the warning.