2008.12.17 20:54 "[Tiff] Deleting tags from a directory", by Frank Warmerdam

2009.01.22 20:54 "Re: [Tiff] libtiff 4.0.0beta3", by Frank Warmerdam

#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