- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This has been fixed for a future version of the compiler.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page