- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The program below gives "catastrophic error". If the main program lines are uncommented, the location reported shifts to a line 38 (in main program) in place of a line 23 (in module). There is a indeed a warning that the reported location may not be the exact cause.
I am using Win64 XP with VS2005. The error is reported on both Win32 and Win64 versions of the compiler.
Abhi
----
Module BaseModule
Implicit None
Type BaseType
Integer :: i
Real :: r
Procedure(), Pointer, NOPASS :: SomeThing
Contains
Procedure :: Set
End Type BaseType
Contains
Subroutine Display
Implicit None
Print *, "Jai Ho..."
End Subroutine Display
Subroutine Set(Obj)
Implicit None
Class(BaseType), Intent(INOUT) :: Obj
Call Obj%Something
End Subroutine Set
End Module BaseModule
! Program Test
!
! Use BaseModule
!
! Implicit None
!
! Type(BaseType) :: Trial
!
! Trial%Something => Display
!
! Call Trial%Set
!
! End Program Test
I am using Win64 XP with VS2005. The error is reported on both Win32 and Win64 versions of the compiler.
Abhi
----
Module BaseModule
Implicit None
Type BaseType
Integer :: i
Real :: r
Procedure(), Pointer, NOPASS :: SomeThing
Contains
Procedure :: Set
End Type BaseType
Contains
Subroutine Display
Implicit None
Print *, "Jai Ho..."
End Subroutine Display
Subroutine Set(Obj)
Implicit None
Class(BaseType), Intent(INOUT) :: Obj
Call Obj%Something
End Subroutine Set
End Module BaseModule
! Program Test
!
! Use BaseModule
!
! Implicit None
!
! Type(BaseType) :: Trial
!
! Trial%Something => Display
!
! Call Trial%Set
!
! End Program Test
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks - I can reproduce this and will pass it on to the developers. Issue ID is DPD200137733.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This problem is resolved in Update 2, available now from the Intel Registration Center.

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