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 648719 - reimplemented typedefs produce incorrect links when using tag files
reimplemented typedefs produce incorrect links when using tag files
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.8.2-SVN
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks: 657844
 
 
Reported: 2011-04-27 01:33 UTC by Jim Bosch
Modified: 2018-07-30 11:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Minimal test case to reproduce bug. (34.87 KB, application/x-gzip)
2011-04-27 01:33 UTC, Jim Bosch
Details
base_and_derived.conf: Conf file for both classes (62.32 KB, text/plain)
2013-01-03 09:36 UTC, Kjell Ahlstedt
Details

Description Jim Bosch 2011-04-27 01:33:27 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.
Comment 1 Dimitri van Heesch 2012-11-18 11:07:54 UTC
Changed version 'latest' to '1.8.2-SVN' so I can remove 'latest' as an option as it is a moving target.
Comment 2 Kjell Ahlstedt 2013-01-03 09:36:01 UTC
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.
Comment 3 André Klapper 2018-07-30 11:01:38 UTC
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!