| 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 |
Thread2005.08.18 21:37 "Re: Compile error on AIX 5.1", by Bob Friesenhahn> > > Your proposed solution did not work. Getting same error message. > > > > The most likely cause of the '"char*" and "int" is not allowed' error > > is that the header which includes the prototype for strchr() has not > > been included for some reason. Note that C defaults the function > > return type to 'int' if there is no prototype. I suggest seeing if > > there is a header which can be included in order to obtain the > > prototype. > > Good point. Philip, what header file includes strchr() declaration on > your AIX? How the strchr() prototype looks like? I am seeing extern char *strchr(const char *, int) in string.h under AIX 4.3.2 and 5.1. While I have not compiled libtiff for myself under AIX, I have not experienced such problems building GraphicsMagick under AIX using IBM's xlc compiler. The only problems noted under AIX has been that its compiler does not accept // for comments. What compiler is being used? Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||