Date: Mon, 1 Dec 2003 23:59:05 +0100 From: Adriaan de Groot <adridg@cs.kun.nl> To: freebsd-amd64@freebsd.org Subject: Re: Varargs issues Message-ID: <200312012359.05403.adridg@cs.kun.nl> In-Reply-To: <20031201223340.6884E2A8DA@canning.wemm.org>
index | next in thread | previous in thread | raw e-mail
[yes, I realize I have my calendar set to Hijri.]
On Yaum al-Ithnain 06 Shawwal 1424 23:33, Peter Wemm wrote:
> The biggest problem is that 'va_args ap' is a pointer, not an integral
> copyable type. There are a few programs that do this sort of thing:
[assigning va_args snipped] Yes, arts does / did this, but is fixed now.
> However, I suspect the real problem with the ogg123 stuff is that there is
> likely a missing #ifdef and its defaulting to assuming that longs are 32
> bit. mpg123 had the exact same problem FWIW.
You can see in my test program (I suppose varargs was a bad subject: for this
thread, since it's really about ... parameters, not varargs - but I don't
know what else to call them) that there is no such thing. It's just that the
stack alignment gets out of whack.
--
pub 1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot@kde.org>
If the door is ajar, can we fill it with door-jamb?
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312012359.05403.adridg>
