On Feb 5, 2008 8:21 PM, Mikhail Umorin <[EMAIL PROTECTED]> wrote: > I included "limits.h" and passed through the problem (thanks, Martin!) > but now I have another one: > > [ 10%] Building CXX object > src/core/CMakeFiles/qgis_core.dir/spatialindex/qgsspatialindex.o > In file included from > /var/Archives/qgis_0.9.1/src/core/spatialindex/qgsspatialindex.cpp:23: > /var/Archives/qgis_0.9.1/src/core/spatialindex/include/SpatialIndex.h:191: > error: multiple parameters named 'in' > In file included from > /var/Archives/qgis_0.9.1/src/core/spatialindex/include/SpatialIndex.h:207, > from > /var/Archives/qgis_0.9.1/src/core/spatialindex/qgsspatialindex.cpp:23: > /var/Archives/qgis_0.9.1/src/core/spatialindex/include/RTree.h:78: > error: multiple parameters named 'in' > make[2]: *** > [src/core/CMakeFiles/qgis_core.dir/spatialindex/qgsspatialindex.o] Error > 1 > make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2 > make: *** [all] Error 2
You can edit those 2 files and change the second parameter's name to something different (e.g. in2) so they're not the same: - src/core/spatialindex/include/SpatialIndex.h : line 191 - src/core/spatialindex/include/RTree.h : line 78 > I am using gcc 4.3: > > gcc (GCC) 4.3 20070713 (experimental) (4.3-0.20070713.5mdv2008.0) Seems like new GCC is more strict than the older versions :-) I'm going to apply the patches to SVN for the further versions. Martin _______________________________________________ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user