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 771344 - Class name 'internal' breaks class hierarchy in C++
Class name 'internal' breaks class hierarchy in C++
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.11
Other FreeBSD
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2016-09-13 07:21 UTC by Martin Beran
Modified: 2017-01-02 08:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Beran 2016-09-13 07:21:01 UTC
I have a C++ class hierarchy:

class generic {};
class internal: public generic {};
class timeout: public internal {};
class req_timeout: public timeout {};

Doxygen shows it broken at class internal as:
generic <- internal, timeout <- req_timeout
That is, class internals is reported as not having a derived class (timeout) and class timeout is reported without its base class (internal).

If class internal is renamed to internal_error, the hierarchy becomes correct:
generic <- internal_error <- timeout <- req_timeout
Comment 1 albert 2016-09-18 16:00:12 UTC
I've just pushed a proposed patch to github (pull request 523)
Comment 2 albert 2016-09-20 18:03:36 UTC
Code has been integrated in the master on github
Comment 3 Dimitri van Heesch 2016-12-29 18:45:46 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.13. 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).
Comment 4 Martin Beran 2017-01-02 08:40:04 UTC
(In reply to Dimitri van Heesch from comment #3)
> This bug was previously marked ASSIGNED, which means it should be fixed in
> doxygen version 1.8.13. Please verify if this is indeed the case.

Yes, it seems to be fixed. The example of failed hierarchy in 1.8.12 generates the correct class hierarchy now in 1.8.13.