mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
CMakeLists: Make missing declarations a compile-time error
Ensures that our code always has its linkage explicit.
This commit is contained in:
parent
e2d8be1ca2
commit
dcbb39cdae
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ else()
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
-Wall
|
-Wall
|
||||||
-Werror=implicit-fallthrough
|
-Werror=implicit-fallthrough
|
||||||
|
-Werror=missing-declarations
|
||||||
-Werror=reorder
|
-Werror=reorder
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wmissing-declarations
|
-Wmissing-declarations
|
||||||
|
|
Loading…
Reference in a new issue