(j3.2006) error in CD 1539-1
Sun Apr 20 08:13:46 EDT 2008
Paragraph 2 of Section 5.3.9 of CD 1539-1 states
If an external procedure or dummy procedure is used as
an actual argument or is the target of a procedure
pointer assignment, it shall be declared to have the
Paragraph 4 of Section 184.108.40.206 states
If an external procedure name or a dummy procedure
name is used as an actual argument, its interface
shall be explicit or it shall be explicitly declared
to have the EXTERNAL attribute.
The statement from Section 5.3.9 is clearly deficient. I
suggest rewriting it as
If an external procedure name or dummy procedure
name is the target of a procedure assignment, it
shall be declared to have the EXTERNAL attribute.
Deleting the statement about actual arguments from
Section 5.3.9 eliminates the possibility of conflict with
the statement in Section 220.127.116.11. If it is considered
important to state the requirement in Section 5.3.9 as
well as in Section 18.104.22.168, a note describing the
requirement and referencing Section 22.214.171.124 could be
added to Section 5.3.9.
The same defect in present in the Fortran 2003 standard,
but not in the Fortran 95 standard.
More information about the J3