summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2016-08-17 10:14:42 +0200
committerShinDarth <borzifrancesco@gmail.com>2016-08-17 10:14:42 +0200
commit0c554291b51521359b7ca3e7f0ffe615fc9083ff (patch)
tree4cb5545dbe3fc3ef93610e6009cc03c916b21125 /modules
parentcd250f3fec21aecf2e389290366afb41ec9721b1 (diff)
Build/Clang: suppress useless warnings
Diffstat (limited to 'modules')
-rw-r--r--modules/acore/cmake/compiler/clang/settings.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/acore/cmake/compiler/clang/settings.cmake b/modules/acore/cmake/compiler/clang/settings.cmake
index 4dad4cb782..e18e457455 100644
--- a/modules/acore/cmake/compiler/clang/settings.cmake
+++ b/modules/acore/cmake/compiler/clang/settings.cmake
@@ -15,6 +15,6 @@ if(WITH_COREDEBUG)
endif()
# -Wno-narrowing needed to suppress a warning in g3d
-# -Wno-deprecated-register is needed to suppress 185 gsoap warnings on Unix systems.
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing -Wno-deprecated-register")
+# -Wno-deprecated-register -Wstring-plus-int -Wpointer-bool-conversion are needed to suppress gsoap warnings on Unix systems.
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing -Wno-deprecated-register -Wstring-plus-int -Wpointer-bool-conversion -Wparentheses")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG=1")