diff options
author | click <click@gonnamakeyou.com> | 2012-11-27 00:43:38 +0100 |
---|---|---|
committer | click <click@gonnamakeyou.com> | 2012-11-27 00:43:38 +0100 |
commit | 8ef48ecc99caa9c28b7d53bb45e6bd56872170a1 (patch) | |
tree | e9bf226246f51773a3ac8f2b1eb89c17772b42a1 /cmake/compiler/icc | |
parent | 371fbf5d315eed754e33aca45f6c9bdaa430e44c (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.cmake | 5 |
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 ) |