diff options
author | ipg | 2018-10-26 13:17:23 +0100 |
---|---|---|
committer | ipg | 2018-10-26 13:17:23 +0100 |
commit | 0da1f8d44f245a5ec59a08cf6b0f70241df81777 (patch) | |
tree | f957fe8acca0970fd396a44372466f04ad9f8833 | |
parent | Merge pull request #102 from thecharlesblake/waste-symmetry (diff) | |
download | metasol-0da1f8d44f245a5ec59a08cf6b0f70241df81777.tar.gz metasol-0da1f8d44f245a5ec59a08cf6b0f70241df81777.zip |
changes in Makefile to turn off some warnings
-rw-r--r-- | CMakeLists.txt | 3 |
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 |