CMakeLists: Enable -Wmissing-declarations on Linux builds

Allows catching cases where internal linkage isn't specified for helper
functions when they should be marked as such.
master
Lioncash 2020-04-16 22:06:58 +07:00
parent 79c1269f0f
commit fc5df84581
1 changed files with 1 additions and 0 deletions

@ -56,6 +56,7 @@ else()
-Werror=implicit-fallthrough -Werror=implicit-fallthrough
-Werror=reorder -Werror=reorder
-Wextra -Wextra
-Wmissing-declarations
-Wno-attributes -Wno-attributes
-Wno-unused-parameter -Wno-unused-parameter
) )