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

Fails to compile on latest devkitpro #573

Open
Ntemis opened this issue Sep 9, 2024 · 1 comment
Open

Fails to compile on latest devkitpro #573

Ntemis opened this issue Sep 9, 2024 · 1 comment

Comments

@Ntemis
Copy link

Ntemis commented Sep 9, 2024

config.c
gx_audio.c
gx_input.c
gx_video.c
main.c
oggplayer.c
vi_encoder.c
wiidrc.c
cheats.c
filesel.c
font.c
gui.c
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.c: In function 'MsgBox_Thread':
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.c:1761:9: warning: the comparison will always evaluate as 'true' for the address of 'title' will never be NULL [-Waddress]
1761 | if (message_box->title)
| ^~~~~~~~~~~
In file included from /home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.c:41:
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.h:142:8: note: 'title' declared here
142 | char title[64]; /* box title /
| ^~~~~
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.c:1765:9: warning: the comparison will always evaluate as 'true' for the address of 'msg' will never be NULL [-Waddress]
1765 | if (message_box->msg)
| ^~~~~~~~~~~
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.h:143:8: note: 'msg' declared here
143 | char msg[64]; /
box message /
| ^~~
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.c: In function 'GUI_MsgBoxClose':
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.c:1914:11: warning: the comparison will always evaluate as 'true' for the address of 'title' will never be NULL [-Waddress]
1914 | if (message_box.title)
| ^~~~~~~~~~~
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.h:142:8: note: 'title' declared here
142 | char title[64]; /
box title /
| ^~~~~
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.c:1918:11: warning: the comparison will always evaluate as 'true' for the address of 'msg' will never be NULL [-Waddress]
1918 | if (message_box.msg)
| ^~~~~~~~~~~
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/gui/gui.h:143:8: note: 'msg' declared here
143 | char msg[64]; /
box message */
| ^~~
legal.c
menu.c
fileio.c
file_load.c
file_slot.c
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/fileio/file_slot.c:50:19: error: 'CARD_WORKAREA' undeclared here (not in a function); did you mean 'CARD_WORKAREA_SIZE'?
50 | static u8 SysArea[CARD_WORKAREA] ATTRIBUTE_ALIGN (32);
| ^~~~~~~~~~~~~
| CARD_WORKAREA_SIZE
/home/demetris/Desktop/Development/wii/Genesis-Plus-GX/gx/fileio/file_slot.c:50:11: warning: 'SysArea' defined but not used [-Wunused-variable]
50 | static u8 SysArea[CARD_WORKAREA] ATTRIBUTE_ALIGN (32);
| ^~~~~~~
make[1]: *** [/opt/devkitpro/devkitPPC/base_rules:21: file_slot.o] Error 1
make: *** [Makefile.wii:112: build_wii] Error 2

@Ntemis
Copy link
Author

Ntemis commented Sep 9, 2024

Probably related to #538

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

No branches or pull requests

1 participant