Skip to content

Anonymous namespace leads to invalid hyperlink (Origin: bugzilla #676902) #4713

@doxygen

Description

@doxygen

status VERIFIED severity normal in component general for ---
Reported in version 1.8.1 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-05-26 19:50:33 +0000, Peter Klotz wrote:

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.

On 2012-05-28 06:26:53 +0000, Peter Klotz wrote:

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.

On 2012-05-28 08:28:40 +0000, Dimitri van Heesch wrote:

Hi Peter,

Please attach the .tar file to this bug report.

On 2012-05-28 13:24:57 +0000, Peter Klotz wrote:

Created attachment 215126
.tar file that demonstrates the issue

On 2012-05-28 18:55:50 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2012-06-10 09:41:46 +0000, Dimitri van Heesch wrote:

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.

On 2012-06-11 09:14:15 +0000, Peter Klotz wrote:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions