From: Côme Chilliet Date: Sun, 20 Nov 2016 15:50:22 +0000 (+0800) Subject: Ignoring parentheses warnings for now - too much of them it too messy code X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=31801560f92e99939f40ee49d9c279324db044bb;p=lugaru.git Ignoring parentheses warnings for now - too much of them it too messy code --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 57d8f86..522b22f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,8 +8,8 @@ INCLUDE(FindPkgConfig) set(SRCDIR "${CMAKE_CURRENT_SOURCE_DIR}/Source") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 --std=c++11") -set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -g -pg --std=c++11") -set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -O2 -std=c++11") +set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-parentheses -g -pg --std=c++11") +set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -Wno-parentheses -O2 -std=c++11") if(NOT LUGARU_INSTALL_PREFIX) if(WIN32)