Hi,
The following code does not compile with nvfortran 24.5:
module module1
implicit none
type :: object1
procedure(procedure1), pointer :: procedure1 => NULL()
end type
interface
Subroutine procedure1(a,value)
import
implicit none
class(object1) :: a
real(8), intent(in) :: value
end subroutine
end interface
contains
subroutine someSubroutine
class(object1), pointer :: ObjectPointer => NULL()
allocate(ObjectPointer)
call ObjectPointer%procedure1(4.0_8)
end subroutine
end module
It returns the error:
NVFORTRAN-S-0186-Argument missing for formal argument value (testnvidia.f90: 23)
Thanks for the help,