Skip to content

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

Merged
tritao merged 4 commits intomainfrom
kythera-fixes
Sep 28, 2023
Merged

Bug fixes for GCC 11, cache conversion robustness and error handling#1765
tritao merged 4 commits intomainfrom
kythera-fixes

Conversation

@tritao
Copy link
Copy Markdown
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
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