[Bug c/83955] false positive implicit-fallthrough warning on switch enum

romain.geissler at amadeus dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 20 01:39:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83955

Romain Geissler <romain.geissler at amadeus dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |romain.geissler at amadeus dot com

--- Comment #3 from Romain Geissler <romain.geissler at amadeus dot com> ---
Hi,

I am hitting this too when migrating some code base to gcc 8. Given that it is
relatively easy to workaround (at least in C++ by adding a [[fallthrough]];
statement) and that it is "just" a warning, I guess it gets quite low priority.
Do you know if we can expect this one to be fixed before gcc 8 release ?

Cheers,
Romain


More information about the Gcc-bugs mailing list