mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 17:33:17 +00:00
Add -Wctor-dtor-privacy to the pedantic flags.
This commit is contained in:
parent
9476d796c1
commit
00af0909c2
@ -290,6 +290,12 @@ check_compiler_has_flag(
|
||||
HAS_COMPILER_FLAG_WREDUNDANT_DECLS
|
||||
)
|
||||
|
||||
check_compiler_has_flag(
|
||||
CXX_FLAGS_PEDANTIC_COMPILATION
|
||||
"-Wctor-dtor-privacy"
|
||||
HAS_COMPILER_FLAG_WCTOR_DTOR_PRIVACY
|
||||
)
|
||||
|
||||
|
||||
### Set the final compiler flags.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user