mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 11:04:14 +00:00
Add -Wredundant-decls to the pedantic flags.
This commit is contained in:
parent
0bba0e5afb
commit
20de726f8a
@ -284,6 +284,12 @@ check_compiler_has_flag(
|
||||
HAS_COMPILER_FLAG_WMISSING_DECLARATIONS
|
||||
)
|
||||
|
||||
check_compiler_has_flag(
|
||||
CXX_FLAGS_PEDANTIC_COMPILATION
|
||||
"-Wredundant-decls"
|
||||
HAS_COMPILER_FLAG_WREDUNDANT_DECLS
|
||||
)
|
||||
|
||||
|
||||
### Set the final compiler flags.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user