New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate anchors from tagfiles (Origin: bugzilla #743604) #5726

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2015-01-27 21:13:29 +0000, Karl Wette wrote:

Created attachment 295592
Self-contained minimal example

Prior to v1.8.8, tagfiles included only documentation anchors from the code being documented, whereas v1.8.8 also includes anchors from any tagfiles included via TAGFILES. This causes problems with complicated library dependencies: if libraries B and C depend on library A, and library D depends on B and C, the documentation of D will get two copies of the anchors in library A (via the tagfiles of B and C) and Doxygen will generate unnecessary warnings.

To reproduce, untar the attached tarball and run ./ from the created directory.

On 2015-02-03 20:43:18 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2015-02-17 21:33:25 +0000, Matthew Hoops wrote:

Created attachment 297064
Bug showing duplicate anchors with mainpages

This isn't completely fixed; it's broken when using mainpages. I've attached a sample that has all anchors from a mainpage included into the tagfile for the second mainpage. (You can run "make doc" to just run doxygen over the subdirectories.)

I tested this using revision SHA: 5bfda3d. You can see in the Subproject2/test2.tag file that is generated that it has now included the anchors from the test1.tag file.

On 2015-03-11 06:16:25 +0000, cartland wrote:

I have just come across this. For me 1.8.8 works. 1.8.9 and adds both sections and anchors from an included Project A tagfile into the tag file for project B. When project C includes the tagfiles from A and B it causes "warning: Duplicate anchor ... found".

I believe this is the same issue Matthew is describing. I get this on Windows and OS X (yet to test Ubuntu).

On 2015-06-27 19:02:08 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.10. 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 (preferably in the form of a self-contained example).

On 2016-03-16 14:00:37 +0000, Matthew Hoops wrote:

I'm not able to reopen this as I'm not the bug reported, but it definitely is still not fixed in the master (SHA: 73afbe1 at the time of writing).

I used my self-contained example in comment 2 to test that it is still not working properly.

On 2016-03-17 05:43:21 +0000, cartland wrote:

Just did a quick test. It works in my particular situation.

On Windows:
1.8.8 works fails with Duplicate anchor ...
1.8.11 works

Haven't tried other platforms yet. Previously 1.8.9x failed on Windows, Ubuntu 14.04, OS X 9 and 10, Free BSD 9 and 10.

On 2016-10-04 12:49:06 +0000, Karl Wette wrote:

Both issues appear to have been solved in version 1.8.11.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment