Adds -Wnoexcept to the CMake pedantic flags.

This commit is contained in:
Mark de Wever 2012-11-05 19:19:20 +00:00
parent d2f744a97d
commit d6ec2a42fb
2 changed files with 7 additions and 0 deletions

View File

@ -326,6 +326,12 @@ check_compiler_has_flag(
HAS_COMPILER_FLAG_WCXX_11_COMPAT
)
check_compiler_has_flag(
CXX_FLAGS_PEDANTIC_COMPILATION
"-Wnoexcept"
HAS_COMPILER_FLAG_WNOEXCEPT
)
### Set the final compiler flags.

View File

@ -91,6 +91,7 @@ Version 1.11.0+svn:
* Fix OOS when observe scenario 2 in a multiplayer campaign (bug #20217).
* Synchronize underlying_unit_id in MP campaigns (bug #20227)
* Fixed: Compilation with Boost 1.51.0 (Gentoo bug #440742).
* Added -Wnoexcept to the CMake pedantic flags.
Version 1.11.0:
* Add-ons client: