From e199e3571bb6b219995b90a76cc32e7933e383c9 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 12 Aug 2015 17:17:19 -0700 Subject: [PATCH] Revert "Don't error on strict-aliasing warnings." This reverts commit 492463411d1a2c75487cbc298434d2b9e855cdf4. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 131944591d..d8c47f1851 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(ntcore) if (MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /DNOMINMAX /D_SCL_SECURE_NO_WARNINGS") else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wformat=2 -Wall -Wextra -Werror -pedantic -Wno-unused-parameter -Wno-error=strict-aliasing") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wformat=2 -Wall -Wextra -Werror -pedantic -Wno-unused-parameter") endif() # This must be a macro(), as inside a function string() can only