3 ms·
-Werror=switch-enum -Werror=unused-label (but you get the point :D)
by _ZeD_ 14y ago
-Werror=switch-enum -Werror=unused-label
(but you get the point :D)
- theonewolf 14y agothat's why it's a "Brain teaser" and not a "compiler teaser." If you were inspecting code without a compiler it's easier to miss. The standard '-Wall -Werror' catches it (arguably, it'd be nice if everyone _at least_ did -Wall by default).