Add -Wredundant-decls to the pedantic flags.

This commit is contained in:
Mark de Wever 2012-07-17 19:50:56 +00:00
parent 0bba0e5afb
commit 20de726f8a

View File

@ -284,6 +284,12 @@ check_compiler_has_flag(
HAS_COMPILER_FLAG_WMISSING_DECLARATIONS
)
check_compiler_has_flag(
CXX_FLAGS_PEDANTIC_COMPILATION
"-Wredundant-decls"
HAS_COMPILER_FLAG_WREDUNDANT_DECLS
)
### Set the final compiler flags.