GNOME Bugzilla – Bug 648719
reimplemented typedefs produce incorrect links when using tag files
Last modified: 2018-07-30 11:01:38 UTC
Created attachment 186701 [details] Minimal test case to reproduce bug. If a class defines a typedef with the same name as a typedef defined in its base class, and documentation for that base class is included via a doxygen tag file, links to that typedef elsewhere in the class point to the base class typedef instead of the derived-class typedef. An example tarball is attached. To reproduce, untar and run: doxygen base.conf doxygen derived.conf Then, inspect the hyperlink for the return type of DerivedClass::method in html/derived. I have confirmed that the behavior is the same for versions 1.5.9, 1.6.3, and the current trunk as of this report.
Changed version 'latest' to '1.8.2-SVN' so I can remove 'latest' as an option as it is a moving target.
Created attachment 232617 [details] base_and_derived.conf: Conf file for both classes You don't need a tag file to reproduce this bug. Use the source code base.h and derived.h in comment 0, together with the conf file attached here. doxygen base_and_derived.conf I have tested with doxygen 1.8.3. Both with and without a tag file involved, the return type of DerivedClass::method() is linked to the typedef in BaseClass.
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!