aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/icc
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2012-11-27 00:43:38 +0100
committerclick <click@gonnamakeyou.com>2012-11-27 00:43:38 +0100
commit8ef48ecc99caa9c28b7d53bb45e6bd56872170a1 (patch)
treee9bf226246f51773a3ac8f2b1eb89c17772b42a1 /cmake/compiler/icc
parent371fbf5d315eed754e33aca45f6c9bdaa430e44c (diff)
Core/Buildsystem: Clean up compileflags when compiling with warnings fully enabled.
-Wwrite-strings is default enabled when -Wall is set in clang/gcc, hence removed. -Woverloaded-virtual is now enabled for C++-code only, this removes the useless warnings when dabbling with C-only code.
Diffstat (limited to 'cmake/compiler/icc')
-rw-r--r--cmake/compiler/icc/settings.cmake5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmake/compiler/icc/settings.cmake b/cmake/compiler/icc/settings.cmake
index b7e4cb742b3..58eb63b081d 100644
--- a/cmake/compiler/icc/settings.cmake
+++ b/cmake/compiler/icc/settings.cmake
@@ -9,10 +9,7 @@ endif()
if( WITH_WARNINGS )
add_definitions(-w1)
- message(STATUS "ICC All warnings enabled")
-else()
- add_definitions(-w)
- message(STATUS "ICC: All warnings disabled")
+ message(STATUS "ICC: All warnings enabled")
endif()
if( WITH_COREDEBUG )