[Gdal-dev] Compiler errors in 1.3.2 on windows

Frank Warmerdam warmerdam at pobox.com
Sun May 7 12:09:40 EDT 2006


Joaquim Luis wrote:
> Hi,
> When compiling on windows (VC6) I got the following errors.
> Removing the offending repeated 'int i' declarations solved the problem.
> 
> Joaquim Luis
> 
>        cl /nologo /MD /EHsc /Ox -I..\..\port -I..\..\ogr -I..\..\gcore  
> -I..\..
> \alg -D_USE_MATH_DEFINES /c idrisiDataset.cpp
> idrisiDataset.cpp
> idrisiDataset.cpp(825) : error C2374: 'i' : redefinition; multiple 
> initialization

Joaquim,

Sorry about this.  I haven't been so diligent in testing VC6 compatibility
lately.  I have fixed this in CVS.  You can replace the existing
IdrisiDataset.cpp with this file:

   http://www.gdal.org/srctree/frmts/idrisi/IdrisiDataset.cpp

I also ran into problems with ODBC support with 1.3.2 and my relatively
unpatched VC6 and had to updated port/cpl_odbc.cpp.

   http://www.gdal.org/srctree/port/cpl_odbc.h

Pressure mounts for a rapid 1.3.2.1 (or 1.3.3) release!

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