>> I think one should handle member functions (cf. example below). I am not
>> sure whether other things
>> like type extension or accessibility should be handled.
>
> DWARF has attributes for accessibility (e.g., public, private).  If the
> attributes are similar to those for C++, you should generate them in a
> similar fashion.

I would say they are sufficiently similar in order to also use them for Fortran.


> I'm not sure what "type extension" means.

Well, this is just the Fortran terminology for what would be called
'inheritance' in C++.


> You might translate the Fortran program into comparable C++ and
> see what g++ generates, then try to match it with gfortran.

That might be a good starting point. Thanks for your comments.

Cheers,
Janus

Reply via email to