From 4668ca784e399341f9c9a073434732153e7d9c45 Mon Sep 17 00:00:00 2001 From: khizmax Date: Fri, 22 Sep 2017 21:59:55 +0300 Subject: [PATCH] Removed -fno-strict-aliasing requirement --- CMakeLists.txt | 1 - cds/details/defs.h | 4 ---- change.log | 1 + 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b72880b1..1cbd9e49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,7 +112,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") message("C++ std: -std=c++11 (default)") endif() -# list(APPEND LIBCDS_PUBLIC_CXX_FLAGS "-fno-strict-aliasing") list(APPEND LIBCDS_PRIVATE_CXX_FLAGS "-Wall" "-Wextra" "-pedantic") if(CMAKE_TARGET_ARCHITECTURE STREQUAL "x86_64") diff --git a/cds/details/defs.h b/cds/details/defs.h index e78fc762..2154a2fb 100644 --- a/cds/details/defs.h +++ b/cds/details/defs.h @@ -206,10 +206,6 @@ For Unix-like systems GCC and Clang compilers are supported. Use GCC 4.8+ compiler or Clang 3.6+ to build cds library with CMake. See accompanying file /build/cmake/readme.md for more info. - - @note Important for GCC compiler: all your projects that use \p libcds must be compiled with -fno-strict-aliasing - compiler flag. - */ diff --git a/change.log b/change.log index e81eabfe..81694eff 100644 --- a/change.log +++ b/change.log @@ -1,4 +1,5 @@ 2.4.0 + - Removed: -fno-strict-aliasing requirement 2.3.1 01.09.2017 Maintenance release -- 2.34.1