| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.11.06 15:16 "Re: TIFFDirEntry type moved from tiff.h to tiffiop.h in v4.0", by Lee HowardJoris Van Damme (AWare Systems) wrote: > 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. 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. |
|||||||