(j3.2006) Interesting F2003-ism
Thu Feb 22 10:31:53 EST 2007
On Thu, 22 Feb 2007 malcolm at nag-j.co.jp wrote:
> "Andy Vaught" <andyv at firstinter.net>
> > It is the only way that one can
> > directly call a C subroutine with a variable argument list.
> No, one cannot call a C subroutine with a variable argument list,
> for the simple reason that it is prohibited. See page 400
> "A Fortran procedure interface is interoperable with a C function
> prototype if ... the prototype does not have variable arguments
> denoted by the ellipsis".
That's a dumb restriction. I predict that this will become yet another
one of those semi-standard extensions that everyone will support anyway,
even if they initially reject it. I will start the process by not
implementing the restriction on binding-labels in g95...
More information about the J3