Skip to content
Permalink
Browse files

add -Wformat-security to PEDANTIC

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10078 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Feb 1, 2009
1 parent d016c57 commit cae42b3362dfc2fe712a03014a69e1b5b4ad33a5
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -178,7 +178,7 @@ IF (PEDANTIC)
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)

0 comments on commit cae42b3

Please sign in to comment.
You can’t perform that action at this time.