varargs ABI & PPC (problems porting cdrecord to Linux-ppc)

Joerg Schilling schilling@fokus.gmd.de
Wed Feb 18 14:54:00 GMT 1998


>From geoffk@discus.anu.edu.au Wed Feb 18 05:41:31 1998

>> Date: Tue, 17 Feb 1998 16:55:55 +0100
>> From: schilling@fokus.gmd.de (Joerg Schilling)

>> It would be nice if GCC could add the va_copy() Solaris varargs enhancement
>> in future.

>This is in egcs (all released versions) and gcc 2.8.0, and has been
>for about a year.

>va_copy will probably be part of the new ISO C standard.

>In egcs, etc., it might have underscores in front of it (__va_copy).
>This is because a previous draft of the new ISO C standard had these.
>I'm not sure if it is worth changing it until the standard becomes
>final; it might change back :-(.

Thank you for your reply. It is sometimes hard to get reasonable 
research from the owners of systems I have no access to.

If it is guaranteed that __va_copy() is always a macro so I can
#ifdef, it is no problem for me.

Joerg

http://www.fokus.gmd.de/usr/schilling	ftp://ftp.fokus.gmd.de/pub/unix



More information about the Gcc mailing list