Skip to content

Fails to compile on latest devkitpro #573

Open
@Ntemis

Description

@Ntemis

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions