[QGIS-trac] Re: [Quantum GIS] #234: ISO C++ forbids casting between pointer-to-function and pointer-to-object

Quantum GIS qgis at qgis.org
Sat Aug 23 12:33:57 EDT 2008


#234: ISO C++ forbids casting between pointer-to-function and pointer-to-object
----------------------------------------------------+-----------------------
        Reporter:  mloskot                          |         Owner:  gsherman                
            Type:  enhancement                      |        Status:  closed                  
        Priority:  minor: annoyance or enhancement  |     Milestone:  Version 1.0.0           
       Component:  Build/Install                    |       Version:  HEAD                    
      Resolution:  wontfix                          |      Keywords:  casting pointer function
Platform_version:  Ubuntu 6.06                      |      Platform:  Debian                  
        Must_fix:  No                               |   Status_info:  0                       
----------------------------------------------------+-----------------------
Comment (by mloskot):

 Jef,

 I agree about where is the root of the problem and ''extern "C"'' does not
 solve all aspects of it. Clean and 100% valid solution for this problem
 does not exist. So, silencing warning does not eliminate it, potential
 risk of problems on various C++ implementations might be expected.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/234#comment:15>
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