Skip to content
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

Dot graph for multiple inheritance of struct gives private inheritance for second base (Origin: bugzilla #577359) #3343

Closed
doxygen opened this issue Jul 2, 2018 · 1 comment
Labels
bug C/C++ solved in the mean time Bug solved in a previous version, to be confirmed

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status NEW severity minor in component general for ---
Reported in version 1.5.6 on platform Other
Assigned to: Dimitri van Heesch

On 2009-03-30 20:26:56 +0000, Adam H Peterson wrote:

Please describe the problem:
When using Doxygen to document the class hierarchy below and to produce an
inheritance diagram, the diagram mistakenly labels B as a private base of C
(although it is a public base):

struct A { };
struct B { };
struct C : A, B { };

Steps to reproduce:
1. Create a .cpp file with the above three struct definitions.
2. Configure Doxygen to produce an inheritance diagram with Dot.
3. Generate documentation.


Actual results:
The inheritance diagram shows C publicly inheriting from A (correct), and
privately inheriting from B (incorrect).`

Expected results:
C should be shown to publicly inherit from both bases.

Does this happen every time?
Yes

Other information:
@albert-github albert-github added bug C/C++ solved in the mean time Bug solved in a previous version, to be confirmed labels Aug 5, 2021
@albert-github
Copy link
Collaborator

With the 1.5.6 version we see the wrong inheritance as explained in the the issue.
With the 1.9.1 version the both inheritance are public inheritances.

I think the problem has been solved in the mean time.

@doxygen doxygen closed this as completed Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug C/C++ solved in the mean time Bug solved in a previous version, to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants