[Gdal-dev] building GDAL in Visual C++ Toolkit 2003

Frank Warmerdam fwarmerdam at gmail.com
Fri Mar 4 12:19:13 EST 2005

On Fri, 4 Mar 2005 18:14:44 +0100 (CET), bartvde at xs4all.nl
<bartvde at xs4all.nl> wrote:
> Hi list,
> I tried to compile GDAL using the free Visual C++ Toolkit 2003 in
> combination with the Microsoft Platform SDK, and the .NET Framework SDK.
> I ran into the following problem:
> C:\projects\gdal-1.2.5\frmts\gtiff\libtiff\tiffio.h
> tiffio.h uses <iostream.h> which is deprecated, I had to change it into
> the following:
> #if defined(c_plusplus) || defined(__cplusplus)
> # include <iostream>
> extern  TIFF* TIFFStreamOpen(const char*, std::ostream *);
> extern  TIFF* TIFFStreamOpen(const char*, std::istream *);
> #endif
> Is there any reason not to use this in the standard GDAL distribution?


I believe that Andrey will be fixing this upstream in libtiff.  Andrey,
could you address this issue, and update the GDAL libtiff
copy in the next few days so that we will stop seeing these issues
in GDAL 1.2.6? 

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    | Geospatial Programmer for Rent

More information about the Gdal-dev mailing list