Add -Wc++11-compat to the pedantic flags.

This commit is contained in:
Mark de Wever 2012-10-07 09:17:50 +00:00
parent 7a3fa073da
commit 17e542dac1
2 changed files with 7 additions and 0 deletions

View File

@ -320,6 +320,12 @@ check_compiler_has_flag(
HAS_COMPILER_FLAG_WUSELESS_CAST
)
check_compiler_has_flag(
CXX_FLAGS_PEDANTIC_COMPILATION
"-Wc++11-compat"
HAS_COMPILER_FLAG_WCXX_11_COMPAT
)
### Set the final compiler flags.

View File

@ -63,6 +63,7 @@ Version 1.11.0+svn:
* Fixed a bug disallowing the left shift and meta key to be detected in
the hotkeys
* Added -Wuseless-cast to the CMake pedantic flags.
* Added -Wc++11-compat to the CMake pedantic flags.
Version 1.11.0:
* Add-ons client: