[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/qt-dbus
From:       André Wöbbeking <Woebbeking () web ! de>
Date:       2006-06-03 13:28:11
Message-ID: 1149341291.588638.24429.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 547805 by woebbe:

some compiler flags, specially -Wno-long-long (taken from FindKDE4Internal.cmake)

 M  +4 -0      CMakeLists.txt  


--- trunk/kdesupport/qt-dbus/CMakeLists.txt #547804:547805
@@ -9,6 +9,10 @@
 if (CMAKE_SYSTEM_NAME MATCHES Linux)
    set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined")
    set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined")
+
+   if (CMAKE_COMPILER_IS_GNUCXX)
+     set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long \
-ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings \
-Wformat-security -fno-exceptions -fno-check-new -fno-common") +   endif \
(CMAKE_COMPILER_IS_GNUCXX)  endif (CMAKE_SYSTEM_NAME MATCHES Linux)
 
 SET(QT_MIN_VERSION 4.1.3)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic