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
C++ enums being defined in multiple files after b265433 (multi-thread input processing) #7979
Comments
I should clarify that these are unnamed enums, e.g.,:
It appears to be that in b265433 and beyond that all unnamed enum values (from multiple declariations) are being combined into a single unnamed enum during the parsing. |
I tried to reproduce this and after a number of tries I was successful (anonymous things are always tricky), in future:
It looks like the anonymous enums are all put on one heap. The output of the 1.8.20 (and also of the current master63dc5b9b1b3e8fb875304a954e4df934b249034b of August 26, 2020) version: The project I used: example.tar.gz |
Thanks @albert-github - I was working on a SCCCE, but hadn't been successful in creating one yet. Thank you! |
Please verify if the commit (9d9d085 ) fixes the problem. Don't close the bug report yet. |
I can confirm this fixes the issue. 👍 Thanks a lot for the quick fix! |
…265433 (multi-thread input processing)
…265433 (multi-thread input processing)
This issue was previously marked 'fixed but not released', |
Describe the bug
After upgrading to 1.8.20, I observed a problem where enums are being defined in multiple files (in addition to the one where they are actually defined). I bisected this behavior to b265433. This is the behaviour with b265433:
Expected behavior
This is the behaviour before b265433:
The enum value
wxWEBKIT_NAV_LINK_CLICKED
is only defined in webkit.h, so it should only show up in that XML file.Version
Running on Fedora Linux 32. Compiled doxygen myself to bisect.
The text was updated successfully, but these errors were encountered: