-
Notifications
You must be signed in to change notification settings - Fork 28
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
source of compiler issues #54
Comments
I have this compiler issue as well. |
What happens when you remove that line? |
Seems that the Doom code play fast and loose with pointer types. Assigning pointers (*) to double pointer (**) vars etc. The code is wrong but worked before because a pointer is a pointer..... I'll try to fix this over the next couple of evenings... |
Here we have it. https://gcc.gnu.org/gcc-14/porting_to.html#warnings-as-errors |
Adding the -fpermissive flag 'fixes' this. The code is wrong but it's been wrong since 1993... If you do a fresh pull, it should build with latest DevKitPro. |
https://github.com/doomhack/GBADoom/blame/3bd2cf34fb66dd60f9b66efe25cc1d6945a21f74/source/hu_lib.c#L80
The text was updated successfully, but these errors were encountered: