2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

View file

@ -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