-
Notifications
You must be signed in to change notification settings - Fork 1.3k
doxygen gets confused with duplicate class definitions and recursion detection #10165
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
Comments
Some bisecting, looks like the problem is introduced with:
but that also the extra fix:
does not solve this problem. |
@PlasmaHH Can you please verify if the referenced commit fixes the problem for you? Please do not close the issue, as this will be done automatically when the next official release is made available. |
@doxygen It fixes the problem for my local testcase. I cannot tell yet if it does for the whole production codebase as I am on vacation and will be back in a bit more than 2 weeks, but from my slightly more complicated testcase condensed from production code that I have with me it looks fine. (btw. I noticed that doxygen build from that git commit crashes for me after main exit when built with use_libclang, known issue or worth a bugreport?) |
Worth a bug report. |
This issue was previously marked 'fixed but not released', |
Describe the bug
When two files in the project contain the same two classes deriving in the same way, doxygen issues a "Detected potential recursive class relation between class B and base class A" warning
Expected behavior
No such warning
To Reproduce
Put the following code into two header files:
Version
1.9.7
Additional context
This can happen in real world projects where you have different implementations under the same class hierarchy. This is probably causes by a fix to bug 690787 (#5005) which detects something similar.
It seems to be that the check at doxygen.cpp:4553 i.e.
gets confused when the names have been encountered in a previous run already...
The text was updated successfully, but these errors were encountered: