- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
does ifort 11.1 (update 4) support generic type-bound procedures?
I cannot compile the following piece of code
[bash]module bmod
type btype
integer :: num
contains
procedure, pass(a) :: id1
procedure, pass(a) :: id2
generic, public :: id => id1, id2
end type btype
contains
subroutine id1(a, r)
class(btype) :: a
real :: r
write(*,*)'id1 ',r
return
end subroutine id1
subroutine id2(a, c)
class(btype) :: a
complex :: c
write(*,*)'id2 ',c
return
end subroutine id2
end module bmod
[/bash]
can anybody help?
thanks in advance
Alfredo Buttari
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, as stated in the compiler release notes, generic type-bound procedures are not supported. We expect to support these in the next major release late this year.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve,
looking forward for this next release.
best regards
alfredo
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