[geos-devel] Ready for 2.1.2 ?
strk at refractions.net
strk at refractions.net
Tue Jun 14 07:07:10 EDT 2005
On Mon, Jun 13, 2005 at 10:30:08PM -0700, Carlos A. Rueda wrote:
> I just tried GEOS 2.1.2 (as is available from the website) under
> MinGW: MSYS 1.0.10, MinGW 4.1.0. The only complain was related with
> lines 49 and 454 in source/test/XMLTester.cpp:
> If `using geos::Polygon' is kept, the compiler complains about
> redefinition of Polygon (which I think is consistent with the comment
> strk (?) put on that line. However, if the line is commented, the
> complain is now that Polygon (in line 454) is not defined. So an easy
> solution was just to qualify the usage of Polygon in line 454 and
> comment line 49:
>
> line 49: //using geos::Polygon; // for mingw ...
> line 454: vector<geos::Polygon *>*polys = ....
>
> The build now succeeds (I haven't run the tests, however).
>
> Hope this is useful.
Yes, thanks, but I'd like to avoid including the "other" Polygon
definition instead, how is it being imported ? Does your compiler
tell you that ? Is it in the std namespace ? I'd rather avoid
using namespace std if it is...
--strk;
More information about the geos-devel
mailing list