Skip to content
Permalink
Browse files
add -Wformat-security to PEDANTIC
git-svn-id: http://svn.osgeo.org/qgis/trunk@10078 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 1, 2009
1 parent ca28f13 commit 40a0eb2
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 40a0eb2

Please sign in to comment.