2015.06.02 06:44 "[Tiff] Compiling 4.0.4beta on 64 bit MSWin has some problems.", by Graeme Gill

2015.06.02 21:34 "Re: [Tiff] Compiling 4.0.4beta on 64 bit MSWin has some problems.", by Edward Lam

On Tue, June 2, 2015 02:44, Graeme Gill wrote:

  1. tif_win32.c won't compile without the valid warning that you can't cast a (64 bit) HANDLE to an (32 bit) int, which is what's happening with TIFFFdOpen()'s first argument and in several other places, and in the main tiff structure in tiffiop.h where tif_fd is an int, and following on
  2. from that with TIFFFileno() and TIFFSetFileno(), etc.

This sounds like the same problem raised a while back: - http://www.asmail.be/msg0055505377.html

If so, I had a working patch logged back then but there were concerns (which I personally didn't share :) ) regarding it: - http://bugzilla.maptools.org/show_bug.cgi?id=1941

Unfortunately, I'm not sure what happened to the attachments that I added. If you're interested, I'd have to try to dig it up from old archives again.

Best Regards,

-Edward