[Gdal-dev] iostream.h still in Tifflib!

Thom DeCarlo t.r.decarlo at larc.nasa.gov
Tue Dec 14 11:56:02 EST 2004


Hi Ben,
Yep, that's the solution that was suggested (and implemented in the libtiff
v3.7.1 source). Also, change the #include <iostream.h> to #include
<iostream>.

I'm sure that when Frank has time to sync gdal with libtiff we'll see this
fixed. 

Thom DeCarlo
-------------------------------------------------------
       There ought to be limits to freedom.
                       - G. W. Bush, 21 May, 1999


> Sent: Monday, December 13, 2004 8:20 PM
> To: 'gdal-dev'
> Subject: RE: [Gdal-dev] iostream.h still in Tifflib!
> 
> 
> In case it's useful, i found i could solve the problem with:
> 
> tiffio.h
> < # include <iostream.h>
> < extern TIFF* TIFFStreamOpen(const char*, ostream *);
> < extern TIFF* TIFFStreamOpen(const char*, istream *);
> -------------
> > # include <iosfwd>
> > extern TIFF* TIFFStreamOpen(const char*, std::ostream *);
> > extern TIFF* TIFFStreamOpen(const char*, std::istream *);
> 
> -Ben






More information about the Gdal-dev mailing list