AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2009.11.06 04:53 "[Tiff] TIFFDirEntry type moved from tiff.h to tiffiop.h in v4.0", by Lee Howard
2009.11.06 07:55 "Re: [Tiff] TIFFDirEntry type moved from tiff.h to tiffiop.h in v4.0", by
2009.11.06 15:16 "Re: [Tiff] TIFFDirEntry type moved from tiff.h to tiffiop.h in v4.0", by Lee Howard
2009.11.06 16:29 "Re: [Tiff] TIFFDirEntry type moved from tiff.h to tiffiop.h in v4.0", by
2009.11.07 00:24 "Re: [Tiff] TIFFDirEntry type moved from tiff.h to tiffiop.h in v4.0", by Lee Howard

2009.11.06 15:16 "Re: [Tiff] TIFFDirEntry type moved from tiff.h to tiffiop.h in v4.0", by Lee Howard

Joris Van Damme (AWare Systems) wrote:

I'm trying to work at getting HylaFAX ported to support libtiff v4.0.

I'm running into a big problem illustrated by:

FileTransfer.c++:132: error: 'TIFFDirEntry' is used as a type, but is not

   defined as a type.

The cause is that HylaFAX was accustomed to finding TIFFDirEntry in tiff.h (public include), and now it's been taken off into tiffiop.h (private include).

What's the right way to have access to that type now in 4.0?

There isn't one. Not just the struct has changed substantially in the move to support BigTIFF, but also its usage changed drastically if I remember correctly.

May I ask what it's being used for? At the time, LibTIFF maintainers including myself figured it's highly unlikely LibTIFF calling code used that structure, so we would be very interested to see how and why HylaFAX is using it.

HylaFAX is only using it in one source file: hfaxd/FileTransfer.c++.

http://hylafax.cvs.sourceforge.net/viewvc/*checkout*/hylafax/hylafax/hfaxd/FileTransfer.c%2B%2B

You'll see that it's used in several places.

Recognize that most of the code there was written by Sam Leffler, so it's going to have a familiar flavor to it. :-)

Thanks,

Lee.