1
0
Fork 1
forked from suyu/suyu

cmake: Enforce -Werror=switch and -Werror=unused-variable

This commit is contained in:
Morph 2021-01-13 01:52:30 -05:00
parent 0fb19e9bef
commit 2b98da2ed4

View file

@ -67,8 +67,10 @@ else()
-Werror=implicit-fallthrough
-Werror=missing-declarations
-Werror=reorder
-Werror=switch
-Werror=uninitialized
-Werror=unused-result
-Werror=unused-variable
-Wextra
-Wmissing-declarations
-Wno-attributes