[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gcc varargs problem



On Fri, 01 Aug 2008 02:36:54 +0100
whoosh <whoosh777 blueyonder co uk> wrote:

> 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg 
> on 32 bit Fedora Core 3 have no problem with this.

The standard regards it as an error as well, and if you looked up
the insane argument passing conventions for x86_64, you'd know why :-).
If you want to write portable code, look at the stdarg man page and
use the va_start, va_copy, etc. macros.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]