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 763471 - imported section anchors are copied in project tagfile
imported section anchors are copied in project tagfile
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.11
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2016-03-10 19:36 UTC by Sebastien Loriot
Modified: 2016-09-05 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
minimal example showing the pb (78.98 KB, application/x-compressed-tar)
2016-03-10 19:36 UTC, Sebastien Loriot
Details

Description Sebastien Loriot 2016-03-10 19:36:32 UTC
Created attachment 323659 [details]
minimal example showing the pb

Setting:
A is a project with no dependency
B imports A.tag
C imports A.tag and B.tag

The mainpage from project A has a section in its mainpage (A/main.txt) which anchor is copied in tagfiles of project B and C, triggering a duplicate anchor warning during the compilation of project C.


How to reproduce using the attachement:
cd doxy_br/A && doxygen && cd ../B && doxygen && cd  ../C && doxygen

The bugreport is done over 1.8.11 because master@7584c292 seems to not produce mainpages (thus the bug reported here cannot be observed).
Comment 1 Dimitri van Heesch 2016-03-14 19:42:20 UTC
The master version does still produce mainpages, but no longer parses .txt files as if they were C files (which was a bit strange and error prone anyway).

If you still want this behavior, please configure doxygen as follows:

EXTENSION_MAPPING      = txt=C

The warning should be fixed in the next GIT update.
Comment 2 Sebastien Loriot 2016-05-25 21:15:59 UTC
I confirm that the warnings are gone. However in the full project (not the minimal example), the size of the tag file keeps growing after each run. Do you want me to open a new ticket for this?
Comment 3 Dimitri van Heesch 2016-05-26 22:02:38 UTC
Yes please. Try to include an example if possible, or at least the delta between subsequent tag files showing what was added as growth.
Comment 4 Dimitri van Heesch 2016-09-05 13:45:49 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.12. 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).