Okay, I figured out a workaround to get the compile to happen on
my problem.

This is on SunOS 4.1.4, gcc 2.95.2, trying to compile Xm/LTXpm.lo
during the "gmake"

I had to modify the file:

include/LTconfig.h

I added the line:

#define VOID_SPRINTF 1

and everything compiled okay.

So I am surmising that LTXpm.c is okay, you just need to configure "configure"
and include/LTconfig.h.in so that it sets VOID_SPRINTF correctly depending
on whether or not sprintf returns a char *, as it does on SunOS 4.1.4, rather
than an int (which it does on Solaris).  If it returns char *, then you
want the VOID_SPRINTF workaround in the LTXpm.c code.

-Dave

========================================================================
David Meleedy                           Analog Devices, Inc.
[EMAIL PROTECTED]                Three Technology Way
Phone: 781 461 3494                     Norwood, MA  02062-9106  USA


Reply via email to