[QGIS-trac] [Quantum GIS] #1516: qgis 1.0.0 does not build with CXXFLAGS="-Werror=format-security"

Quantum GIS qgis at qgis.org
Tue Jan 27 08:52:41 EST 2009


#1516: qgis 1.0.0 does not build with CXXFLAGS="-Werror=format-security"
-----------------------------------------------+----------------------------
   Reporter:  fundawang                        |              Owner:  nobody       
       Type:  patch                            |             Status:  new          
   Priority:  minor: annoyance or enhancement  |          Milestone:  Version 1.0.1
  Component:  Build/Install                    |            Version:  1.0.0        
   Keywords:                                   |   Platform_version:               
   Platform:  Mandriva                         |           Must_fix:  Yes          
Status_info:  0                                |  
-----------------------------------------------+----------------------------
 -Werror=format-security is used to detect format string of functions like
 printf(), QDebug(), to ensure that the format string is plain string
 rather than unknown variable. So Mandriva enables it by default in 2009.1.

 There are some insecure format strings in qgis, which will report errors
 when using such a compiler flag.

 Please consider merging this patch:
 http://svn.mandriva.com/cgi-
 bin/viewvc.cgi/packages/cooker/qgis/current/SOURCES/qgis_1.0.0-fix-str-
 fmt.patch

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1516>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list