[QGIS-trac] Re: [Quantum GIS] #3583: patch to use the same pal instance for labeling-ng and for diagrams

Quantum GIS qgis at qgis.org
Wed Mar 9 10:06:31 EST 2011


#3583: patch to use the same pal instance for labeling-ng and for diagrams
---------------------------------------------------------+------------------
   Reporter:  mhugent                                    |              Owner:  nobody       
       Type:  patch                                      |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Build/Install                              |            Version:               
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by timlinux):

 Hi MArco

 I tried to test your patch against trunk r15388 but it fails to compile
 with:

 {{{

 [ 68%] Building CXX object
 src/providers/grass/CMakeFiles/grassprovider.dir/provider.cpp.o
 In file included from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/qgsdiagramrendererv2.h:10,
                  from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/qgsvectorlayer.h:29,
                  from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/qgsvectordataprovider.h:29,
                  from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/qgsgrassprovider.h:24,
                  from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/provider.cpp:38:
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/pal/layer.h:50:
 error: expected ‘>’ before numeric constant
 In file included from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/qgsdiagramrendererv2.h:10,
                  from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/qgsvectorlayer.h:29,
                  from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/qgsvectordataprovider.h:29,
                  from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/qgsgrassprovider.h:24,
                  from
 /home/timlinux/dev/cpp/qgis/src/providers/grass/provider.cpp:38:
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/pal/layer.h:108:
 error: wrong number of template arguments (6, should be 3)
 /home/timlinux/dev/cpp/qgis/src/providers/grass/../../core/pal/layer.h:50:
 error: provided for ‘template<class DATATYPE, class ELEMTYPE, int
 <anonymous> > struct pal::RTree’
 make[2]: ***
 [src/providers/grass/CMakeFiles/grassprovider.dir/provider.cpp.o] Error 1
 make[1]: *** [src/providers/grass/CMakeFiles/grassprovider.dir/all] Error
 2
 make: *** [all] Error 2
 }}}

 Regards

 Tim

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