[Gdal-dev] build error using Visual Studio 8
Frank Warmerdam
warmerdam at pobox.com
Sun Apr 2 11:55:00 EDT 2006
Bart van den Eijnden (OSGIS) wrote:
> Hi guys,
>
> using the CVS version of GDAL which comes from the Mapserver Windows
> buildkit (31 March 2006?), I get the following problem compiling with
> Visual Studio 8:
>
> cpl_strtod.cpp
> cpl_strtod.cpp(444) : error C2440: '=' : cannot convert from 'const char
> *' to '
> char *'
> Conversion loses qualifiers
Bart,
I have committed a chance casting the return result to char *.
p = (char *) strchr (hexits, tolower (*sc));
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGF, http://osgeo.org
More information about the Gdal-dev
mailing list