(j3.2006) Interoperable dummy arguments
Daniel C Chen
cdchen
Wed Jul 12 10:50:02 EDT 2017
Is C1555 still needed then?
It seems to me it is redundant to C1554 as C1554 explicit says what a dummy
argument of a bind(c) procedure can be. It refers to 18.3.5, 18.3.6, in
which both type and type parameters are required to be interoperable.
Would removing C1555 solve the confusion?
Thanks,
Daniel
XL Fortran Development, Fortran Standard Representative
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
From: "Malcolm Cohen" <malcolm at nag-j.co.jp>
To: <Van.Snyder at jpl.nasa.gov>, "'fortran standards email list for
J3'" <j3 at mailman.j3-fortran.org>
Date: 05/25/2017 12:21 AM
Subject: Re: (j3.2006) Interoperable dummy arguments
Sent by: j3-bounces at mailman.j3-fortran.org
>Erik can correct me if I misunderstand his question, but I think he's
referring to the relationship between C1555 and 18.3.5p1, wherein a
variable
of type character is specified not to be interoperable if its length is
assumed.
There is no relationship between C1555 and 18.3.5p1, because C1555
specifies
that something has to be of "interoperable type" and that's it. It most
emphatically does NOT require the variable to be interoperable, as I
pointed
out it is about reinstating the TYPE requirement that C1554 drops for
assumed-shape arrays et al.
>18.3.5 is concerned with interoperability of scalar variables, not
interoperable types.
Exactly.
>I agree it's confusing.
>
>Is it still correct to say that a character scalar variable or array with
assumed length is not interoperable?
Most definitely yes.
Cheers,
--
..........................Malcolm.
_______________________________________________
J3 mailing list
J3 at mailman.j3-fortran.org
http://mailman.j3-fortran.org/mailman/listinfo/j3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20170712/c1fd5a78/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.j3-fortran.org/pipermail/j3/attachments/20170712/c1fd5a78/attachment-0001.gif
More information about the J3
mailing list