ehcmodule.elf
fat.c
gui.c
iospatch.c
menu.c
mload.c
nand.c
restart.c
sha1.c
sys.c
title.c
usbstorage.c
video.c
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/video.c: In function 'Con_FgColor':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/video.c:49:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'u32' {aka 'unsigned int'} [-Wformat=]
49 | printf("\x1b[%lu;%um", color + 30, bold);
| ~~^ ~~~~~~~~~~
| | |
| | u32 {aka unsigned int}
| long unsigned int
| %u
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/video.c: In function 'Con_BgColor':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/video.c:56:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'u32' {aka 'unsigned int'} [-Wformat=]
56 | printf("\x1b[%lu;%um", color + 40, bold);
| ~~^ ~~~~~~~~~~
| | |
| | u32 {aka unsigned int}
| long unsigned int
| %u
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/video.c: In function 'Con_FillRow':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/video.c:66:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'u32' {aka 'unsigned int'} [-Wformat=]
66 | printf("\x1b[%lu;%um", color + 40, bold);
| ~~^ ~~~~~~~~~~
| | |
| | u32 {aka unsigned int}
| long unsigned int
| %u
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/video.c:77:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'u32' {aka 'unsigned int'} [-Wformat=]
77 | printf("\x1b[%lu;0H", row);
| ~~^ ~~~
| | |
| | u32 {aka unsigned int}
| long unsigned int
| %u
wad-manager.c
In file included from /Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c:6:
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c: In function 'ReadConfigFile':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c:240:56: warning: array subscript has type 'char' [-Wchar-subscripts]
240 | else if (isalpha(tmpStr[0]))
| ~~~~~~^~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c: In function 'GetIntParam':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c:381:34: warning: array subscript has type 'char' [-Wchar-subscripts]
381 | while ((isdigit(inputStr
) == 0) && (i < len))
| ~~~~~~~~~^~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c:388:34: warning: array subscript has type 'char' [-Wchar-subscripts]
388 | while ((isdigit(inputStr )) && (i < len) && (outCount < 40))
| ~~~~~~~~~^~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c: In function 'GetStringParam':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c:412:34: warning: array subscript has type 'char' [-Wchar-subscripts]
412 | while ((isalpha(inputStr ) == 0) && (i < len))
| ~~~~~~~~~^~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad-manager.c:419:34: warning: array subscript has type 'char' [-Wchar-subscripts]
419 | while ((isalnum(inputStr )) && (i < len) && (outCount < maxChars))
| ~~~~~~~~~^~~
wad.c
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad.c: In function 'get_title_ios':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad.c:76:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
76 | sprintf(filepath, "/title/%08lx/%08lx/content/title.tmd", TITLE_UPPER(title), TITLE_LOWER(title));
| ~~~~^
| |
| long unsigned int
| %08x
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad.c:76:61: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=]
76 | sprintf(filepath, "/title/%08lx/%08lx/content/title.tmd", TITLE_UPPER(title), TITLE_LOWER(title));
| ~~~~^
| |
| long unsigned int
| %08x
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad.c: In function 'Wad_Install':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad.c:330:53: warning: format '%li' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=]
330 | printf("\n This Title wants IOS%li but the installed version\n is a stub.\n", TITLE_LOWER(tmd_data->sys_version));
| ~~^
| |
| long int
| %i
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/wad.c:452:58: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'u32' {aka 'unsigned int'} [-Wformat=]
452 | printf("\r\t\t>> Installing content #%02ld...", content->cid);
| ~~~~^ ~~~~~~~~~~~~
| | |
| long int u32 {aka unsigned int}
| %02d
wkb.c
wpad.c
pngu.c
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c: In function 'PNGU_SelectImageFromDevice':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:91:33: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
91 | ctx->filename = malloc (strlen (filename) + 1);
| ^~~~~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:14:1: note: include '<string.h>' or provide a declaration of 'strlen'
13 | #include <png.h>
+++ |+#include <string.h>
14 |
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:91:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
91 | ctx->filename = malloc (strlen (filename) + 1);
| ^~~~~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:91:33: note: include '<string.h>' or provide a declaration of 'strlen'
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:97:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
97 | strcpy(ctx->filename, filename);
| ^~~~~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:97:9: note: include '<string.h>' or provide a declaration of 'strcpy'
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:97:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:97:9: note: include '<string.h>' or provide a declaration of 'strcpy'
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c: In function 'PNGU_DecodeToRGBA8':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:217:25: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
217 | memcpy (buffer + (y * buffWidth * 4), ctx->row_pointers[y], width * 4);
| ^~~~~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:217:25: note: include '<string.h>' or provide a declaration of 'memcpy'
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:217:25: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:217:25: note: include '<string.h>' or provide a declaration of 'memcpy'
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c: In function 'pngu_info':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:850:17: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
850 | memcpy (magic, ctx->buffer, 8);
| ^~~~~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:850:17: note: include '<string.h>' or provide a declaration of 'memcpy'
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c: In function 'pngu_read_data_from_buffer':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:1101:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
1101 | memcpy (data, ctx->buffer + ctx->cursor, length);
| ^~~~~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:1101:9: note: include '<string.h>' or provide a declaration of 'memcpy'
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c: In function 'pngu_write_data_to_buffer':
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:1110:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
1110 | memcpy (ctx->buffer + ctx->cursor, data, length);
| ^~~~~~
/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/source/libpng/pngu/pngu.c:1110:9: note: include '<string.h>' or provide a declaration of 'memcpy'
stub.S
linking ... Some-YAWMM-Mod.elf
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: restart.o.sbss.boot2version+0x0): multiple definition of `boot2version'; menu.o.sbss.boot2version+0x0): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: sys.o.sbss.boot2version+0x0): multiple definition of `boot2version'; menu.o.sbss.boot2version+0x0): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: video.o.sbss.boot2version+0x0): multiple definition of `boot2version'; menu.o.sbss.boot2version+0x0): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: wad-manager.o.sbss.boot2version+0x0): multiple definition of `boot2version'; menu.o.sbss.boot2version+0x0): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: wad.o.sbss.boot2version+0x0): multiple definition of `boot2version'; menu.o.sbss.boot2version+0x0): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: wpad.o.sbss.boot2version+0x0): multiple definition of `boot2version'; menu.o.sbss.boot2version+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [/Users/pakou/Documents/CS_Projects/Some-YAWMM-Mod/Some-YAWMM-Mod.elf] Error 1
make: *** [build] Error 2