Add -Wdouble-promotion to the pedantic flags.

This commit is contained in:
Mark de Wever 2012-07-21 21:10:32 +00:00
parent 5c38ce6151
commit 659d19c4f4

View File

@ -302,6 +302,12 @@ check_compiler_has_flag(
HAS_COMPILER_FLAG_WNON_VIRTUAL_DTOR
)
check_compiler_has_flag(
CXX_FLAGS_PEDANTIC_COMPILATION
"-Wdouble-promotion"
HAS_COMPILER_FLAG_WDOUBLE_PROMOTION
)
### Set the final compiler flags.