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

Lee,

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.

Best regards,

Joris