mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 16:21:40 +00:00
Add -Wmissing-declarations to the pedantic flags.
This commit is contained in:
parent
0db12a3414
commit
0bba0e5afb
@ -278,6 +278,12 @@ check_compiler_has_flag(
|
||||
HAS_COMPILER_FLAG_WLOGICAL_OP
|
||||
)
|
||||
|
||||
check_compiler_has_flag(
|
||||
CXX_FLAGS_PEDANTIC_COMPILATION
|
||||
"-Wmissing-declarations"
|
||||
HAS_COMPILER_FLAG_WMISSING_DECLARATIONS
|
||||
)
|
||||
|
||||
|
||||
### Set the final compiler flags.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user