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.
This commit is contained in:
Lioncash 2020-04-16 22:06:58 -04:00
parent 79c1269f0f
commit fc5df84581
1 changed files with 1 additions and 0 deletions

View File

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