3 ms·
Clang actually doesn't warn in -Wextra: https://www.godbolt.org/z/99ejvY9Pc https://www.godbolt.org/z/99ejvY9Pc It requires the separate option -Wimplicit-fal
by flohofwoe 3y ago
Clang actually doesn't warn in -Wextra:
https://www.godbolt.org/z/99ejvY9Pc https://www.godbolt.org/z/99ejvY9Pc
It requires the separate option -Wimplicit-fallthrough:
https://www.godbolt.org/z/GP576zG9h https://www.godbolt.org/z/GP576zG9h
(which tbh sounds like a bug, because usually Clang tries to emulate GCC behaviour)