since 2011-07-24T12:27:21Z!loonycyborg@gmail.com strict-aliasing should be possible again...

...for the old network code, too, so remove this (now no longer
required) flag by default
This commit is contained in:
Nils Kneuper 2011-07-24 15:10:34 +00:00
parent 9fdeeeb380
commit c2268b1e9d
2 changed files with 4 additions and 3 deletions

View file

@ -113,9 +113,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
if(NOT CONFIGURED)
if(ENABLE_STRICT_COMPILATION)
# The current networking code breaks strict aliasing in g++ 4.5.
# Once the code is converted to boost::asio it might be reenabled.
set(STRICT_FLAGS "-Werror -Wno-strict-aliasing")
set(STRICT_FLAGS "-Werror")
else(ENABLE_STRICT_COMPILATION)
set(STRICT_FLAGS "")
endif(ENABLE_STRICT_COMPILATION)

View file

@ -39,6 +39,9 @@ Version 1.9.7+svn:
* Fixed bug #18117, saved games with Qatif-al-nar became corrupted
* Fixed bug #18120, where Khalifate units were not getting the default ALMA
* Patch #2663: Make wesnoth-optipng work on systems with BSD stat
* CMake build system:
* Disabled building of libana by default
* Removed "-Wno-strict-aliasing" from the default compiler flags
Version 1.9.7:
* Graphics: