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 634960 - Non-public Fortran interfaces shown as public
Non-public Fortran interfaces shown as public
Status: VERIFIED DUPLICATE of bug 521859
Product: doxygen
Classification: Other
Component: general
1.7.2
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-11-16 00:53 UTC by rhys.ulerich
Modified: 2011-10-31 14:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample source for recreate (267 bytes, text/x-fortran)
2010-11-16 00:53 UTC, rhys.ulerich
Details
Recreate for functions (231 bytes, text/x-fortran)
2010-11-16 00:59 UTC, rhys.ulerich
Details

Description rhys.ulerich 2010-11-16 00:53:03 UTC
Created attachment 174577 [details]
Sample source for recreate

For Fortran input like the following...
---8<---
module test

    implicit none

contains

subroutine foo (x)

    integer, intent(inout) :: x

    interface
      subroutine bar (y)
        integer, intent(inout) :: y
      end subroutine bar
    end interface

    call bar(x)

end subroutine foo

end module test
---8<---

I expect subroutine test::foo to appear in the public documentation.

However, on 1.7.2, I see generated documentation for "test::foo__interface Interface Reference" despite the interface not being publicly visible.  I do not see any documentation for test::foo.

Run 'doxygen foo.f90' on the attached input, view html/index.html, and browse to the "Classes" tab to reproduce.
Comment 1 rhys.ulerich 2010-11-16 00:59:41 UTC
Created attachment 174578 [details]
Recreate for functions
Comment 2 rhys.ulerich 2010-11-16 01:00:46 UTC
FWIW, the attached foo2.f90 shows the same problem for interfaces inside functions.
Comment 3 Daniel Franke 2010-12-10 18:09:24 UTC
I think this is a dupe of #521859.
Comment 4 rhys.ulerich 2010-12-10 18:51:04 UTC
Ah, sorry for missing #521859.  This is indeed a dupe.

*** This bug has been marked as a duplicate of bug 521859 ***
Comment 5 albert 2011-10-30 18:31:28 UTC
Dear Rhys,

Can you check if the current Doxygen version handles your problem correctly ?
(Bug 654799 has been solved and with this the duplicate bug 521859)

Best Regards,

Albert
Comment 6 rhys.ulerich 2011-10-31 14:08:40 UTC
Hi Albert,

Version 1.7.5.1 does handle this situation correctly.

Thanks,
Rhys