1
0
Fork 0
forked from suyu/suyu

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

View file

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