From 0da1f8d44f245a5ec59a08cf6b0f70241df81777 Mon Sep 17 00:00:00 2001 From: ipg Date: Fri, 26 Oct 2018 13:17:23 +0100 Subject: changes in Makefile to turn off some warnings --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f2de60..b428bb5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,7 +141,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -DBOOST_LOG_DYN_LINK \ -lboost_system -pthread -pedantic -Wall -Wextra \ -Wcast-align -Wcast-qual -Wformat=2 -Winit-self \ -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wnoexcept \ --Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow \ +-Wno-old-style-cast -Woverloaded-virtual -Wredundant-decls -Wno-shadow \ +-Wno-error=catch-value= \ -Wstrict-null-sentinel -Werror") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g") #set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O -fno-inline -fno-inline-functions -g -Wl,-O1") # uncomment for profiling -- cgit v1.2.1