Ada in gcc-3.4.3 on x86_64
Robert Dewar
dewar@adacore.com
Mon Jan 3 14:11:00 GMT 2005
Florian Weimer wrote:
> It is not possible to interface to variadic C functions from standard
> Ada if the calling convetion for variadic and non-variadic function
> differs.
>
> I don't think GNAT offers a non-standard extension which provides this
> functionality. Maybe it should.
That would certainly be a reasonable possible language extension. Presumably
the way to do this would be to introduce a convention called C_Varargs or
something like that. This is not a trivial addition :-)
More information about the Gcc
mailing list