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 676902 - Anonymous namespace leads to invalid hyperlink
Anonymous namespace leads to invalid hyperlink
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.1
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-05-26 19:50 UTC by Peter Klotz
Modified: 2012-06-11 09:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.tar file that demonstrates the issue (20.00 KB, application/x-tar)
2012-05-28 13:24 UTC, Peter Klotz
Details

Description Peter Klotz 2012-05-26 19:50:33 UTC
The attached .tar file contains a Doxyfile and a C++ example that demonstrates the problem.

With this settings

EXTRACT_ALL            = YES
EXTRACT_ANON_NSPACES   = NO
SHOW_NAMESPACES        = YES

the anonymous namespace from the example file is extracted and a "@0" hyperlink is created in the namespace overview of the HTML documentation.

However this link is broken and leads nowhere.

I assume, if "EXTRACT_ANON_NSPACES = NO" is set, an anonymous namespace should never appear in the namespace overview.
Comment 1 Peter Klotz 2012-05-28 06:26:53 UTC
This is a regression compared to Doxygen 1.8.0. There only namespaces "n1" and "n1::n2" appear in the namespace view. The anonymous namespace is not shown as expected.
Comment 2 Dimitri van Heesch 2012-05-28 08:28:40 UTC
Hi Peter,

Please attach the .tar file to this bug report.
Comment 3 Peter Klotz 2012-05-28 13:24:57 UTC
Created attachment 215126 [details]
.tar file that demonstrates the issue
Comment 4 Dimitri van Heesch 2012-05-28 18:55:50 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 5 Dimitri van Heesch 2012-06-10 09:41:46 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.1.1. 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.
Comment 6 Peter Klotz 2012-06-11 09:14:15 UTC
In Doxygen 1.8.1.1 the anonymous namespace still shows up in the list of namespaces as "@0" even with EXTRACT_ANON_NSPACES set to NO. This is still a difference compared to 1.8.0, where it did not show up.

It is however no longer a link and can therefore not point to an invalid target