Created attachment 286995 [details] build.log [ 27%] Building C object CMakeFiles/vbamcore.dir/src/common/memgzio.c.o /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:88:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:89:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:90:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:91:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:92:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:93:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:94:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:374:12: warning: conflicting types for ‘check_header’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:374:12: error: static declaration of ‘check_header’ follows non-static declaration /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:324:2: note: previous implicit declaration of ‘check_header’ was here /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:427:11: error: static declaration of ‘destroy’ follows non-static declaration /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:274:33: note: previous implicit declaration of ‘destroy’ was here /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:651:13: error: conflicting types for ‘getLong’ /var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:526:10: note: previous implicit declaration of ‘getLong’ was here make[2]: *** [CMakeFiles/vbamcore.dir/src/common/memgzio.c.o] Error 1
sed -i '1i#define OF(x) x' src/common/memgzio.c
Fixed in CVS.