Add -Wmismatched-tags to the pedantic flags.

This commit is contained in:
Mark de Wever 2012-07-21 21:10:34 +00:00
parent 659d19c4f4
commit 7e13a53e4e

View File

@ -308,6 +308,12 @@ check_compiler_has_flag(
HAS_COMPILER_FLAG_WDOUBLE_PROMOTION
)
check_compiler_has_flag(
CXX_FLAGS_PEDANTIC_COMPILATION
"-Wmismatched-tags"
HAS_COMPILER_FLAG_WMISMATCHED_TAGS
)
### Set the final compiler flags.