[Gdal-dev] build error using Visual Studio 8

Frank Warmerdam warmerdam at pobox.com
Sun Apr 2 12:29:29 EDT 2006


Bart van den Eijnden (OSGIS) wrote:
> Hi Frank,
> 
> thanks, there is another culprit though:
> 
> ecwcreatecopy.cpp(1016) : error C2440: '=' : cannot convert from 'const 
> char *'
> to 'char *'
>        Conversion loses qualifiers
> 

Bart,

I have applied a fix for this in CVS.  In this case the fix is to declare
real_filename as "const char *" instead of "char *".

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