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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #5)
> The enumeration type can take any value from (Foo)INT_MIN to (Foo)INT_MAX,
> and likewise for Bar. Your switches are not exhaustive.
> 
> I think we need a FAQ about this, we have so many invalid bug reports like
> this.

https://gcc.gnu.org/wiki/VerboseDiagnostics#enum_switch

Reply via email to