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

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

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?

Other information:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment