AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.04.01 04:44 "WORDS_BIGENDIAN makes libtiff platform dependent", by Ping Shu
2006.04.01 05:21 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Bob Friesenhahn
2006.04.01 18:56 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Ping Shu
2006.04.01 22:57 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Bob Friesenhahn
2006.04.02 17:14 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Edward Lam
2006.04.02 17:30 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Bob Friesenhahn
2006.04.02 17:54 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Joris Van Damme
2006.04.02 22:06 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Bob Friesenhahn
2006.04.02 22:27 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Joris Van Damme
2006.04.02 22:16 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Ping Shu
2006.04.03 13:08 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Edward Lam
2006.04.03 13:14 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Edward Lam
2006.04.03 14:38 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Bob Friesenhahn
2006.04.03 14:51 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Edward Lam
2006.04.03 15:00 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Graeme Gill
2006.04.03 15:21 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Bob Friesenhahn
2006.04.04 02:43 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Graeme Gill
2006.04.04 03:41 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Bob Friesenhahn

2006.04.01 18:56 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Ping Shu

> Libtiff itself has this dependency, but not the public headers which 
> should be used by dependent applications.  What header are you 
> including which brings in the WORD_BIGENDIAN requirement?
> 
> I am pretty sure that pre-configure libtiff also depended on an endian 
> define, but the name was different.

Yes, an app shoudl be fine if it uses the public header
files and system installed libtiff. If an app builds the
libtiff (e.g. porting to a Portable Media Player), then
the developers may think twice upgrading to 3.8.2.

A related issue I found is the use of
#ifdef WORDS_BIGENDIAN
...1
#else
...2
#endif

Section 1 is used if you do
#define WORDS_BIGENDIAN 0
and hope for section 2. The other def HOST_ENDIAN is not
in use and it is either 0 or 1.

The use of WORDS_ENDIAN doesn't really improve performance.

Ping