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: "C74DebugBreak" redefined [-Werror] #11

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

Conversation

ChromaticIsobar
Copy link

Debug macro definition was not checking if it was previously defined.
This caused the error: "C74DebugBreak" redefined when compiling under Ubuntu with x86_64-w64-mingw32-gcc compiler for Windows x64.

The patch I propose just inverts the order of the macro definitions, which does not cause macro redefinition because of the #elif and the #ifndef.

This caused error: "C74DebugBreak" redefined
when compiling under Ubuntu with x86_64-w64-mingw32-gcc compiler for Windows x64
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