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

Fix macro handling to avoid conflicts with Win32 API headers #541

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kazssym
Copy link

@kazssym kazssym commented Dec 25, 2024

Adjust macro definitions to prevent conflicts with Microsoft Win32 API headers by using push and pop macro directives.

Fixes #468

@kazssym
Copy link
Author

kazssym commented Dec 25, 2024

This PR changes the SODEBUGERROR_STORE_ERROR_DEF macro's usage as the marker to pop the definition of ERROR. Due to the language spec, it could not be used to restore the original definition at all.

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.

<Inventor/errors/SoDebugErrors.h> leaves macro ERROR defined to an undeclared symbol
1 participant