forked from ShuriZma/suyu
1
0
Fork 0

CMakeLists: Make missing declarations a compile-time error

Ensures that our code always has its linkage explicit.
This commit is contained in:
Lioncash 2020-04-16 23:23:57 -04:00
parent e2d8be1ca2
commit dcbb39cdae
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ else()
add_compile_options(
-Wall
-Werror=implicit-fallthrough
-Werror=missing-declarations
-Werror=reorder
-Wextra
-Wmissing-declarations