[cc65] va_copy(): Any alternatives

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2005-05-06 12:34:52
Hello,

trying to compile cc65 on a somehow older system, I found out that the
linker stumbles about va_copy() - which is defined in C99.

Is there any possibility to mimic that macro (on a gcc 2.95 system)?
Unfortunately, using a newer compiler on this system is no option.

I tried with the work-around for the Watcom C compiler (from
/src/common/va_copy.h). Unfortunately, compiling the sources ends while
compiling the apple stuff:

make[3]: Entering directory `~/cc65-snapshot-2.10.5.20050505/libsrc/apple2'
make -C ../runtime/ zeropage.o
make[4]: Entering directory `~/cc65-snapshot-2.10.5.20050505/libsrc/runtime'
make[4]: Leaving directory `~/cc65-snapshot-2.10.5.20050505/libsrc/runtime'
make[3]: *** [apple2-lc.emd] Speicherzugriffsfehler
rm apple2-lc.o

Are there any other proposals?

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri May 6 12:35:10 2005

This archive was generated by hypermail 2.1.8 : 2005-05-06 12:35:12 CEST