Cook: opentyrian r886 ================================================================================ QA: checking package receipt... QA: unable to reach "https://bitbucket.org/opentyrian/opentyrian/wiki/Home" Checking build dependencies... Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): tslib-1.18-i486 Installing (pkg/local): sdl-1.2.15-i486 Installing (pkg/local): tslib-dev-1.18-any Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): sdl-dev-1.2.15-i486 Installing (pkg/local): alsa-lib-1.2.3-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): libltdl-2.4.6-i486 Installing (pkg/local): libogg-1.3.3-i486 Installing (pkg/local): flac-1.3.3-i486 Installing (pkg/local): libvorbis-1.3.6-i486 Installing (pkg/local): libsndfile-1.0.28-i486 Installing (pkg/local): speexdsp-1.2rc3-i486 Installing (pkg/local): libice-1.0.9-i486 Installing (pkg/local): libsm-1.2.3-i486 Installing (pkg/local): libxext-1.3.3-i486 Installing (pkg/local): libxtst-1.2.3-i486 Installing (pkg/local): pulseaudio-12.2-i486 Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): libsamplerate-0.1.9-i486 Installing (pkg/local): jack-0.125.0-i486 Installing (pkg/local): ladspa-1.13-i486 Installing (pkg/local): fluidsynth-1.1.8-i486 Installing (pkg/local): sdl-mixer-1.2.12-i486 Installing (pkg/local): fluidsynth-dev-1.1.8-i486 Installing (pkg/local): sdl-mixer-dev-1.2.12-any Installing (pkg/local): sdl-net-1.2.8-i486 Installing (pkg/local): sdl-net-dev-1.2.8-any Extracting source archive "opentyrian-r886.tar.bz2" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed cc -c -o obj/editship.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/editship.c cc -c -o obj/vga256d.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/vga256d.c cc -c -o obj/opentyr.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/opentyr.c cc -c -o obj/jukebox.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/jukebox.c cc -c -o obj/picload.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/picload.c cc -c -o obj/episodes.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/episodes.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); ^~~~~~ 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); ^~~~~~ 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:108: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:110: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:113: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:115: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:116: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:117: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:131: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:133: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:134: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:135: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:136: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:148: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:150: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:151: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:152: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:153: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:165: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:167: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:168: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:169: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:170: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:171: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:172: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:173: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:185: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:187: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:188: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:189: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:190: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:191: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:192: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:193: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:194: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:195: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:196: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:197: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:198: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:199: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:211: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:213: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:214: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:215: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:216: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:221: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:222: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:223: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:224: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:225: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:226: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:227: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:228: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:229: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:230: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:231: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:232: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:233: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:234: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:235: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:236: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:237: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:238: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:239: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:240: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:241: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:242: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:243: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:244: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:245: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:246: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:247: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:248:3: note: in expansion of macro 'efread' efread(&enemyDat[i].eenemydie, sizeof(JE_word), 1, f); ^~~~~~ cc -c -o obj/scroller.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/scroller.c cc -c -o obj/arg_parse.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/arg_parse.c cc -c -o obj/shots.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/shots.c cc -c -o obj/joystick.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/joystick.c cc -c -o obj/sprite.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/sprite.c src/episodes.c: In function 'JE_initEpisode': src/episodes.c:261: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:261:24: note: directive argument in the range [0, 2147483647] sprintf(levelFile, "tyrian%d.lvl", episodeNum); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, 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:36: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:262: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:873, 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:36: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:263: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:873, 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:36: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/opl.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/opl.c cc -c -o obj/keyboard.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/keyboard.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:60: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:61: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:62: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:66: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:487: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:681: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:685:3: note: in expansion of macro 'efread' efread(&shpPos[i], sizeof(JE_longint), 1, f); ^~~~~~ src/joystick.c:45:19: warning: 'joystick_cfg_version' defined but not used [-Wunused-const-variable=] static const char joystick_cfg_version = 1; ^~~~~~~~~~~~~~~~~~~~ cc -c -o obj/backgrnd.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/backgrnd.c src/keyboard.c: In function 'service_SDL_events': src/keyboard.c:211:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!input_grab_enabled) ^ src/keyboard.c:217:4: note: here case SDL_MOUSEBUTTONUP: ^~~~ cc -c -o obj/starlib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/starlib.c src/shots.c: In function 'player_shot_create': src/shots.c:498:9: warning: 'shot_id' may be used uninitialized in this function [-Wmaybe-uninitialized] return shot_id; ^~~~~~~ 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:873, 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:67: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:873, 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:67: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:873, 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:67: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/network.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/network.c cc -c -o obj/game_menu.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/game_menu.c cc -c -o obj/cJSON.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/cJSON.c cc -c -o obj/destruct.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/destruct.c cc -c -o obj/sizebuf.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/sizebuf.c src/network.c: In function 'network_check': src/network.c:279:7: warning: this statement may fall through [-Wimplicit-fallthrough=] for (int i = 0; i < NET_PACKET_QUEUE; i++) ^~~ src/network.c:288:6: note: here case PACKET_DETAILS: ^~~~ src/network.c:307:7: warning: this statement may fall through [-Wimplicit-fallthrough=] network_acknowledge(SDLNet_Read16(&packet_temp->data[2])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/network.c:309:6: note: here case PACKET_KEEP_ALIVE: ^~~~ 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/lvlmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/lvlmast.c src/destruct.c: In function 'DE_RunTickGravity': src/destruct.c:1714:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (unit->isYInAir == true) /* unit is falling down, at least in theory */ ^ src/destruct.c:1721:4: note: here default: ^~~~~~~ cc -c -o obj/nortvars.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/nortvars.c cc -c -o obj/font.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/font.c cc -c -o obj/xmas.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/xmas.c cc -c -o obj/mtrand.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/mtrand.c cc -c -o obj/mainint.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/mainint.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 -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/video_scale.c cc -c -o obj/fonthand.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/fonthand.c cc -c -o obj/mouse.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/mouse.c src/mainint.c: In function 'JE_highScoreCheck': src/mainint.c:1629:18: warning: this statement may fall through [-Wimplicit-fallthrough=] validkey = true; ^ src/mainint.c:1630: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:1792: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:1857:2: note: in expansion of macro 'efread' efread(&demo_keys_wait, sizeof(Uint16), 1, demo_file); ^~~~~~ cc -c -o obj/helptext.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/helptext.c src/mainint.c: In function 'JE_operation': src/mainint.c:2460:16: warning: this statement may fall through [-Wimplicit-fallthrough=] validkey = true; ^ src/mainint.c:2461:6: note: here default: ^~~~~~~ cc -c -o obj/tyrian2.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/tyrian2.c cc -c -o obj/palette.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/palette.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:184:2: note: in expansion of macro 'efread' efread(&episode1DataLoc, sizeof(JE_longint), 1, f); ^~~~~~ src/tyrian2.c: In function 'JE_main': src/tyrian2.c:2093:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(tempStr, "%s%c", tempStr, smoothies[temp] + 48); ^~~~~~~ ~~~~~~~ cc -c -o obj/sndmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/sndmast.c cc -c -o obj/nortsong.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/nortsong.c cc -c -o obj/loudness.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/loudness.c 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:3040: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:3041: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:3042: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:3044: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:3047: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:3050: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:3053: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:3054: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:3055: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:3056: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:3057: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:3058: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:3059: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:3060: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:3069: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:3089: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:3153: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:3164: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:3175:2: note: in expansion of macro 'efread' efread(mapBuf, sizeof(JE_byte), 15 * 600, level_f); ^~~~~~ 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 */ ^~~~~~ 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:198: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:202:3: note: in expansion of macro 'efread' efread(song_offset, 4, song_count, music_file); ^~~~~~ cc -c -o obj/file.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/file.c cc -c -o obj/lvllib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/lvllib.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:873, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/backgrnd.h:22, from src/game_menu.c:19: /usr/include/bits/stdio2.h:67: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/varz.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/varz.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/menus.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/menus.c cc -c -o obj/player.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/player.c cc -c -o obj/musmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/musmast.c cc -c -o obj/video.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/video.c cc -c -o obj/pcxmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/pcxmast.c cc -c -o obj/pcxload.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/pcxload.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 -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/mingw_fixes.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 -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/lds_play.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/setup.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk 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 -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/vga_palette.c cc -c -o obj/config.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/config.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:98: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:106: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:137: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:138: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:140: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:150: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:165: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:180:3: note: in expansion of macro 'efread' efread(&patterns[i], 2, 1, f); ^~~~~~ cc -c -o obj/animlib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/animlib.c 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 -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/video_scale_hqNx.c src/config.c: In function 'load_json': src/config.c:226: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:740: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:741: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:743: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:744: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:746: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:748: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:749: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:750: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:751: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:752: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:754: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:756: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:757: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:759: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:761: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:794:3: note: in expansion of macro 'efread' efread(saveTemp, 1, sizeof(saveTemp), fi); ^~~~~~ 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); ^~~~~~ src/mainint.c: In function 'JE_playerMovement': src/mainint.c:3665:8: warning: 'ship_banking' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ship_banking != 0) // NortSparks ^ src/tyrian2.c: In function 'JE_eventSystem': src/tyrian2.c:4372:7: warning: 'all_enemies' may be used uninitialized in this function [-Wmaybe-uninitialized] if (all_enemies || enemy[i].linknum == eventRec[eventLoc-1].eventdat4) ^ src/tyrian2.c:4370:3: warning: 'max_i' may be used uninitialized in this function [-Wmaybe-uninitialized] for (int i = initial_i; i < max_i; i++) ^~~ cc -c -o obj/params.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -DWITH_NETWORK '-DHG_REV="5e27791cf19c+ default"' -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=i486 -Os -pipe -mindirect-branch=thunk src/params.c src/tyrian2.c:4370:12: warning: 'initial_i' may be used uninitialized in this function [-Wmaybe-uninitialized] for (int i = initial_i; i < max_i; i++) ^ src/tyrian2.c: In function 'JE_main': src/tyrian2.c:2093: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:873, 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:36: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 -o opentyrian -Wl,-Os,--as-needed obj/editship.o obj/vga256d.o obj/opentyr.o obj/jukebox.o obj/picload.o obj/episodes.o obj/scroller.o obj/arg_parse.o obj/shots.o obj/joystick.o obj/sprite.o obj/opl.o obj/keyboard.o obj/backgrnd.o obj/starlib.o obj/network.o obj/game_menu.o obj/cJSON.o obj/destruct.o obj/sizebuf.o obj/lvlmast.o obj/nortvars.o obj/font.o obj/xmas.o obj/mtrand.o obj/mainint.o obj/video_scale.o obj/fonthand.o obj/mouse.o obj/helptext.o obj/tyrian2.o obj/palette.o obj/sndmast.o obj/nortsong.o obj/loudness.o obj/file.o obj/lvllib.o obj/varz.o obj/menus.o obj/player.o obj/musmast.o obj/video.o obj/pcxmast.o obj/pcxload.o obj/mingw_fixes.o obj/lds_play.o obj/vga_palette.o obj/setup.o obj/config.o obj/animlib.o obj/video_scale_hqNx.o obj/params.o -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_net strip opentyrian ================================================================================ Executing strip on all files... Done Time: 0.31s. Size: 359524 B -> 359524 B. Save: 0 KB. Installing (pkg/local): pngquant-static-2.12.2-i486 Installing (pkg/local): optipng-static-0.7.7-i486 Compressing png images... Done Time: 2.27s. Size: 1932 B -> 1570 B. Save: 0 KB. Cache hit: 1/1. Installing (pkg/local): desktop-file-validate-static-0.23-i486 QA: Checking opentyrian.desktop... |--- /home/slitaz/wok/opentyrian/install/usr/share/applications/opentyrian.desktop.orig |+++ /home/slitaz/wok/opentyrian/install/usr/share/applications/opentyrian.desktop |@@ -2,9 +2,7 @@ | Type=Application | Name=OpenTyrian | Comment=An arcade-style shoot 'em up |-Icon=opentyrian |-Categories=Game;ArcadeGame; | TryExec=opentyrian | Exec=opentyrian |-Terminal=false |- |+Icon=opentyrian |+Categories=Game;ArcadeGame; Done Time: 2.12s. Size: 181 B -> 165 B. Save: 0 KB. ================================================================================ Build dependencies to remove: 46 Removing: alsa-lib dbus desktop-file-validate-static eudev flac fluidsynth fluidsynth-dev glib jack ladspa libdb libice libltdl libogg libpcre libsamplerate libsm libsndfile libvorbis libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev libxext libxtst optipng-static pngquant-static pulseaudio sdl sdl-dev sdl-mixer sdl-mixer-dev sdl-net sdl-net-dev speexdsp tslib tslib-dev util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid xorgproto Pack: opentyrian r886 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "opentyrian-r886-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "opentyrian-r886-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/opentyrian-r886... Done Checking site script in source/opentyrian-r886... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: opentyrian r886 ================================================================================ Src file : opentyrian-r886.tar.bz2 Src size : 252.0K Source dir : 2.9M Produced : 396.0K Cook time : 77s ~ 01m 17s Cook date : 2020-07-07 16:46 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 412.0K : 138.6K : 4 : opentyrian-r886-i486.tazpkg ================================================================================