- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I already filed this with Premier Support, but maybe I can save several hours of head scratching for others. Looks like 9.1.025 has a problem not present in 9.1.024 or any previous IVF I've used. It seems to be with character pointers that are passed to subroutines when using the CVF Calling Convention. DEFAULT works fine. I.e., the following gives a warning with CVF, but should not, near as I can tell.
The 9.1.025 will give warnings, or even abort with an "incorrect or different no of arguments" error.
program main
interface
subroutine alloc1c(carray,narray)
character(len=*), pointer :: carray(:)
integer :: narray
end subroutine alloc1c
end interface
subroutine alloc1c(carray,narray)
character(len=*), pointer :: carray(:)
integer :: narray
end subroutine alloc1c
end interface
integer :: ncbffold = 0
character(len=8), pointer :: cbffold(:)
character(len=8), pointer :: cbffold(:)
allocate(cbffold(4))
call alloc1c(cbffold,ncbffold)
stop
end
end
subroutine alloc1c(carray,narray)
character(len=*), pointer :: carray(:)
integer :: narray
integer :: narray
return
end
end
Link Copied
0 Replies

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