mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 07:39:04 +00:00
Add -Wdouble-promotion to the pedantic flags.
This commit is contained in:
parent
5c38ce6151
commit
659d19c4f4
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user