mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 11:04:14 +00:00
Add -Wc++11-compat to the pedantic flags.
This commit is contained in:
parent
7a3fa073da
commit
17e542dac1
@ -320,6 +320,12 @@ check_compiler_has_flag(
|
||||
HAS_COMPILER_FLAG_WUSELESS_CAST
|
||||
)
|
||||
|
||||
check_compiler_has_flag(
|
||||
CXX_FLAGS_PEDANTIC_COMPILATION
|
||||
"-Wc++11-compat"
|
||||
HAS_COMPILER_FLAG_WCXX_11_COMPAT
|
||||
)
|
||||
|
||||
|
||||
### Set the final compiler flags.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user