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
September 2008

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

2008.09.04 20:48 "Re: beta2 release - lfind() problem on Win64", by Edward Lam
2008.09.05 06:18 "Re: beta2 release - lfind() problem on Win64", by Andrey Kiselev
2008.09.05 13:09 "Re: beta2 release - lfind() problem on Win64", by Edward Lam

2008.09.05 06:18 "Re: 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