2008.08.29 22:53 "[Tiff] Some security fixes from RHEL", by Even Rouault

2008.09.05 06:18 "Re: [Tiff] beta2 release - lfind() problem on Win64", by Andrey Kiselev

On Thu, Sep 04, 2008 at 04:48:49PM -0400, Edward Lam wrote:

I tried compiling libtiff to use lfind.c in the port/ directory. However, because the bad lfind() prototype still gets seen, the problem persists. ie. we get the following valid warning from VC8 on Win64:

tif_dirinfo.c(508): warning C4133: 'function': incompatible types - from 'size_t *' to 'unsigned int *'

So, I think that lfind() needs to be renamed to something like port_lfind()?

Maybe the best solution is to remove the

#define lfind _lfind

line from the tif_config.vc and always use the port/lfind.c on Windows. Could you try it on Win64?

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517