[Gdal-dev] building GDAL in Visual C++ Toolkit 2003
dron at ak4719.spb.edu
Fri Mar 4 14:27:24 EST 2005
On Fri, Mar 04, 2005 at 12:19:13PM -0500, Frank Warmerdam wrote:
> > 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?
The problem was fixed in the libtiff CVS sometimes ago. I shall
propagate the changes in the GDAL.
Andrey V. Kiselev
Home phone: +7 812 5970603 ICQ# 26871517
More information about the Gdal-dev