mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 17:00:57 +01:00
cmake: Enforce -Wunused-function code-base wide
This commit is contained in:
parent
71264ce9a7
commit
06e0506cb3
2 changed files with 1 additions and 1 deletions
|
@ -69,6 +69,7 @@ else()
|
||||||
-Werror=reorder
|
-Werror=reorder
|
||||||
-Werror=switch
|
-Werror=switch
|
||||||
-Werror=uninitialized
|
-Werror=uninitialized
|
||||||
|
-Werror=unused-function
|
||||||
-Werror=unused-result
|
-Werror=unused-result
|
||||||
-Werror=unused-variable
|
-Werror=unused-variable
|
||||||
-Wextra
|
-Wextra
|
||||||
|
|
|
@ -314,7 +314,6 @@ else()
|
||||||
-Werror=shadow
|
-Werror=shadow
|
||||||
-Werror=switch
|
-Werror=switch
|
||||||
-Werror=type-limits
|
-Werror=type-limits
|
||||||
-Werror=unused-function
|
|
||||||
-Werror=unused-variable
|
-Werror=unused-variable
|
||||||
|
|
||||||
$<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
|
$<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
|
||||||
|
|
Loading…
Reference in a new issue