wiki update and procedure decl question
Christopher D. Rickett
crickett@lanl.gov
Fri Jun 8 17:08:00 GMT 2007
On Fri, 8 Jun 2007, Steve Kargl wrote:
> On Fri, Jun 08, 2007 at 10:53:12AM -0600, Christopher D. Rickett wrote:
>>
>> the following on the wiki should be able to get removed:
>>
>> "A "use iso_c_binding, only: c_null_ptr" automatically imports "c_ptr"
>> into the namespace, using "_gfortran_ISO_C_Binding_ptr" might be better
>> (cf. NAG f95 which uses "typedef void *
>> NAGf90_MODULE_iso_c_binding_DT_c_ptr;"). "
>>
>> this is handled by the patch Steve committed on Wednesday.
>>
>> i also have a question on what to do with the code i contributed to the
>> fortran-experiments branch that started matching procedure declaration
>> statements. should it be removed from the branch since it is not part of
>> the iso_c_binding work?
>>
>
> Is this an initial attempt at implementing F2003 procedure pointers?
it was an initial attempt at implementing procedure pointers. the routine
is used to match the procedure decl, along with its attributes. however,
it doesn't know how to handle the attributes, so there's no implementation
of procedure pointers. it will let you make procedure decls though and
call them (or at least it should).
Chris
More information about the Fortran
mailing list