From: RĂ©mi Verschelde Date: Thu, 8 Dec 2016 08:53:59 +0000 (+0000) Subject: Readd -pedantic to CXX flags for all builds X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=2a35a9f30b5cc6c2f2b06e706910a3fc5f756685;p=lugaru.git Readd -pedantic to CXX flags for all builds It was removed a bit too fast in 20e924d, it's actually an interesting flag to keep even for non-debug builds. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c9ab66..a456c59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ endif() ### CMake config -set(CMAKE_CXX_FLAGS "-Wall -Wno-parentheses --std=c++11 ${CMAKE_CXX_FLAGS}") +set(CMAKE_CXX_FLAGS "-Wall -Wno-parentheses -pedantic --std=c++11 ${CMAKE_CXX_FLAGS}") if(APPLE) set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architectures for OSX")