[geos-devel] building geos 2.2.1 using Visual Studio 8

Mateusz Łoskot mateusz at loskot.net
Mon Apr 3 12:11:09 EDT 2006


Bart van den Eijnden (OSGIS) wrote:
>
> io\markup\MarkupSTL.cpp(916) : error C2440: '=' : cannot convert from
> 'const cha
> r *' to 'char *'
>        Conversion loses qualifiers

Home made fix is:

go to io\markup\MarkupSTL.cpp file, move to line 913:

char* pFound;

and change it to read:

const char* pFound;

Now it should work.

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the geos-devel mailing list