aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoripg2018-10-26 13:17:23 +0100
committeripg2018-10-26 13:17:23 +0100
commit0da1f8d44f245a5ec59a08cf6b0f70241df81777 (patch)
treef957fe8acca0970fd396a44372466f04ad9f8833
parentMerge pull request #102 from thecharlesblake/waste-symmetry (diff)
downloadmetasol-0da1f8d44f245a5ec59a08cf6b0f70241df81777.tar.gz
metasol-0da1f8d44f245a5ec59a08cf6b0f70241df81777.zip

changes in Makefile to turn off some warnings

-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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