[Gdal-dev] build error using Visual Studio 8
Bart van den Eijnden (OSGIS)
bartvde at xs4all.nl
Sun Apr 2 11:17:09 EDT 2006
Hi Frank,
thanks, there is another culprit though:
ecwcreatecopy.cpp(1016) : error C2440: '=' : cannot convert from 'const
char *'
to 'char *'
Conversion loses qualifiers
Best regards,
Bart
Frank Warmerdam wrote:
> 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,
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
More information about the Gdal-dev
mailing list