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

Bug fixes for GCC 11, cache conversion robustness and error handling #1765

Merged
merged 4 commits into from
Sep 28, 2023

Conversation

tritao
Copy link
Collaborator

@tritao tritao commented Sep 28, 2023

No description provided.

Parser bindings are expecting this, yet this was optimized out under GCC
11.
We were getting a failure due to duplicated original pointers. Make it
take the declaration kind into account as a key to the cache.
@tritao tritao self-assigned this Sep 28, 2023
@tritao tritao changed the title Bug fixes Bug fixes for GCC 11, cache conversion robustness and error handling Sep 28, 2023
@tritao tritao merged commit e464da4 into main Sep 28, 2023
7 checks passed
JordanL8 pushed a commit to MoonCollider/CppSharp that referenced this pull request Oct 2, 2023
…ono#1765)

* Fix missing Attribute dtor in GCC 11.

Parser bindings are expecting this, yet this was optimized out under GCC
11.

* Improve error handling for failed library parsing.

* Make the converted declaration cache more robust.

We were getting a failure due to duplicated original pointers. Make it
take the declaration kind into account as a key to the cache.

* Change ConsoleDriver.Run to return a failure bool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant