(j3.2006) IMPORT, C894

erik at forcheck.nl erik
Wed May 3 07:23:27 EDT 2017


I am puzzled about C894. Is the following code not standard conforming?

 

module mod

  integer i

  interface

    subroutine sub

      import

    end subroutine sub

  end interface

end module mod

 

According to R504, R507, R508 the interface belongs to the
specification-part of the module.

In Fortran 2008 this constraint was not present. Why is this introduced?

 

Cheers,

Erik

 

Erik Kruyt

Forcheck b.v.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20170503/07b5c3b7/attachment.html 



More information about the J3 mailing list