This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79727] -Wimplicit-fallthrough=3 doesn't seem to match any comments
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Feb 2017 15:29:57 +0000
- Subject: [Bug c++/79727] -Wimplicit-fallthrough=3 doesn't seem to match any comments
- Auto-submitted: auto-generated
- References: <bug-79727-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79727
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I don't see a bug; // -fallthrough warns because it doesn't match any of
regexps in the manual for the level =3 (it has a space at the beginning).
"//-fallthrough" doesn't warn.