After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 636946 - [Fortran 2003] procedure pointer components not recognised
[Fortran 2003] procedure pointer components not recognised
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.2-SVN
Other All
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on: 637610
Blocks: 598481
 
 
Reported: 2010-12-10 10:25 UTC by Daniel Franke
Modified: 2011-01-03 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
recognize procedure pointers (2.38 KB, patch)
2010-12-20 23:27 UTC, Daniel Franke
none Details | Review

Description Daniel Franke 2010-12-10 10:25:00 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
Comment 1 Daniel Franke 2010-12-19 21:31:55 UTC
A patch to recognize the ABSTRACT INTERFACE is available in #637610.
Procedure pointer components are not implemented as of r749.
Comment 2 Daniel Franke 2010-12-20 23:27:50 UTC
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.
Comment 3 Dimitri van Heesch 2010-12-24 14:16:33 UTC
Thanks, I'll include your patch in the next subversion update.
Comment 4 Dimitri van Heesch 2011-01-03 19:01:20 UTC
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.