I see 2 kinds of errors. Which compiler version do you use?
The old libwbfs defines the 6 characters as 4 vars:
Maybe it is bad style to interpret these 6 chars as single vector.
And here, the compiler is wrong. The vector v is always well aligned.
Temporary solution: Append a line to the Makefile:
Quellcode
- In function ‘id_setup’,
- inlined from ‘header_128_setup’ at src/libwbfs/file-formats.c:590:5:
- src/libwbfs/file-formats.c:576:10: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
- 576 | *dest++ = *src++;
- | ~~~~~~~~^~~~~~~~
- In file included from src/libwbfs/file-formats.c:37:
- src/libwbfs/file-formats.c: In function ‘header_128_setup’:
- src/libwbfs/file-formats.h:432:19: note: at offset 0 to object ‘disc_id’ with size 1 declared here
- 432 | /* 0x00 */ char disc_id;
- | ^~~~~~
Temporary solution: Append a line to the Makefile:
Quellcode
- CFLAGS += -std=gnu99 -fomit-frame-pointer -fno-strict-aliasing -funroll-loops
- CFLAGS += -Wall -Wno-parentheses -Wno-unused-function
- #CFLAGS += -O3 -Isrc/libwbfs -Isrc/lzma -Isrc -I$(UI) -I. -Iwork
- CFLAGS += -O3 -Isrc/libwbfs -Isrc -I$(UI) -I. -Iwork
- # >>> new line:
- CFLAGS += -Wno-stringop-overflow -Wno-address-of-packed-member
Wiimms Mario Kart Fun 2023-09
Mittwochs & Donnerstags
ab 19:30 Uhr CEST (17:30 UTC)
mit Team-Speak (freiwillig)
FC: Wiimm=0432-5226-7951, Leseratte=2880-9868-0945
Mittwochs & Donnerstags
ab 19:30 Uhr CEST (17:30 UTC)
mit Team-Speak (freiwillig)
FC: Wiimm=0432-5226-7951, Leseratte=2880-9868-0945
WIT: Wiimms ISO Tools
Verwaltet Plain ISO, WDF, WIA, CISO, WBFS, FST: kann Extrahieren, Erstellen, Patchen, Mischen und Überprüfen
SZS: Wiimms SZS Tools
Verwaltet SZS-, BRRES-, U8-, BMG-, BREFT-Dateien uvm.
PN ohne persönlichen Charakter werden ignoriert. Support-Anfragen gehören ins Forum.