From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Variable arguments magic in Ada to C code
Date: Wed, 14 Aug 2002 12:01:04 +0200
Date: 2002-08-14T10:00:48+00:00 [thread overview]
Message-ID: <87wuqt7o9r.fsf@deneb.enyo.de> (raw)
In-Reply-To: slrnakv5v0.p2.lutz@taranis.iks-jena.de
lutz@iks-jena.de (Lutz Donnerhacke) writes:
> * Andreas Almroth wrote:
>>The first argument passed works just fine, but the rest are not interpreted
>>very well by the C code. An 32/64 bits issue?
>
> No, but I do not understand the problem:
> ARM B.3 says in Note (12):
> A C function that takes a variable number of arguments can correspond to
> several Ada subprograms, taking various specific numbers and types of
> parameters.
The calling convention of a C function which expects a variable number
of arguements can differ considerably from one which does not.
Your example is not portable.
next prev parent reply other threads:[~2002-08-14 10:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-05 23:47 Variable arguments magic in Ada to C code Andreas Almroth
[not found] ` <slrnakv5v0.p2.lutz@taranis.iks-jena.de>
2002-08-14 10:01 ` Florian Weimer [this message]
2002-08-14 11:34 ` Lutz Donnerhacke
2002-08-14 13:13 ` Dale Stanbrough
2002-08-14 13:59 ` Florian Weimer
2002-08-14 14:02 ` Lutz Donnerhacke
2002-08-15 10:09 ` Florian Weimer
2002-08-18 22:43 ` David Thompson
[not found] ` <87ptww7yj6.fsf@almroth.com>
[not found] ` <slrnal1l8s.pj.lutz@taranis.iks-jena.de>
[not found] ` <dstanbro-CDC252.20502007082002@news-server.bigpond.net.au>
2002-08-14 9:05 ` Lutz Donnerhacke
[not found] ` <87vg6nj8jd.fsf@almroth.com>
2002-08-16 19:41 ` David Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox