Skip to content

Commit 40a0eb2

Browse files
author
jef
committed
add -Wformat-security to PEDANTIC
git-svn-id: http://svn.osgeo.org/qgis/trunk@10078 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ca28f13 commit 40a0eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ IF (PEDANTIC)
178178
ADD_DEFINITIONS( /wd4512 ) # assignment operator could not be generated (sqlite3_index_info)
179179
ADD_DEFINITIONS( /wd4610 ) # user defined constructor required (sqlite3_index_info)
180180
ELSE (MSVC)
181-
ADD_DEFINITIONS( -Wall -Wno-long-long )
181+
ADD_DEFINITIONS( -Wall -Wno-long-long -Wformat-security )
182182
# Qt produces lots of warnings with strict aliasing (as of Qt 4.4.0 & GCC 4.3)
183183
# ADD_DEFINITIONS( -fstrict-aliasing -Wstrict-aliasing=1 )
184184
ENDIF (MSVC)

0 commit comments

Comments
 (0)