mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 18:31:32 +00:00
Add -Wmismatched-tags to the pedantic flags.
This commit is contained in:
parent
659d19c4f4
commit
7e13a53e4e
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user