This is on a SunOS 4.1.4. machine, using gcc 2.95.2
I think the problem is that in many places in the code there are lines
like this:
#ifndef VOID_SPRINTF
s +=
#endif
That looks like uncompleted code to me..
LTXpm.c: In function `_LtxpmDataClose':
LTXpm.c:1451: warning: implicit declaration of function `pclose'
LTXpm.c: In function `ParseAndPutPixels':
LTXpm.c:3794: warning: implicit declaration of function `bzero'
LTXpm.c: In function `_LtxpmParseColors':
LTXpm.c:5011: warning: `key' might be used uninitialized in this
function
LTXpm.c: In function `_LtxpmParseExtensions':
LTXpm.c:5364: warning: subscript has type `char'
LTXpm.c: In function `CreateColors2':
LTXpm.c:6882: invalid operands to binary +
LTXpm.c: In function `_LtXpmCreateDataFromXpmImage':
LTXpm.c:7029: invalid operands to binary +
LTXpm.c:7038: invalid operands to binary +
LTXpm.c: In function `WriteColors2':
LTXpm.c:7186: invalid operands to binary +
LTXpm.c: In function `WriteExtensions2':
LTXpm.c:7253: invalid operands to binary +
LTXpm.c:7262: invalid operands to binary +
LTXpm.c: In function `_LtXpmCreateBufferFromXpmImage':
LTXpm.c:7339: warning: assignment makes integer from pointer without a
cast
LTXpm.c:7354: warning: assignment makes integer from pointer without a
cast
LTXpm.c:7363: warning: assignment makes integer from pointer without a
cast
LTXpm.c:7372: warning: assignment makes integer from pointer without a
cast
LTXpm.c:7381: warning: assignment makes integer from pointer without a
cast
LTXpm.c:7389: warning: assignment makes integer from pointer without a
cast
LTXpm.c:7406: warning: assignment makes integer from pointer without a
cast
LTXpm.c:7434: warning: assignment makes integer from pointer without a
cast
gmake[2]: *** [LTXpm.lo] Error 1
gmake[2]: Leaving directory
`/auto_mnt/cpd/src/x11/XAPPS/lesstif/0.91/lib/Xm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/auto_mnt/cpd/src/x11/XAPPS/lesstif/0.91/lib'
gmake: *** [all-recursive] Error 1
--
========================================================================
David Meleedy Analog Devices, Inc.
[EMAIL PROTECTED] Three Technology Way
Phone: 781 461 3494 Norwood, MA 02062-9106 USA