diff options
| author | Allen Winter <winter@kde.org> | 2008-01-12 16:37:34 +0000 | 
|---|---|---|
| committer | Allen Winter <winter@kde.org> | 2008-01-12 16:37:34 +0000 | 
| commit | c05f234f7cdb76dd4296b945be326d1916edac77 (patch) | |
| tree | 48ff608cd9afb21659eac478a8f363f613c1f632 /modules | |
| parent | d5e405ffeae838614d49dd94f30cc13451065eb1 (diff) | |
| download | extra-cmake-modules-c05f234f7cdb76dd4296b945be326d1916edac77.tar.gz extra-cmake-modules-c05f234f7cdb76dd4296b945be326d1916edac77.tar.bz2 | |
add -Wall to the Intel C/C++ compiler options
I wonder if we should also add -Wcheck?
svn path=/trunk/KDE/kdelibs/; revision=760425
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/FindKDE4Internal.cmake | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index c7701e7c..c7e6fcfe 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -940,8 +940,8 @@ if (CMAKE_C_COMPILER MATCHES "icc")     set(CMAKE_C_FLAGS_DEBUG            "-O2 -g -Ob0 -noalign")     set(CMAKE_C_FLAGS_DEBUGFULL        "-g -Ob0 -noalign") -   set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   -ansi -Wpointer-arith -fno-common") -   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ansi -Wpointer-arith -fno-exceptions -fno-common") +   set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   -ansi -Wall -Wpointer-arith -fno-common") +   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ansi -Wall -Wpointer-arith -fno-exceptions -fno-common")     # visibility support     set(__KDE_HAVE_ICC_VISIBILITY) | 
