2007.06.30 07:29 "Re: [Tiff] Suggested Source Changes for Building libtiff Under Windows", by Kevin Myers
Please see below.
In a prior message, "Kevin Myers" wrote in part:
However, while looking back at all of the above I noticed another change that I had to make in jmorecfg.h that *did* result in compiler errors while building libtiff if left unchanged. The jmorecfg.h that I was using contains the following block of code:
#if (defined (_MSC_VER) && (_MSC_VER >= 800))
#define EXTERN(type) extern type __cdecl
I had to comment out the #define HAVE_ALL_INTS, otherwise a block of code that includes typedefs for UINT8 and UINT16 (among other things) is bypassed, and this causes problems when the libtiff build tries to process jpeglib.h, which contains items that are defined as types UINT8 and UINT16.
It looks like the above problem also turns out to be due to an error on my part. I had a few environment variables pointing to the wrong directories for my build environment. After I corrected that problem, the original version of jmorecfg worked properly without any modifications.
Sorry for the false alarm.