<86>Jul 19 09:23:56 userdel[2888194]: delete user 'rooter' <86>Jul 19 09:23:56 userdel[2888194]: removed group 'rooter' owned by 'rooter' <86>Jul 19 09:23:56 userdel[2888194]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 19 09:23:56 groupadd[2888199]: group added to /etc/group: name=rooter, GID=555 <86>Jul 19 09:23:56 groupadd[2888199]: group added to /etc/gshadow: name=rooter <86>Jul 19 09:23:56 groupadd[2888199]: new group: name=rooter, GID=555 <86>Jul 19 09:23:56 useradd[2888203]: new user: name=rooter, UID=555, GID=555, home=/root, shell=/bin/bash <86>Jul 19 09:23:56 userdel[2888210]: delete user 'builder' <86>Jul 19 09:23:56 userdel[2888210]: removed group 'builder' owned by 'builder' <86>Jul 19 09:23:56 userdel[2888210]: removed shadow group 'builder' owned by 'builder' <86>Jul 19 09:23:56 groupadd[2888215]: group added to /etc/group: name=builder, GID=556 <86>Jul 19 09:23:56 groupadd[2888215]: group added to /etc/gshadow: name=builder <86>Jul 19 09:23:56 groupadd[2888215]: new group: name=builder, GID=556 <86>Jul 19 09:23:56 useradd[2888220]: new user: name=builder, UID=556, GID=556, home=/usr/src, shell=/bin/bash warning: user slava does not exist - using root warning: group slava does not exist - using root warning: user slava does not exist - using root warning: group slava does not exist - using root warning: user slava does not exist - using root warning: group slava does not exist - using root warning: user slava does not exist - using root warning: group slava does not exist - using root <13>Jul 19 09:23:59 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300646 installed <13>Jul 19 09:23:59 rpmi: libglvnd-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834872 installed <13>Jul 19 09:23:59 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Jul 19 09:23:59 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jul 19 09:23:59 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Jul 19 09:23:59 rpmi: libOpenGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834872 installed <13>Jul 19 09:23:59 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586302007 installed <13>Jul 19 09:23:59 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Jul 19 09:23:59 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Jul 19 09:23:59 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Jul 19 09:23:59 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>Jul 19 09:24:00 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Jul 19 09:24:00 rpmi: libgcrypt20-1.8.5-alt3 p9+239665.100.7.1 1586364779 installed <13>Jul 19 09:24:00 rpmi: libsystemd-1:243.8-alt2 p9+249709.100.3.1 1586972032 installed <13>Jul 19 09:24:00 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Jul 19 09:24:00 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jul 19 09:24:00 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826759 installed <13>Jul 19 09:24:00 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Jul 19 09:24:00 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Jul 19 09:24:00 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Jul 19 09:24:00 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jul 19 09:24:00 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jul 19 09:24:00 rpmi: libX11-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>Jul 19 09:24:00 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jul 19 09:24:00 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Jul 19 09:24:00 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Jul 19 09:24:00 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Jul 19 09:24:00 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jul 19 09:24:00 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Jul 19 09:24:02 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jul 19 09:24:02 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>Jul 19 09:24:03 rpmi: libpulseaudio-13.0-alt3 p9+254091.100.3.1 1593708023 installed <13>Jul 19 09:24:03 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Jul 19 09:24:03 rpmi: libSDL_net-1.2.8-alt1 1333963614 installed <13>Jul 19 09:24:03 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Jul 19 09:24:03 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Jul 19 09:24:03 rpmi: libdrm-1:2.4.102-alt1 p9+252863.100.1.1 1591372623 installed <13>Jul 19 09:24:03 rpmi: libGLX-mesa-4:20.1.1-alt1 p9+253152.100.3.1 1592218736 installed <13>Jul 19 09:24:03 rpmi: libGLX-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834872 installed <13>Jul 19 09:24:03 rpmi: libGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834872 installed <13>Jul 19 09:24:03 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>Jul 19 09:24:03 rpmi: libgbm-4:20.1.1-alt1 p9+253152.100.3.1 1592218736 installed <13>Jul 19 09:24:03 rpmi: libEGL-mesa-4:20.1.1-alt1 p9+253152.100.3.1 1592218736 installed <13>Jul 19 09:24:03 rpmi: libEGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834872 installed <13>Jul 19 09:24:03 rpmi: libglvnd-devel-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834872 installed <13>Jul 19 09:24:03 rpmi: libGL-devel-4:20.1.1-alt1 p9+253152.100.3.1 1592218736 installed <13>Jul 19 09:24:03 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>Jul 19 09:24:03 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Jul 19 09:24:03 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jul 19 09:24:03 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 19 09:24:05 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 19 09:24:05 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Jul 19 09:24:05 rpmi: libSDL_net-devel-1.2.8-alt1 1333963614 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/opentyrian-2.1-alt2.rev628c01aadaa7.nosrc.rpm Installing opentyrian-2.1-alt2.rev628c01aadaa7.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.28032 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf opentyrian + echo 'Source #0 (opentyrian.tar.gz):' Source #0 (opentyrian.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/opentyrian.tar.gz + /bin/tar -xf - + cd opentyrian + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.28032 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd opentyrian + make release make: Entering directory '/usr/src/RPM/BUILD/opentyrian' /bin/sh: hg: command not found make: Leaving directory '/usr/src/RPM/BUILD/opentyrian' make: Entering directory '/usr/src/RPM/BUILD/opentyrian' cc -c -o obj/video_scale_hqNx.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/video_scale_hqNx.c cc -c -o obj/animlib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/animlib.c In file included from src/animlib.c:20: src/animlib.c: In function 'JE_loadPage': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:99:2: note: in expansion of macro 'efread' efread(&CurrentPageHeader.baseRecord, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:100:2: note: in expansion of macro 'efread' efread(&CurrentPageHeader.nRecords, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:101:2: note: in expansion of macro 'efread' efread(&CurrentPageHeader.nBytes, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:106:3: note: in expansion of macro 'efread' efread(&CurrentPageRecordSizes[i], 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:110:2: note: in expansion of macro 'efread' efread(CurrentPageBuffer, 1, CurrentPageHeader.nBytes, InFile); ^~~~~~ src/animlib.c: In function 'JE_loadAnim': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:257:2: note: in expansion of macro 'efread' efread(&temp, 1, 4, InFile); /* The ID, should equal "LPF " */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:259:2: note: in expansion of macro 'efread' efread(&FileHeader.nlps, 2, 1, InFile); /* Number of pages */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:260:2: note: in expansion of macro 'efread' efread(&FileHeader.nRecords, 4, 1, InFile); /* Number of records */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:274:3: note: in expansion of macro 'efread' efread(&PageHeader[i].baseRecord, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:275:3: note: in expansion of macro 'efread' efread(&PageHeader[i].nRecords, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:276:3: note: in expansion of macro 'efread' efread(&PageHeader[i].nBytes, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:296:3: note: in expansion of macro 'efread' efread(&colors[i].b, 1, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:297:3: note: in expansion of macro 'efread' efread(&colors[i].g, 1, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:298:3: note: in expansion of macro 'efread' efread(&colors[i].r, 1, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:299:3: note: in expansion of macro 'efread' efread(&colors[i].unused, 1, 1, InFile); ^~~~~~ cc -c -o obj/config.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/config.c src/config.c: In function 'load_json': src/config.c:232:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, buffer_len, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/config.c:21: src/config.c: In function 'JE_loadConfiguration': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:761:3: note: in expansion of macro 'efread' efread(&background2, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:762:3: note: in expansion of macro 'efread' efread(&gameSpeed, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:764:3: note: in expansion of macro 'efread' efread(&inputDevice_, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:765:3: note: in expansion of macro 'efread' efread(&jConfigure, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:767:3: note: in expansion of macro 'efread' efread(&versionNum, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:769:3: note: in expansion of macro 'efread' efread(&processorType, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:770:3: note: in expansion of macro 'efread' efread(&midiPort, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:771:3: note: in expansion of macro 'efread' efread(&soundEffects, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:772:3: note: in expansion of macro 'efread' efread(&gammaCorrection, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:773:3: note: in expansion of macro 'efread' efread(&difficultyLevel, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:775:3: note: in expansion of macro 'efread' efread(joyButtonAssign, 1, 4, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:777:3: note: in expansion of macro 'efread' efread(&tyrMusicVolume, 2, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:778:3: note: in expansion of macro 'efread' efread(&fxVolume, 2, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:780:3: note: in expansion of macro 'efread' efread(inputDevice, 1, 2, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:782:3: note: in expansion of macro 'efread' efread(keySettings, sizeof(*keySettings), COUNTOF(keySettings), fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:815:3: note: in expansion of macro 'efread' efread(saveTemp, 1, sizeof(saveTemp), fi); ^~~~~~ cc -c -o obj/setup.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/setup.c cc -c -o obj/vga_palette.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/vga_palette.c cc -c -o obj/palette.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/palette.c cc -c -o obj/sizebuf.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/sizebuf.c cc -c -o obj/lds_play.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/lds_play.c In file included from src/lds_play.c:19: src/lds_play.c: In function 'lds_load': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:97:2: note: in expansion of macro 'efread' efread(&speed, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:105:2: note: in expansion of macro 'efread' efread(&numpatch, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:136:3: note: in expansion of macro 'efread' efread(&sb->start, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:137:3: note: in expansion of macro 'efread' efread(&sb->size, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:139:3: note: in expansion of macro 'efread' efread(&sb->transp, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:149:2: note: in expansion of macro 'efread' efread(&numposi, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:164:4: note: in expansion of macro 'efread' efread(&temp, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:179:3: note: in expansion of macro 'efread' efread(&patterns[i], 2, 1, f); ^~~~~~ cc -c -o obj/pcxload.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/pcxload.c In file included from src/pcxload.c:19: src/pcxload.c: In function 'JE_loadPCX': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/pcxload.c:37:4: note: in expansion of macro 'efread' efread(&colors[i].r, 1, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/pcxload.c:38:4: note: in expansion of macro 'efread' efread(&colors[i].g, 1, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/pcxload.c:39:4: note: in expansion of macro 'efread' efread(&colors[i].b, 1, 1, f); ^~~~~~ cc -c -o obj/lvlmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/lvlmast.c cc -c -o obj/video.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/video.c cc -c -o obj/player.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/player.c cc -c -o obj/menus.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/menus.c cc -c -o obj/file.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/file.c cc -c -o obj/pcxmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/pcxmast.c cc -c -o obj/mingw_fixes.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/mingw_fixes.c cc -c -o obj/nortsong.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/nortsong.c In file included from src/nortsong.c:19: src/nortsong.c: In function 'JE_loadSndFile': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:113:2: note: in expansion of macro 'efread' efread(&sndNum, sizeof(sndNum), 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:117:3: note: in expansion of macro 'efread' efread(&sndPos[0][x], sizeof(sndPos[0][x]), 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:128:3: note: in expansion of macro 'efread' efread(digiFx[z], 1, fxSize[z], fi); /* JE: Load sample to buffer */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:136:2: note: in expansion of macro 'efread' efread(&sndNum, sizeof(sndNum), 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:140:3: note: in expansion of macro 'efread' efread(&sndPos[1][x], sizeof(sndPos[1][x]), 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:155:3: note: in expansion of macro 'efread' efread(digiFx[z + y], 1, fxSize[z + y], fi); /* JE: Load sample to buffer */ ^~~~~~ cc -c -o obj/loudness.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/loudness.c src/loudness.c: In function 'fade_song': src/loudness.c:255:23: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] printf("TODO: %s\n", __FUNCTION__); ^~~~~~~~~~~~ In file included from src/loudness.c:19: src/loudness.c: In function 'load_music': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/loudness.c:201:3: note: in expansion of macro 'efread' efread(&song_count, sizeof(song_count), 1, music_file); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/loudness.c:205:3: note: in expansion of macro 'efread' efread(song_offset, 4, song_count, music_file); ^~~~~~ cc -c -o obj/sndmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/sndmast.c cc -c -o obj/joystick.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/joystick.c src/joystick.c:45:19: warning: 'joystick_cfg_version' defined but not used [-Wunused-const-variable=] static const char joystick_cfg_version = 1; ^~~~~~~~~~~~~~~~~~~~ src/joystick.c: In function 'assignment_to_code': src/joystick.c:524:35: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] snprintf(name, sizeof(name), "H %d%c%c", ^~ src/joystick.c:524:32: note: directive argument in the range [-2147483647, 2147483647] snprintf(name, sizeof(name), "H %d%c%c", ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/joystick.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 16 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/joystick.c:519:37: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 3 [-Wformat-truncation=] snprintf(name, sizeof(name), "BTN %d", ^~ src/joystick.c:519:32: note: directive argument in the range [-2147483647, 2147483647] snprintf(name, sizeof(name), "BTN %d", ^~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/joystick.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 16 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/joystick.c:513:36: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] snprintf(name, sizeof(name), "AX %d%c", ^~ src/joystick.c:513:32: note: directive argument in the range [-2147483647, 2147483647] snprintf(name, sizeof(name), "AX %d%c", ^~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/joystick.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 16 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o obj/varz.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/varz.c cc -c -o obj/fmopl.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/fmopl.c cc -c -o obj/tyrian2.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/tyrian2.c src/tyrian2.c: In function 'JE_main': src/tyrian2.c:2259:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(tempStr, "%s%c", tempStr, smoothies[temp] + 48); ^~~~~~~ ~~~~~~~ In file included from src/tyrian2.c:22: src/tyrian2.c: In function 'JE_loadMap': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3192:2: note: in expansion of macro 'efread' efread(&mapX, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3193:2: note: in expansion of macro 'efread' efread(&mapX2, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3194:2: note: in expansion of macro 'efread' efread(&mapX3, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3196:2: note: in expansion of macro 'efread' efread(&levelEnemyMax, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3199:3: note: in expansion of macro 'efread' efread(&levelEnemy[x], sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3202:2: note: in expansion of macro 'efread' efread(&maxEvent, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3205:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventtime, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3206:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventtype, sizeof(JE_byte), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3207:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat, sizeof(JE_integer), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3208:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat2, sizeof(JE_integer), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3209:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat3, sizeof(JE_shortint), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3210:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat5, sizeof(JE_shortint), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3211:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat6, sizeof(JE_shortint), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3212:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat4, sizeof(JE_byte), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3221:2: note: in expansion of macro 'efread' efread(mapSh, sizeof(JE_word), sizeof(mapSh) / sizeof(JE_word), level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3241:4: note: in expansion of macro 'efread' efread(shape, sizeof(JE_byte), sizeof(shape), shpFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3305:2: note: in expansion of macro 'efread' efread(mapBuf, sizeof(JE_byte), 14 * 300, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3316:2: note: in expansion of macro 'efread' efread(mapBuf, sizeof(JE_byte), 14 * 600, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3327:2: note: in expansion of macro 'efread' efread(mapBuf, sizeof(JE_byte), 15 * 600, level_f); ^~~~~~ src/tyrian2.c: In function 'JE_main': src/tyrian2.c:2259:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(tempStr, "%s%c", tempStr, smoothies[temp] + 48); ^ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/animlib.h:22, from src/tyrian2.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 32 bytes into a destination of size 31 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o obj/helptext.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/helptext.c In file included from src/helptext.c:21: src/helptext.c: In function 'read_encrypted_pascal_string': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/helptext.c:101:3: note: in expansion of macro 'efread' efread(s, 1, len, f); ^~~~~~ src/helptext.c: In function 'JE_loadHelpText': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/helptext.c:178:2: note: in expansion of macro 'efread' efread(&episode1DataLoc, sizeof(JE_longint), 1, f); ^~~~~~ cc -c -o obj/editship.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/editship.c In file included from src/editship.c:21: src/editship.c: In function 'JE_loadExtraShapes': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/editship.c:85:3: note: in expansion of macro 'efread' efread(extraShapes, extraShapeSize, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/editship.c:86:3: note: in expansion of macro 'efread' efread(extraShips, sizeof(extraShips), 1, f); ^~~~~~ cc -c -o obj/mouse.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/mouse.c cc -c -o obj/fonthand.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/fonthand.c cc -c -o obj/mtrand.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/mtrand.c cc -c -o obj/font.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/font.c cc -c -o obj/scroller.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/scroller.c cc -c -o obj/fm_synth.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/fm_synth.c cc -c -o obj/nortvars.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/nortvars.c cc -c -o obj/musmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/musmast.c cc -c -o obj/xmas.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/xmas.c cc -c -o obj/destruct.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/destruct.c src/destruct.c: In function 'DE_RunTickGravity': src/destruct.c:1715:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (unit->isYInAir == true) /* unit is falling down, at least in theory */ ^ src/destruct.c:1722:4: note: here default: ^~~~~~~ cc -c -o obj/cJSON.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/cJSON.c src/cJSON.c: In function 'parse_string': src/cJSON.c:318:49: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; ~~~^~~~~ src/cJSON.c:319:7: note: here case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; ^~~~ src/cJSON.c:319:49: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; ~~~^~~~~ src/cJSON.c:320:7: note: here case 1: *--ptr2 =(uc | firstByteMark[len]); ^~~~ cc -c -o obj/game_menu.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/game_menu.c src/game_menu.c: In function 'JE_itemScreen': src/game_menu.c:856:34: warning: '%s' directive output may be truncated writing up to 41 bytes into a region of size 20 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s %d%%", miscText[11], percent_read); ^~ ~~~~~~~~~~~~ src/game_menu.c:856:33: note: directive argument in the range [0, 546125] snprintf(buf, sizeof(buf), "%s %d%%", miscText[11], percent_read); ^~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/game_menu.c:19: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 4 and 50 bytes into a destination of size 20 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o obj/network.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/network.c src/network.c: In function 'network_check': src/network.c:229:7: warning: this statement may fall through [-Wimplicit-fallthrough=] for (int i = 0; i < NET_PACKET_QUEUE; i++) ^~~ src/network.c:238:6: note: here case PACKET_DETAILS: ^~~~ src/network.c:257:7: warning: this statement may fall through [-Wimplicit-fallthrough=] network_acknowledge(SDLNet_Read16(&packet_temp->data[2])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/network.c:259:6: note: here case PACKET_KEEP_ALIVE: ^~~~ cc -c -o obj/keyboard.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/keyboard.c src/keyboard.c: In function 'service_SDL_events': src/keyboard.c:204:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!input_grabbed) ^ src/keyboard.c:210:4: note: here case SDL_MOUSEBUTTONUP: ^~~~ cc -c -o obj/episodes.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/episodes.c In file included from src/episodes.c:21: src/episodes.c: In function 'JE_loadItemDat': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:61:3: note: in expansion of macro 'efread' efread(&episode1DataLoc, sizeof(JE_longint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:72:2: note: in expansion of macro 'efread' efread(&itemNum, sizeof(JE_word), 7, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:76:3: note: in expansion of macro 'efread' efread(&weapons[i].drain, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:77:3: note: in expansion of macro 'efread' efread(&weapons[i].shotrepeat, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:78:3: note: in expansion of macro 'efread' efread(&weapons[i].multi, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:79:3: note: in expansion of macro 'efread' efread(&weapons[i].weapani, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:80:3: note: in expansion of macro 'efread' efread(&weapons[i].max, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:81:3: note: in expansion of macro 'efread' efread(&weapons[i].tx, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:82:3: note: in expansion of macro 'efread' efread(&weapons[i].ty, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:83:3: note: in expansion of macro 'efread' efread(&weapons[i].aim, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:84:3: note: in expansion of macro 'efread' efread(&weapons[i].attack, sizeof(JE_byte), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:85:3: note: in expansion of macro 'efread' efread(&weapons[i].del, sizeof(JE_byte), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:86:3: note: in expansion of macro 'efread' efread(&weapons[i].sx, sizeof(JE_shortint), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:87:3: note: in expansion of macro 'efread' efread(&weapons[i].sy, sizeof(JE_shortint), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:88:3: note: in expansion of macro 'efread' efread(&weapons[i].bx, sizeof(JE_shortint), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:89:3: note: in expansion of macro 'efread' efread(&weapons[i].by, sizeof(JE_shortint), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:90:3: note: in expansion of macro 'efread' efread(&weapons[i].sg, sizeof(JE_word), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:91:3: note: in expansion of macro 'efread' efread(&weapons[i].acceleration, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:92:3: note: in expansion of macro 'efread' efread(&weapons[i].accelerationx, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:93:3: note: in expansion of macro 'efread' efread(&weapons[i].circlesize, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:94:3: note: in expansion of macro 'efread' efread(&weapons[i].sound, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:95:3: note: in expansion of macro 'efread' efread(&weapons[i].trail, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:96:3: note: in expansion of macro 'efread' efread(&weapons[i].shipblastfilter, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:102:3: note: in expansion of macro 'efread' efread(&weaponPort[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:104:3: note: in expansion of macro 'efread' efread(&weaponPort[i].opnum, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:107:4: note: in expansion of macro 'efread' efread(&weaponPort[i].op[j], sizeof(JE_word), 11, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:109:3: note: in expansion of macro 'efread' efread(&weaponPort[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:110:3: note: in expansion of macro 'efread' efread(&weaponPort[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:111:3: note: in expansion of macro 'efread' efread(&weaponPort[i].poweruse, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:117:3: note: in expansion of macro 'efread' efread(&special[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:119:3: note: in expansion of macro 'efread' efread(&special[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:120:3: note: in expansion of macro 'efread' efread(&special[i].pwr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:121:3: note: in expansion of macro 'efread' efread(&special[i].stype, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:122:3: note: in expansion of macro 'efread' efread(&special[i].wpn, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:128:3: note: in expansion of macro 'efread' efread(&powerSys[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:130:3: note: in expansion of macro 'efread' efread(&powerSys[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:131:3: note: in expansion of macro 'efread' efread(&powerSys[i].power, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:132:3: note: in expansion of macro 'efread' efread(&powerSys[i].speed, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:133:3: note: in expansion of macro 'efread' efread(&powerSys[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:139:3: note: in expansion of macro 'efread' efread(&ships[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:141:3: note: in expansion of macro 'efread' efread(&ships[i].shipgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:142:3: note: in expansion of macro 'efread' efread(&ships[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:143:3: note: in expansion of macro 'efread' efread(&ships[i].ani, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:144:3: note: in expansion of macro 'efread' efread(&ships[i].spd, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:145:3: note: in expansion of macro 'efread' efread(&ships[i].dmg, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:146:3: note: in expansion of macro 'efread' efread(&ships[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:147:3: note: in expansion of macro 'efread' efread(&ships[i].bigshipgraphic, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:153:3: note: in expansion of macro 'efread' efread(&options[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:155:3: note: in expansion of macro 'efread' efread(&options[i].pwr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:156:3: note: in expansion of macro 'efread' efread(&options[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:157:3: note: in expansion of macro 'efread' efread(&options[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:158:3: note: in expansion of macro 'efread' efread(&options[i].tr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:159:3: note: in expansion of macro 'efread' efread(&options[i].option, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:160:3: note: in expansion of macro 'efread' efread(&options[i].opspd, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:161:3: note: in expansion of macro 'efread' efread(&options[i].ani, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:162:3: note: in expansion of macro 'efread' efread(&options[i].gr, sizeof(JE_word), 20, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:163:3: note: in expansion of macro 'efread' efread(&options[i].wport, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:164:3: note: in expansion of macro 'efread' efread(&options[i].wpnum, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:165:3: note: in expansion of macro 'efread' efread(&options[i].ammo, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:166:3: note: in expansion of macro 'efread' efread(&options[i].stop, 1, 1, f); /* override sizeof(JE_boolean) */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:167:3: note: in expansion of macro 'efread' efread(&options[i].icongr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:173:3: note: in expansion of macro 'efread' efread(&shields[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:175:3: note: in expansion of macro 'efread' efread(&shields[i].tpwr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:176:3: note: in expansion of macro 'efread' efread(&shields[i].mpwr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:177:3: note: in expansion of macro 'efread' efread(&shields[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:178:3: note: in expansion of macro 'efread' efread(&shields[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:183:3: note: in expansion of macro 'efread' efread(&enemyDat[i].ani, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:184:3: note: in expansion of macro 'efread' efread(&enemyDat[i].tur, sizeof(JE_byte), 3, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:185:3: note: in expansion of macro 'efread' efread(&enemyDat[i].freq, sizeof(JE_byte), 3, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:186:3: note: in expansion of macro 'efread' efread(&enemyDat[i].xmove, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:187:3: note: in expansion of macro 'efread' efread(&enemyDat[i].ymove, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:188:3: note: in expansion of macro 'efread' efread(&enemyDat[i].xaccel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:189:3: note: in expansion of macro 'efread' efread(&enemyDat[i].yaccel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:190:3: note: in expansion of macro 'efread' efread(&enemyDat[i].xcaccel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:191:3: note: in expansion of macro 'efread' efread(&enemyDat[i].ycaccel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:192:3: note: in expansion of macro 'efread' efread(&enemyDat[i].startx, sizeof(JE_integer), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:193:3: note: in expansion of macro 'efread' efread(&enemyDat[i].starty, sizeof(JE_integer), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:194:3: note: in expansion of macro 'efread' efread(&enemyDat[i].startxc, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:195:3: note: in expansion of macro 'efread' efread(&enemyDat[i].startyc, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:196:3: note: in expansion of macro 'efread' efread(&enemyDat[i].armor, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:197:3: note: in expansion of macro 'efread' efread(&enemyDat[i].esize, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:198:3: note: in expansion of macro 'efread' efread(&enemyDat[i].egraphic, sizeof(JE_word), 20, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:199:3: note: in expansion of macro 'efread' efread(&enemyDat[i].explosiontype, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:200:3: note: in expansion of macro 'efread' efread(&enemyDat[i].animate, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:201:3: note: in expansion of macro 'efread' efread(&enemyDat[i].shapebank, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:202:3: note: in expansion of macro 'efread' efread(&enemyDat[i].xrev, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:203:3: note: in expansion of macro 'efread' efread(&enemyDat[i].yrev, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:204:3: note: in expansion of macro 'efread' efread(&enemyDat[i].dgr, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:205:3: note: in expansion of macro 'efread' efread(&enemyDat[i].dlevel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:206:3: note: in expansion of macro 'efread' efread(&enemyDat[i].dani, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:207:3: note: in expansion of macro 'efread' efread(&enemyDat[i].elaunchfreq, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:208:3: note: in expansion of macro 'efread' efread(&enemyDat[i].elaunchtype, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:209:3: note: in expansion of macro 'efread' efread(&enemyDat[i].value, sizeof(JE_integer), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:210:3: note: in expansion of macro 'efread' efread(&enemyDat[i].eenemydie, sizeof(JE_word), 1, f); ^~~~~~ src/episodes.c: In function 'JE_initEpisode': src/episodes.c:223:31: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] sprintf(levelFile, "tyrian%d.lvl", episodeNum); ^~ src/episodes.c:223:24: note: directive argument in the range [0, 2147483647] sprintf(levelFile, "tyrian%d.lvl", episodeNum); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/episodes.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 21 bytes into a destination of size 13 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/episodes.c:224:34: warning: '.dat' directive writing 4 bytes into a region of size between 3 and 5 [-Wformat-overflow=] sprintf(cube_file, "cubetxt%d.dat", episodeNum); ^~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/episodes.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 15 bytes into a destination of size 13 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/episodes.c:225:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(episode_file, "levels%d.dat", episodeNum); ^ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/episodes.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 14 bytes into a destination of size 13 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o obj/sprite.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/sprite.c In file included from src/sprite.c:19: src/sprite.c: In function 'load_sprites': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:47:2: note: in expansion of macro 'efread' efread(&temp, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:58:3: note: in expansion of macro 'efread' efread(&cur_sprite->width, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:59:3: note: in expansion of macro 'efread' efread(&cur_sprite->height, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:60:3: note: in expansion of macro 'efread' efread(&cur_sprite->size, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:64:3: note: in expansion of macro 'efread' efread(cur_sprite->data, sizeof(Uint8), cur_sprite->size, f); ^~~~~~ src/sprite.c: In function 'JE_loadCompShapesB': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:485:2: note: in expansion of macro 'efread' efread(sprite2s->data, sizeof(Uint8), sprite2s->size, f); ^~~~~~ src/sprite.c: In function 'JE_loadMainShapeTables': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:675:2: note: in expansion of macro 'efread' efread(&shpNumb, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:680:3: note: in expansion of macro 'efread' efread(&shpPos[i], sizeof(JE_longint), 1, f); ^~~~~~ cc -c -o obj/vga256d.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/vga256d.c cc -c -o obj/starlib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/starlib.c cc -c -o obj/lvllib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/lvllib.c In file included from src/lvllib.c:19: src/lvllib.c: In function 'JE_analyzeLevel': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lvllib.c:32:2: note: in expansion of macro 'efread' efread(&lvlNum, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lvllib.c:35:3: note: in expansion of macro 'efread' efread(&lvlPos[x], sizeof(JE_longint), 1, f); ^~~~~~ cc -c -o obj/mainint.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/mainint.c src/mainint.c: In function 'JE_highScoreCheck': src/mainint.c:1622:18: warning: this statement may fall through [-Wimplicit-fallthrough=] validkey = true; ^ src/mainint.c:1623:8: note: here default: ^~~~~~~ In file included from src/mainint.c:23: src/mainint.c: In function 'load_next_demo': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/mainint.c:1785:2: note: in expansion of macro 'efread' efread(levelName, 1, 10, demo_file); levelName[10] = '\0'; ^~~~~~ src/mainint.c: In function 'read_demo_keys': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/mainint.c:1850:2: note: in expansion of macro 'efread' efread(&demo_keys_wait, sizeof(Uint16), 1, demo_file); ^~~~~~ src/mainint.c: In function 'JE_operation': src/mainint.c:2453:16: warning: this statement may fall through [-Wimplicit-fallthrough=] validkey = true; ^ src/mainint.c:2454:6: note: here default: ^~~~~~~ cc -c -o obj/arg_parse.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/arg_parse.c cc -c -o obj/picload.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/picload.c In file included from src/picload.c:19: src/picload.c: In function 'JE_loadPic': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/picload.c:40:3: note: in expansion of macro 'efread' efread(&temp, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/picload.c:43:4: note: in expansion of macro 'efread' efread(&pcxpos[i], sizeof(JE_longint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/picload.c:53:2: note: in expansion of macro 'efread' efread(buffer, sizeof(Uint8), size, f); ^~~~~~ cc -c -o obj/jukebox.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/jukebox.c cc -c -o obj/opentyr.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/opentyr.c cc -c -o obj/params.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/params.c cc -c -o obj/video_scale.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/video_scale.c cc -c -o obj/backgrnd.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/backgrnd.c cc -o opentyrian obj/video_scale_hqNx.o obj/animlib.o obj/config.o obj/setup.o obj/vga_palette.o obj/palette.o obj/sizebuf.o obj/lds_play.o obj/pcxload.o obj/lvlmast.o obj/video.o obj/player.o obj/menus.o obj/file.o obj/pcxmast.o obj/mingw_fixes.o obj/nortsong.o obj/loudness.o obj/sndmast.o obj/joystick.o obj/varz.o obj/fmopl.o obj/tyrian2.o obj/helptext.o obj/editship.o obj/mouse.o obj/fonthand.o obj/mtrand.o obj/font.o obj/scroller.o obj/fm_synth.o obj/nortvars.o obj/musmast.o obj/xmas.o obj/destruct.o obj/cJSON.o obj/game_menu.o obj/network.o obj/keyboard.o obj/episodes.o obj/sprite.o obj/vga256d.o obj/starlib.o obj/lvllib.o obj/mainint.o obj/arg_parse.o obj/picload.o obj/jukebox.o obj/opentyr.o obj/params.o obj/video_scale.o obj/backgrnd.o -lm -lSDL -lpthread -lSDL_net strip opentyrian make: Leaving directory '/usr/src/RPM/BUILD/opentyrian' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51508 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/opentyrian-buildroot + : + /bin/rm -rf -- /usr/src/tmp/opentyrian-buildroot + cd opentyrian + install -Dpm 755 opentyrian /usr/src/tmp/opentyrian-buildroot/usr/bin/opentyrian + install -Dpm 755 /usr/src/RPM/SOURCES/opentyrian-installer /usr/src/tmp/opentyrian-buildroot/usr/bin/opentyrian-installer + mkdir -p /usr/src/tmp/opentyrian-buildroot/usr/share/icons/hicolor/48x48/apps + install -m644 /usr/src/RPM/SOURCES/opentyrian.png /usr/src/tmp/opentyrian-buildroot/usr/share/icons/hicolor/48x48/apps/opentyrian.png + mkdir -p /usr/src/tmp/opentyrian-buildroot/usr/share/applications + cat + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/opentyrian-buildroot (auto) Verifying and fixing files in /usr/src/tmp/opentyrian-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/opentyrian-buildroot/ (default) Compressing files in /usr/src/tmp/opentyrian-buildroot (auto) Verifying ELF objects in /usr/src/tmp/opentyrian-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/opentyrian: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: opentyrian-2.1-alt2.rev628c01aadaa7 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.51508 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd opentyrian + DOCDIR=/usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + export DOCDIR + rm -rf /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + /bin/mkdir -p /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + cp -prL COPYING README CREDITS NEWS /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + chmod -R go-w /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + chmod -R a+rX /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Lcynek find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FUxlHX find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: mkdir rm sed tr unzip Requires: /bin/sh, /lib/ld-linux.so.2, coreutils, libSDL-1.2.so.0 >= set:lfgVbdN5vJbZeUQWKZEeZbGvQMmfC6qBrhP3VNe9SsSsKIQfaZpDDY8uN1gonR7o2ZLyEFrGkPsazBJIoHzt0eeM5WVV956bqnM3bzoOJHxURDII, libSDL_net-1.2.so.0 >= set:jfOuTlYo6Xc6xCT2FkvN8De, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libpthread.so.0(GLIBC_2.0), rtld(GNU_HASH), sed, unzip Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.a73KVZ Wrote: /usr/src/RPM/RPMS/i586/opentyrian-2.1-alt2.rev628c01aadaa7.i586.rpm 42.58user 2.73system 0:46.98elapsed 96%CPU (0avgtext+0avgdata 370480maxresident)k 0inputs+0outputs (0major+552641minor)pagefaults 0swaps 53.92user 8.67system 1:03.40elapsed 98%CPU (0avgtext+0avgdata 370480maxresident)k 56inputs+0outputs (0major+848753minor)pagefaults 0swaps