Skip to content

Fix: "C74DebugBreak" redefined [-Werror]#11

Open
ChromaticIsobar wants to merge 1 commit intoCycling74:mainfrom
ChromaticIsobar:fix/macro-redefinition
Open

Fix: "C74DebugBreak" redefined [-Werror]#11
ChromaticIsobar wants to merge 1 commit intoCycling74:mainfrom
ChromaticIsobar:fix/macro-redefinition

Conversation

@ChromaticIsobar
Copy link
Copy Markdown

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