Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Possible Bug Visual Fortran XE 12

mklvml
Beginner
438 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
438 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
438 Views
This has been fixed for a future version of the compiler.
0 Kudos
Reply