| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.01.22 20:54 "Re: libtiff 4.0.0beta3", by Frank WarmerdamEdward Lam wrote: > Bob Friesenhahn wrote: >>> #ifndef HAVE_GETOPT >>> extern int getopt(int, char**, char*); >>> +extern int optind; >>> #endif >> >> This little bit may be important to other platforms as well. > > Actually, it would be good if we had a common header that all the > libtiff tools used that had this. As it stands right now, various tools > use getopt without even declaring it, relying on a default generated > function prototype. (See build3.txt in my previous email). Edward, Oddly, i'm on it. I'm commiting a libport.h that will have some of these definitions in it. For now I'm only using this on windows (Makefile.vc). I'm really not too clear how all this libport magic works on unix. /me aims for warning free builds... Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent |
|||||||