MPI Forum Meetings logo

MPI Forum: mpi3-fortran Mailing List Archives

all MPI Forum: mpi3-fortran mailing list

Subject: Re: [MPI3 Fortran] Summary of items on the table
From: Aleksandar Donev (donev1_at_[hidden])
Date: 2008-04-28 16:45:55


On Monday 28 April 2008 13:29, Bill Long wrote:
> The problem is that the Fortran standard supports those semantics only
> for a Fortran pointer, not for a C pointer.
I will take the liberty to interpret the standard words "any pointer
associated with the dummy shall become associated with the actual" to apply
to C pointers as well. Otherwise TYPE(C_PTR) is useless. Of course one can
modify the object it points to through the pointer, in C. What else is there?
Maybe the standard is not super clear about it, but that's a different issue.
I believe the intent has been that the C standard describes that, no need to
repeat in the Fortran one.
Best,
Aleks