GNOME Bugzilla – Bug 636946
[Fortran 2003] procedure pointer components not recognised
Last modified: 2011-01-03 19:01:20 UTC
With r745: In the example below, the ABSTRACT INTERFACE is ignored and the defined prototype is handled like a standard subroutine. Further, the PROCEDURE POINTER component cb is ignored completely, only the DUMMY is listed as component of CALLBACK_TYPE. MODULE example ABSTRACT INTERFACE SUBROUTINE callback(arg, t) INTEGER, INTENT(in) :: arg TYPE(callback_type) :: t END SUBROUTINE END INTERFACE TYPE :: callback_type INTEGER :: dummy PROCEDURE(callback), POINTER, PASS(t) :: cb END TYPE END MODULE
A patch to recognize the ABSTRACT INTERFACE is available in #637610. Procedure pointer components are not implemented as of r749.
Created attachment 176801 [details] [review] recognize procedure pointers Stand-alone patch to recognize PROCEDURE pointers and PROCEDURE pointer components plus the PASS|NOPASS attributes. Works best with the INTERFACE patch applied; the appropriate INTERFACE is automatically linked.
Thanks, I'll include your patch in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.3. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.