mirror of https://git.suyu.dev/suyu/suyu
cmake: Enforce -Werror=switch and -Werror=unused-variable
This commit is contained in:
parent
0fb19e9bef
commit
2b98da2ed4
|
@ -67,8 +67,10 @@ else()
|
||||||
-Werror=implicit-fallthrough
|
-Werror=implicit-fallthrough
|
||||||
-Werror=missing-declarations
|
-Werror=missing-declarations
|
||||||
-Werror=reorder
|
-Werror=reorder
|
||||||
|
-Werror=switch
|
||||||
-Werror=uninitialized
|
-Werror=uninitialized
|
||||||
-Werror=unused-result
|
-Werror=unused-result
|
||||||
|
-Werror=unused-variable
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wmissing-declarations
|
-Wmissing-declarations
|
||||||
-Wno-attributes
|
-Wno-attributes
|
||||||
|
|
Loading…
Reference in New Issue