Add -Wctor-dtor-privacy to the pedantic flags.

This commit is contained in:
Mark de Wever 2012-07-21 21:10:26 +00:00
parent 9476d796c1
commit 00af0909c2

View File

@ -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.