[QGIS Commit] r10078 - trunk/qgis

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Feb 1 06:55:47 EST 2009


Author: jef
Date: 2009-02-01 06:55:47 -0500 (Sun, 01 Feb 2009)
New Revision: 10078

Modified:
   trunk/qgis/CMakeLists.txt
Log:
add -Wformat-security to PEDANTIC

Modified: trunk/qgis/CMakeLists.txt
===================================================================
--- trunk/qgis/CMakeLists.txt	2009-02-01 08:03:00 UTC (rev 10077)
+++ trunk/qgis/CMakeLists.txt	2009-02-01 11:55:47 UTC (rev 10078)
@@ -178,7 +178,7 @@
     ADD_DEFINITIONS( /wd4512 )  # assignment operator could not be generated (sqlite3_index_info)
     ADD_DEFINITIONS( /wd4610 )  # user defined constructor required (sqlite3_index_info)
   ELSE (MSVC)
-    ADD_DEFINITIONS( -Wall -Wno-long-long )
+    ADD_DEFINITIONS( -Wall -Wno-long-long -Wformat-security )
     # Qt produces lots of warnings with strict aliasing (as of Qt 4.4.0 & GCC 4.3)
     # ADD_DEFINITIONS( -fstrict-aliasing -Wstrict-aliasing=1 )
   ENDIF (MSVC)



More information about the QGIS-commit mailing list