Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Possible Bug Visual Fortran XE 12

mklvml
Beginner
512 Views
module Mod
TYPE derivedtype
procedure(procInterface),POINTER,PASS::f
END TYPE derivedtype
ABSTRACT INTERFACE
subroutine procInterface(A)
import derivedtype
implicit none
class(derivedtype),intent(inout)::A
end subroutine
END INTERFACE
end module Mod
Produces the following error:
error #6404: This name does not have a type, and must have an explicit type.
Why?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
512 Views
It looks to me as if the "implicit none" is having an effect outside its scope. If you remove that, it compiles. I think this is a bug and will report it. Issue ID is DPD200169057.
0 Kudos
Steven_L_Intel1
Employee
512 Views
This has been fixed for a future version of the compiler.
0 Kudos
Reply