[QGIS-trac] Re: [Quantum GIS] #2370: Native and faster compilation of Python bindings

Quantum GIS qgis at qgis.org
Sat Jan 16 04:25:55 EST 2010


#2370: Native and faster compilation of Python bindings
-----------------------------------------------------+----------------------
        Reporter:  wonder                            |         Owner:  wonder       
            Type:  patch                             |        Status:  new          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.5.0
       Component:  Build/Install                     |       Version:  HEAD         
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by jef):

 Replying to [comment:5 wonder]:
 > Juergen, thanks for testing and providing the tweaks. I'll apply them
 when committing the patch to trunk. I'm just wondering why it needs the
 -DNOMINMAX definition... maybe it should be fixed elsewhere?

 In {{{Windef.h}}} there are {{{min()}}} and {{{max()}}} macros that
 interfere with the usage of {{{std::numeric_limits<T>::min()}}} and
 {{{:max()}}} in {{{qgsrasterbands.h}}}.

 MSVC doesn't tell the hierachy of includes (at least by default), so I
 don't really know where the {{{Windef.h}}} include is from.  Not sure why
 that wasn't an issue before.

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