Add -Wmissing-declarations to the pedantic flags.

This commit is contained in:
Mark de Wever 2012-07-17 18:42:06 +00:00
parent 0db12a3414
commit 0bba0e5afb

View File

@ -278,6 +278,12 @@ check_compiler_has_flag(
HAS_COMPILER_FLAG_WLOGICAL_OP
)
check_compiler_has_flag(
CXX_FLAGS_PEDANTIC_COMPILATION
"-Wmissing-declarations"
HAS_COMPILER_FLAG_WMISSING_DECLARATIONS
)
### Set the final compiler flags.