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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Forgot to say, if you are just looking for a workaround for the warning (note,
-O2 -Wreturn-type doesn't warn, in this case you need also no optimizations),
then I'd just move the return from the default: clause to after the switch if
the package maintainers insist on their weird coding conventions.

Reply via email to