Add -Wno-strict-aliasing to compiler flags.
This reverts 2011-07-24T15:10:34Z!crazy-ivanovic@gmx.net, since it breaks building the unit tests with g++ 4.4.
This commit is contained in:
parent
d3740f939e
commit
76a112eaa8
2 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
if(NOT CONFIGURED)
|
||||
|
||||
if(ENABLE_STRICT_COMPILATION)
|
||||
set(STRICT_FLAGS "-Werror")
|
||||
# The current unit test code breaks strict aliasing with g++ 4.4.
|
||||
set(STRICT_FLAGS "-Werror -Wno-strict-aliasing")
|
||||
else(ENABLE_STRICT_COMPILATION)
|
||||
set(STRICT_FLAGS "")
|
||||
endif(ENABLE_STRICT_COMPILATION)
|
||||
|
|
|
@ -110,6 +110,7 @@ Version 1.9.8+svn:
|
|||
* Teach wmllint to fix deprecated implicit side=1 in [store_gold], [gold]
|
||||
[remove_shroud], [place_shroud], [modify_side], [modify_ai] actions
|
||||
* Fixed bug #17150: fix naming confict with OpenBSD macro by renaming
|
||||
* Added "-Wno-strict-aliasing" to the default compiler flags.
|
||||
|
||||
Version 1.9.8:
|
||||
* Campaigns:
|
||||
|
|
Loading…
Add table
Reference in a new issue