(j3.2006) Is an explicit-shape array dummy argument with the VALUE attribute interoperable?
Daniel C Chen
cdchen
Wed Aug 19 13:37:52 EDT 2015
Hello,
The standard allows an explicit-shape array dummy argument to have the
VALUE attribute, but it doesn't explicitly say if such a dummy argument is
interoperable or not.
I found the following in 15-007r1:
"A Fortran procedure interface is interoperable with a C function prototype
if
...
[461:12] "(4) any scalar dummy argument with the VALUE attribute is
interoperable with the corresponding formal parameter of the prototype,
..."
Should this be relaxed to remove the word "scalar"?
Thanks,
Daniel
XL Fortran Development - IBM Toronto Software Lab
Phone: 905-413-3056
Tie: 969-3056
Email: cdchen at ca.ibm.com
http://www.ibm.com/software/awdtools/fortran/xlfortran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20150819/9ee7251c/attachment.html
More information about the J3
mailing list