+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bomberclone-0.11.9nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bomberclone-0.11.9nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for bomberclone-0.11.9nb1 --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in data --- all-recursive --- Making all in pixmaps Making all in player Making all in maps Making all in gfx Making all in music Making all in tileset --- all-recursive --- Making all in cemetery Making all in cucumber Making all in default Making all in hell Making all in radioactive Making all in supermario Making all in uccia_garbage Making all in classic Making all in farm Making all in jungle Making all in modern Making all in sheep Making all in tricked Making all in zbb_frog Making all in include Making all in src --- main.o --- --- bomb.o --- --- main.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c --- bomb.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT bomb.o -MD -MP -MF .deps/bomb.Tpo -c -o bomb.o bomb.c --- main.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from main.c:3: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- bomb.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from bomb.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- main.o --- In file included from main.c:10: ../include/single.h:13:19: warning: inline function 'ai_checkpos' declared but never defined 13 | extern inline int ai_checkpos (_player * pl, _point * pos); | ^~~~~~~~~~~ ../include/single.h:12:19: warning: inline function 'ai_invertdir' declared but never defined 12 | extern inline int ai_invertdir (int dir); | ^~~~~~~~~~~~ In file included from main.c:8: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from main.c:8: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from main.c:7: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from main.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from main.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/main.Tpo .deps/main.Po --- bomb.o --- bomb.c: In function 'bomb_kicked': bomb.c:506:15: warning: variable 'dist' set but not used [-Wunused-but-set-variable] 506 | float dist, dX, dY, pX, pY; | ^~~~ In file included from bomb.c:5: bomb.c: At top level: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from bomb.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from bomb.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- debug.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.c --- bomb.o --- mv -f .deps/bomb.Tpo .deps/bomb.Po --- debug.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from debug.c:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- packets.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT packets.o -MD -MP -MF .deps/packets.Tpo -c -o packets.o packets.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from packets.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- debug.o --- In file included from ../include/packets.h:8, from debug.c:4: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from debug.c:4: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from debug.c:2: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from debug.c:2: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ debug.c: In function 'd_playerstat': debug.c:47:28: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 47 | sprintf(text, "%s\n", text); | ^ debug.c:47:9: note: 'sprintf' output between 2 and 256 bytes into a destination of size 255 47 | sprintf(text, "%s\n", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.c:47:9: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 39 | char text[255]; | ^~~~ debug.c:56:44: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 56 | sprintf(text, "%s\n", text); | ^ debug.c:56:25: note: 'sprintf' output between 2 and 256 bytes into a destination of size 255 56 | sprintf(text, "%s\n", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.c:56:25: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 39 | char text[255]; | ^~~~ debug.c:55:59: warning: '%2d' directive writing between 2 and 11 bytes into a region of size between 0 and 254 [-Wformat-overflow=] 55 | sprintf(text, "%s %2d", text, players[i].gamestats.killedBy[j]); | ^~~ debug.c:55:41: note: 'sprintf' output between 4 and 267 bytes into a destination of size 255 55 | sprintf(text, "%s %2d", text, players[i].gamestats.killedBy[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.c:55:41: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 39 | char text[255]; | ^~~~ debug.c:46:43: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 254 [-Wformat-overflow=] 46 | sprintf(text, "%s %02d", text, i); | ^~~~ debug.c:46:25: note: 'sprintf' output between 4 and 267 bytes into a destination of size 255 46 | sprintf(text, "%s %02d", text, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.c:46:25: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 39 | char text[255]; | ^~~~ --- packets.o --- packets.c: In function 'do_bombdata': packets.c:1011:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1011 | if (b_dat->state == BS_off) | ^~ packets.c:1014:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1014 | d_printf ("do_bombdata [%f,%f] Player: %d PlayerIgnition: %d Bomb: %d, ex_nr:%d\n", | ^~~~~~~~ packets.c: In function 'do_quit': packets.c:1170:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1170 | if (addr->pl_nr == -1) | ^~ packets.c:1173:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1173 | if (q_dat->pl_nr == -1) | ^~ In file included from packets.c:10: packets.c: At top level: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/packets.h:8, from packets.c:7: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from packets.c:7: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from packets.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from packets.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ packets.c: In function 'send_mapinfo': packets.c:1597:39: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1597 | sprintf (map_pkg.start_speed, "%4f", bman.start_speed); | ^ packets.c:1597:5: note: 'sprintf' output between 5 and 318 bytes into a destination of size 8 1597 | sprintf (map_pkg.start_speed, "%4f", bman.start_speed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packets.c:1598:44: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1598 | sprintf (map_pkg.bomb_tickingtime, "%4f", bman.bomb_tickingtime); | ^ packets.c:1598:5: note: 'sprintf' output between 5 and 318 bytes into a destination of size 8 1598 | sprintf (map_pkg.bomb_tickingtime, "%4f", bman.bomb_tickingtime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- debug.o --- mv -f .deps/debug.Tpo .deps/debug.Po --- font.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT font.o -MD -MP -MF .deps/font.Tpo -c -o font.o font.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from font.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- packets.o --- mv -f .deps/packets.Tpo .deps/packets.Po --- font.o --- In file included from ../include/bomberclone.h:49, from font.c:7: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from font.c:7: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ font.c: In function 'font_load': font.c:76:39: warning: '/gfx/font' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 76 | sprintf (filename, "%s/gfx/font%d.png", bman.datapath, i); | ^~~~~~~~~ font.c:76:17: note: 'sprintf' output between 15 and 536 bytes into a destination of size 512 76 | sprintf (filename, "%s/gfx/font%d.png", bman.datapath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- gfx.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT gfx.o -MD -MP -MF .deps/gfx.Tpo -c -o gfx.o gfx.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from gfx.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- font.o --- mv -f .deps/font.Tpo .deps/font.Po --- gfxengine.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT gfxengine.o -MD -MP -MF .deps/gfxengine.Tpo -c -o gfxengine.o gfxengine.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from gfxengine.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- gfx.o --- gfx.c: In function 'gfx_load_players': gfx.c:41:7: warning: variable 'ssfkt' set but not used [-Wunused-but-set-variable] 41 | ssfkt; | ^~~~~ In file included from gfx.c:5: gfx.c: At top level: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from gfx.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from gfx.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ gfx.c: In function 'gfx_get_nr_of_playergfx': gfx.c:26:37: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 26 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); | ^~ ~~~~~~~~~~~~~ gfx.c:26:17: note: 'sprintf' output between 20 and 541 bytes into a destination of size 255 26 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c: In function 'gfx_load_players': gfx.c:83:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 83 | sprintf (filename, "%s/player/dead0.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:83:5: note: 'sprintf' output between 18 and 529 bytes into a destination of size 255 83 | sprintf (filename, "%s/player/dead0.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:100:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 100 | sprintf (filename, "%s/player/playersick.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:100:5: note: 'sprintf' output between 23 and 534 bytes into a destination of size 255 100 | sprintf (filename, "%s/player/playersick.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:115:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 115 | sprintf (filename, "%s/player/respawn.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:115:5: note: 'sprintf' output between 20 and 531 bytes into a destination of size 255 115 | sprintf (filename, "%s/player/respawn.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:56:29: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 56 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); | ^~ ~~~~~~~~~~~~~ gfx.c:56:9: note: 'sprintf' output between 20 and 541 bytes into a destination of size 255 56 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c: In function 'gfx_loaddata': gfx.c:193:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 193 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:193:5: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 193 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:260:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 260 | sprintf (filename, "%s/gfx/menuselect.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:260:5: note: 'sprintf' output between 20 and 531 bytes into a destination of size 255 260 | sprintf (filename, "%s/gfx/menuselect.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:248:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 248 | sprintf (filename, "%s/gfx/menulist%d_%d.png", bman.datapath, j, i); | ^~ ~~~~~~~~~~~~~ gfx.c:248:25: note: 'sprintf' output between 21 and 552 bytes into a destination of size 255 248 | sprintf (filename, "%s/gfx/menulist%d_%d.png", bman.datapath, j, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:234:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 234 | sprintf (filename, "%s/gfx/menuentry%d_%d.png", bman.datapath, j, i); | ^~ ~~~~~~~~~~~~~ gfx.c:234:25: note: 'sprintf' output between 22 and 553 bytes into a destination of size 255 234 | sprintf (filename, "%s/gfx/menuentry%d_%d.png", bman.datapath, j, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:220:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 220 | sprintf (filename, "%s/gfx/menubutton%d_%d.png", bman.datapath, j, i); | ^~ ~~~~~~~~~~~~~ gfx.c:220:25: note: 'sprintf' output between 23 and 554 bytes into a destination of size 255 220 | sprintf (filename, "%s/gfx/menubutton%d_%d.png", bman.datapath, j, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:209:37: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 209 | sprintf (filename, "%s/gfx/menu%d.png", bman.datapath, i); | ^~ ~~~~~~~~~~~~~ gfx.c:209:17: note: 'sprintf' output between 15 and 536 bytes into a destination of size 255 209 | sprintf (filename, "%s/gfx/menu%d.png", bman.datapath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c: In function 'gfx_load_menusmall_players': gfx.c:324:29: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 324 | sprintf (filename, "%s/player/ghost.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:324:9: note: 'sprintf' output between 18 and 529 bytes into a destination of size 255 324 | sprintf (filename, "%s/player/ghost.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:287:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 287 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); | ^~ ~~~~~~~~~~~~~ gfx.c:287:25: note: 'sprintf' output between 20 and 541 bytes into a destination of size 255 287 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c: In function 'gfx_load_fieldtype_menu': gfx.c:365:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 365 | sprintf (filename, "%s/tileset/default/background.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:365:25: note: 'sprintf' output between 32 and 543 bytes into a destination of size 255 365 | sprintf (filename, "%s/tileset/default/background.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:382:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 382 | sprintf (filename, "%s/tileset/default/powerbad.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:382:25: note: 'sprintf' output between 30 and 541 bytes into a destination of size 255 382 | sprintf (filename, "%s/tileset/default/powerbad.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:399:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 399 | sprintf (filename, "%s/tileset/default/powerup.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:399:25: note: 'sprintf' output between 29 and 540 bytes into a destination of size 255 399 | sprintf (filename, "%s/tileset/default/powerup.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:416:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 416 | sprintf (filename, "%s/tileset/default/powersp.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:416:25: note: 'sprintf' output between 29 and 540 bytes into a destination of size 255 416 | sprintf (filename, "%s/tileset/default/powersp.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:435:37: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 435 | sprintf (filename, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[ft]); | ^~ ~~~~~~~~~~~~~ gfx.c:435:17: note: 'sprintf' output 22 or more bytes (assuming 533) into a destination of size 255 435 | sprintf (filename, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[ft]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- gfxengine.o --- In file included from ../include/bomberclone.h:49, from gfxengine.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ --- gfx.o --- mv -f .deps/gfx.Tpo .deps/gfx.Po --- gfxengine.o --- mv -f .deps/gfxengine.Tpo .deps/gfxengine.Po --- gfxpixelimage.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT gfxpixelimage.o -MD -MP -MF .deps/gfxpixelimage.Tpo -c -o gfxpixelimage.o gfxpixelimage.c --- player.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from player.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- gfxpixelimage.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from gfxpixelimage.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- player.o --- player.c: In function 'draw_player': player.c:45:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 45 | for (i = PI_max - 1; (i >= 0) && (player->ill[i].to <= 0.0f); i--); | ^~~ player.c:46:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 46 | if (i >= 0) { | ^~ player.c: In function 'restore_players_screen': player.c:123:7: warning: variable 'xs' set but not used [-Wunused-but-set-variable] 123 | xs, | ^~ player.c: In function 'check_exfield': player.c:276:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 276 | if (map.field[x][y].type == FT_stone || map.field[x][y].type == FT_block) | ^~ player.c:279:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 279 | for (i = 0; (i < 4 && res == 1); i++) | ^~~ player.c: In function 'player_move': player.c:448:15: warning: variable 'coll_speed' set but not used [-Wunused-but-set-variable] 448 | int oldd, coll_speed; | ^~~~~~~~~~ player.c: In function 'player_calcpos': player.c:681:7: warning: variable 'oldd' set but not used [-Wunused-but-set-variable] 681 | oldd, | ^~~~ player.c:680:9: warning: variable 'oldm' set but not used [-Wunused-but-set-variable] 680 | int oldm, | ^~~~ player.c: In function 'player_clear_ilness': player.c:845:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 845 | if (type < 0 || type >= PI_max) | ^~ player.c:848:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 848 | d_printf ("player_clear_ilness Player: %s Type: %d\n", p->name, type); | ^~~~~~~~ player.c: In function 'player_delete': player.c:1036:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1036 | if (GT_MP_PTPM && bman.notifygamemaster) | ^~ player.c:1039:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1039 | if (bman.p_nr == pl_nr) | ^~ In file included from player.c:12: player.c: At top level: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/packets.h:8, from player.c:7: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from player.c:7: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from player.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from player.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- gfxpixelimage.o --- gfxpixelimage.c: In function 'makegray_image': gfxpixelimage.c:329:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 329 | if (SDL_MUSTLOCK (org)) | ^~ gfxpixelimage.c:338:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 338 | switch (bpp) { | ^~~~~~ gfxpixelimage.c:291:7: warning: variable 'amask' set but not used [-Wunused-but-set-variable] 291 | amask; | ^~~~~ gfxpixelimage.c:290:7: warning: variable 'bmask' set but not used [-Wunused-but-set-variable] 290 | bmask, | ^~~~~ gfxpixelimage.c:289:7: warning: variable 'gmask' set but not used [-Wunused-but-set-variable] 289 | gmask, | ^~~~~ gfxpixelimage.c:288:12: warning: variable 'rmask' set but not used [-Wunused-but-set-variable] 288 | Uint32 rmask, | ^~~~~ In file included from ../include/bomberclone.h:49, from gfxpixelimage.c:4: gfxpixelimage.c: At top level: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from gfxpixelimage.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/gfxpixelimage.Tpo .deps/gfxpixelimage.Po --- game.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from game.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- player.o --- mv -f .deps/player.Tpo .deps/player.Po --- netmenu.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT netmenu.o -MD -MP -MF .deps/netmenu.Tpo -c -o netmenu.o netmenu.c --- game.o --- game.c: In function 'game_loop': game.c:227:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 227 | if (GT_MP) | ^~ game.c:229:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 229 | if ( SDL_InitSubSystem ( SDL_INIT_JOYSTICK ) < 0 ) | ^~ In file included from game.c:15: game.c: At top level: ../include/single.h:13:19: warning: inline function 'ai_checkpos' declared but never defined 13 | extern inline int ai_checkpos (_player * pl, _point * pos); | ^~~~~~~~~~~ ../include/single.h:12:19: warning: inline function 'ai_invertdir' declared but never defined 12 | extern inline int ai_invertdir (int dir); | ^~~~~~~~~~~~ In file included from game.c:13: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/packets.h:8, from game.c:10: --- netmenu.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from netmenu.c:3: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- game.o --- ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from game.c:10: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from game.c:7: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from game.c:7: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/game.Tpo .deps/game.Po --- network.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o network.c --- netmenu.o --- netmenu.c: In function 'host_multiplayer_game': netmenu.c:167:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 167 | if (bman.notifygamemaster) | ^~ netmenu.c:170:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 170 | multiplayer_game (); | ^~~~~~~~~~~~~~~~ In file included from netmenu.c:7: netmenu.c: At top level: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/packets.h:8, from netmenu.c:5: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from netmenu.c:5: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from netmenu.c:3: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from netmenu.c:3: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- network.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from network.c:6: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- netmenu.o --- mv -f .deps/netmenu.Tpo .deps/netmenu.Po --- netsrvlist.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT netsrvlist.o -MD -MP -MF .deps/netsrvlist.Tpo -c -o netsrvlist.o netsrvlist.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from netsrvlist.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ netsrvlist.c: In function 'net_getserver': netsrvlist.c:127:20: warning: variable 'srvlst_entry' set but not used [-Wunused-but-set-variable] 127 | _menuitem *srvlst_entry; | ^~~~~~~~~~~~ In file included from netsrvlist.c:9: netsrvlist.c: At top level: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from netsrvlist.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from netsrvlist.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ netsrvlist.c: In function 'srvlist_rebuildlist': netsrvlist.c:110:47: warning: '%5s' directive writing between 5 and 254 bytes into a region of size between 0 and 234 [-Wformat-overflow=] 110 | sprintf (txt1, "%-20s %5s %-11s %-4s", txt1,txt2, srvlst_dat[i].version, srvlst_dat[i].comment); | ^~~ ~~~~ netsrvlist.c:110:25: note: 'sprintf' output between 45 and 563 bytes into a destination of size 255 110 | sprintf (txt1, "%-20s %5s %-11s %-4s", txt1,txt2, srvlst_dat[i].version, srvlst_dat[i].comment); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netsrvlist.c:110:25: warning: 'sprintf' argument 3 overlaps destination object 'txt1' [-Wrestrict] netsrvlist.c:33:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 33 | char txt1[255]; | ^~~~ netsrvlist.c:107:47: warning: '%-5s' directive writing between 5 and 254 bytes into a region of size between 223 and 239 [-Wformat-overflow=] 107 | sprintf (txt1, "%-15s %-5s %5s %-11s %-4s", srvlst_dat[i].gamename, txt3, txt2, srvlst_dat[i].version, srvlst_dat[i].comment); | ^~~~ ~~~~ netsrvlist.c:107:25: note: 'sprintf' output between 46 and 595 bytes into a destination of size 255 107 | sprintf (txt1, "%-15s %-5s %5s %-11s %-4s", srvlst_dat[i].gamename, txt3, txt2, srvlst_dat[i].version, srvlst_dat[i].comment); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- network.o --- network.c: In function 'net_transmit_gamedata': network.c:463:9: warning: variable 'keypressed' set but not used [-Wunused-but-set-variable] 463 | keypressed = 0, | ^~~~~~~~~~ In file included from network.c:11: network.c: At top level: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/packets.h:8, from network.c:9: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from network.c:9: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from network.c:6: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from network.c:6: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- netsrvlist.o --- mv -f .deps/netsrvlist.Tpo .deps/netsrvlist.Po --- udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT udp.o -MD -MP -MF .deps/udp.Tpo -c -o udp.o udp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/udp.h:8, from udp.c:6: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ mv -f .deps/udp.Tpo .deps/udp.Po --- menu.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from menu.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- network.o --- mv -f .deps/network.Tpo .deps/network.Po --- menubools.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT menubools.o -MD -MP -MF .deps/menubools.Tpo -c -o menubools.o menubools.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from menubools.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- menu.o --- menu.c: In function 'menu_draw_menuitem': menu.c:222:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 222 | if (m == NULL) | ^~ menu.c:225:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 225 | menu = (_menu *) m->menu; | ^~~~ menu.c: In function 'menu_dir_select': menu.c:594:20: warning: variable 'dirmi' set but not used [-Wunused-but-set-variable] 594 | _menuitem *dirmi; | ^~~~~ In file included from ../include/bomberclone.h:49, from menu.c:5: menu.c: At top level: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from menu.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- menubools.o --- In file included from menubools.c:6: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from menubools.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from menubools.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- menu.o --- mv -f .deps/menu.Tpo .deps/menu.Po --- menubuttons.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT menubuttons.o -MD -MP -MF .deps/menubuttons.Tpo -c -o menubuttons.o menubuttons.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from menubuttons.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- menubools.o --- mv -f .deps/menubools.Tpo .deps/menubools.Po --- menuentrys.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT menuentrys.o -MD -MP -MF .deps/menuentrys.Tpo -c -o menuentrys.o menuentrys.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from menuentrys.c:5: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- menubuttons.o --- In file included from menubuttons.c:6: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from menubuttons.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from menubuttons.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- menuentrys.o --- In file included from menuentrys.c:7: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from menuentrys.c:6: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from menuentrys.c:6: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- menubuttons.o --- mv -f .deps/menubuttons.Tpo .deps/menubuttons.Po --- menulabels.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT menulabels.o -MD -MP -MF .deps/menulabels.Tpo -c -o menulabels.o menulabels.c --- menuentrys.o --- mv -f .deps/menuentrys.Tpo .deps/menuentrys.Po --- menulabels.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from menulabels.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- menulists.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT menulists.o -MD -MP -MF .deps/menulists.Tpo -c -o menulists.o menulists.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from menulists.c:5: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- menulabels.o --- In file included from menulabels.c:6: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from menulabels.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from menulabels.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/menulabels.Tpo .deps/menulabels.Po --- menulists.o --- In file included from menulists.c:7: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from menulists.c:6: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from menulists.c:6: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- menuimages.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT menuimages.o -MD -MP -MF .deps/menuimages.Tpo -c -o menuimages.o menuimages.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from menuimages.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- menulists.o --- mv -f .deps/menulists.Tpo .deps/menulists.Po --- map.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT map.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from map.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ map.c: In function 'map_genmorerandom': map.c:217:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 217 | for (x = 0; x < map.size.x; x++) | ^~~ map.c:243:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 243 | d_printf("genmorerandom: *** exit ***\n"); | ^~~~~~~~ In file included from map.c:5: map.c: At top level: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from map.c:5: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from map.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from map.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ map.c: In function 'map_random': map.c:281:23: warning: '/maps' directive writing 5 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 281 | sprintf (path, "%s/maps", bman.datapath); | ^~~~~ map.c:281:5: note: 'sprintf' output between 6 and 517 bytes into a destination of size 512 281 | sprintf (path, "%s/maps", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:298:30: warning: '/maps/' directive writing 6 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 298 | sprintf (map.map, "%s/maps/%s", bman.datapath, desel->name); | ^~~~~~ map.c:298:9: note: 'sprintf' output between 7 and 581 bytes into a destination of size 512 298 | sprintf (map.map, "%s/maps/%s", bman.datapath, desel->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- menuimages.o --- In file included from menuimages.c:6: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from menuimages.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from menuimages.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/menuimages.Tpo .deps/menuimages.Po --- mapmenu.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT mapmenu.o -MD -MP -MF .deps/mapmenu.Tpo -c -o mapmenu.o mapmenu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from mapmenu.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- map.o --- mv -f .deps/map.Tpo .deps/map.Po --- tileset.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT tileset.o -MD -MP -MF .deps/tileset.Tpo -c -o tileset.o tileset.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from tileset.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- mapmenu.o --- mapmenu.c: In function 'mapmenu': mapmenu.c:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 159 | if (map.size.y > MAX_FIELDSIZE_Y) | ^~ mapmenu.c:162:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 162 | config_write (); | ^~~~~~~~~~~~ mapmenu.c: In function 'mapinfo': mapmenu.c:177:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] 177 | int x, | ^ In file included from mapmenu.c:5: mapmenu.c: At top level: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from mapmenu.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from mapmenu.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mapmenu.c: In function 'mapmenu': mapmenu.c:126:35: warning: '/tileset' directive writing 8 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 126 | sprintf (pathname, "%s/tileset", bman.datapath); | ^~~~~~~~ mapmenu.c:126:13: note: 'sprintf' output between 9 and 520 bytes into a destination of size 512 126 | sprintf (pathname, "%s/tileset", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mapmenu.c:115:35: warning: '/maps' directive writing 5 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 115 | sprintf (pathname, "%s/maps", bman.datapath); | ^~~~~ mapmenu.c:115:13: note: 'sprintf' output between 6 and 517 bytes into a destination of size 512 115 | sprintf (pathname, "%s/maps", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mapmenu.c:122:38: warning: '/maps/' directive writing 6 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 122 | sprintf (map.map, "%s/maps/%s", bman.datapath, mapname); | ^~~~~~ mapmenu.c:122:17: note: 'sprintf' output 7 or more bytes (assuming 518) into a destination of size 512 122 | sprintf (map.map, "%s/maps/%s", bman.datapath, mapname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mapmenu.c: In function 'mapinfo': mapmenu.c:215:39: warning: '%s' directive writing up to 511 bytes into a region of size 241 [-Wformat-overflow=] 215 | sprintf (text, "Selected Map: %s", map.map); | ^~ ~~~~~~~ mapmenu.c:215:9: note: 'sprintf' output between 15 and 526 bytes into a destination of size 255 215 | sprintf (text, "Selected Map: %s", map.map); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- tileset.o --- tileset.c: In function 'tileset_load': tileset.c:75:11: warning: variable 'sfkt' set but not used [-Wunused-but-set-variable] 75 | float sfkt; | ^~~~ In file included from ../include/bomberclone.h:49, from tileset.c:4: tileset.c: At top level: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from tileset.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ tileset.c: In function 'tileset_random': tileset.c:38:23: warning: '/tileset' directive writing 8 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 38 | sprintf (path, "%s/tileset", bman.datapath); | ^~~~~~~~ tileset.c:38:5: note: 'sprintf' output between 9 and 520 bytes into a destination of size 512 38 | sprintf (path, "%s/tileset", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c: In function 'tileset_load': tileset.c:111:27: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 111 | sprintf (fullname, "%s/tileset/%s/fire.png", bman.datapath, tileset); | ^~~~~~~~~ tileset.c:111:5: note: 'sprintf' output between 19 and 561 bytes into a destination of size 512 111 | sprintf (fullname, "%s/tileset/%s/fire.png", bman.datapath, tileset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:115:31: warning: '/tileset/default/fire.png' directive writing 25 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 115 | sprintf (fullname, "%s/tileset/default/fire.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:115:9: note: 'sprintf' output between 26 and 537 bytes into a destination of size 512 115 | sprintf (fullname, "%s/tileset/default/fire.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:133:27: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 133 | sprintf (fullname, "%s/tileset/%s/bomb.png", bman.datapath, tileset); | ^~~~~~~~~ tileset.c:133:5: note: 'sprintf' output between 19 and 561 bytes into a destination of size 512 133 | sprintf (fullname, "%s/tileset/%s/bomb.png", bman.datapath, tileset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:137:31: warning: '/tileset/default/bomb.png' directive writing 25 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 137 | sprintf (fullname, "%s/tileset/default/bomb.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:137:9: note: 'sprintf' output between 26 and 537 bytes into a destination of size 512 137 | sprintf (fullname, "%s/tileset/default/bomb.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:191:35: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 191 | sprintf (fullname, "%s/tileset/%s/%s.png", bman.datapath, tileset, ft_filenames[i]); | ^~~~~~~~~ tileset.c:191:13: note: 'sprintf' output 15 or more bytes (assuming 557) into a destination of size 512 191 | sprintf (fullname, "%s/tileset/%s/%s.png", bman.datapath, tileset, ft_filenames[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:196:39: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 196 | sprintf (fullname, "%s/tileset/%s/%s96.png", bman.datapath, tileset, ft_filenames[i]); | ^~~~~~~~~ tileset.c:196:17: note: 'sprintf' output 17 or more bytes (assuming 559) into a destination of size 512 196 | sprintf (fullname, "%s/tileset/%s/%s96.png", bman.datapath, tileset, ft_filenames[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:200:43: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 200 | sprintf (fullname, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[i]); | ^~~~~~~~~~~~~~~~~ tileset.c:200:21: note: 'sprintf' output 22 or more bytes (assuming 533) into a destination of size 512 200 | sprintf (fullname, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:168:31: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 168 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tileset, filename); | ^~~~~~~~~ tileset.c:168:9: note: 'sprintf' output between 11 and 616 bytes into a destination of size 512 168 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tileset, filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c:172:35: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 172 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); | ^~~~~~~~~~~~~~~~~ tileset.c:172:13: note: 'sprintf' output between 18 and 592 bytes into a destination of size 512 172 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- mapmenu.o --- mv -f .deps/mapmenu.Tpo .deps/mapmenu.Po --- field.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT field.o -MD -MP -MF .deps/field.Tpo -c -o field.o field.c --- tileset.o --- mv -f .deps/tileset.Tpo .deps/tileset.Po --- field.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from field.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- sysfunc.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT sysfunc.o -MD -MP -MF .deps/sysfunc.Tpo -c -o sysfunc.o sysfunc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from sysfunc.c:6: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- field.o --- field.c: In function 'draw_stone': field.c:183:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 183 | for (d = 0; d < 4; d++) | ^~~ field.c:189:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 189 | if (debug) { | ^~ field.c: In function 'field_hurrysize': field.c:507:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 507 | for (i = 0, d = 0; d < 4; d++) | ^~~ field.c:511:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 511 | get_bomb_on (fieldhurrypos.x, fieldhurrypos.y, bombs); | ^~~~~~~~~~~ In file included from field.c:7: field.c: At top level: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from field.c:6: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from field.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from field.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- sysfunc.o --- In file included from ../include/bomberclone.h:45, from sysfunc.c:6: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- field.o --- mv -f .deps/field.Tpo .deps/field.Po --- sysfunc.o --- mv -f .deps/sysfunc.Tpo .deps/sysfunc.Po --- configuration.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT configuration.o -MD -MP -MF .deps/configuration.Tpo -c -o configuration.o configuration.c --- pkgcache.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT pkgcache.o -MD -MP -MF .deps/pkgcache.Tpo -c -o pkgcache.o pkgcache.c --- configuration.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from configuration.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- pkgcache.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from pkgcache.c:9: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- configuration.o --- In file included from configuration.c:13: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/packets.h:8, from configuration.c:9: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from configuration.c:9: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from configuration.c:7: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from configuration.c:7: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ configuration.c: In function 'config_get_datapath': configuration.c:31:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 31 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ configuration.c:31:5: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 31 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configuration.c:36:29: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 36 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ configuration.c:36:9: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 36 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configuration.c:40:33: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 40 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ configuration.c:40:13: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 40 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configuration.c: In function 'config_init': configuration.c:157:21: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 157 | sprintf (icon, "%s/pixmaps/bomberclone.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ configuration.c:157:5: note: 'sprintf' output between 25 and 536 bytes into a destination of size 255 157 | sprintf (icon, "%s/pixmaps/bomberclone.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pkgcache.o --- pkgcache.c: In function 'rscache_loop': pkgcache.c:93:49: warning: taking address of packed member of 'struct _rscache_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 93 | &rscache.entry[i].addr.sAddr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/packets.h:8, from pkgcache.c:11: pkgcache.c: At top level: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from pkgcache.c:11: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from pkgcache.c:9: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from pkgcache.c:9: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/pkgcache.Tpo .deps/pkgcache.Po --- chat.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from chat.c:5: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- configuration.o --- mv -f .deps/configuration.Tpo .deps/configuration.Po --- multiwait.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT multiwait.o -MD -MP -MF .deps/multiwait.Tpo -c -o multiwait.o multiwait.c --- chat.o --- chat.c: In function 'chat_drawbox': chat.c:78:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 78 | if (gfx_locksurface (gfx.screen)) | ^~ chat.c:81:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 81 | src = chat.window; | ^~~ In file included from ../include/packets.h:8, from chat.c:7: chat.c: At top level: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from chat.c:7: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from chat.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from chat.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ chat.c: In function 'chat_loop': chat.c:238:33: warning: '%s' directive writing up to 254 bytes into a region of size between 238 and 253 [-Wformat-overflow=] 238 | sprintf (text, "%s: %s", bman.playername, chat.input.text); | ^~ ~~~~~~~~~~~~~~~ chat.c:238:13: note: 'sprintf' output between 3 and 272 bytes into a destination of size 255 238 | sprintf (text, "%s: %s", bman.playername, chat.input.text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- multiwait.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from multiwait.c:6: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- chat.o --- mv -f .deps/chat.Tpo .deps/chat.Po --- keybinput.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT keybinput.o -MD -MP -MF .deps/keybinput.Tpo -c -o keybinput.o keybinput.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from keybinput.c:3: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- multiwait.o --- In file included from multiwait.c:12: ../include/single.h:13:19: warning: inline function 'ai_checkpos' declared but never defined 13 | extern inline int ai_checkpos (_player * pl, _point * pos); | ^~~~~~~~~~~ ../include/single.h:12:19: warning: inline function 'ai_invertdir' declared but never defined 12 | extern inline int ai_invertdir (int dir); | ^~~~~~~~~~~~ In file included from multiwait.c:11: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/packets.h:8, from multiwait.c:8: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from multiwait.c:8: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from multiwait.c:6: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from multiwait.c:6: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- keybinput.o --- mv -f .deps/keybinput.Tpo .deps/keybinput.Po --- single.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT single.o -MD -MP -MF .deps/single.Tpo -c -o single.o single.c --- multiwait.o --- mv -f .deps/multiwait.Tpo .deps/multiwait.Po --- special.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT special.o -MD -MP -MF .deps/special.Tpo -c -o special.o special.c --- single.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from single.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- special.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from special.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- single.o --- single.c: In function 'single_playergame': single.c:573:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 573 | for (bman.p_nr = -1, p = 0; (bman.p_nr == -1 && p < MAX_PLAYERS); p++) | ^~~ single.c:576:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 576 | players[bman.p_nr].team_nr = 0; | ^~~~~~~ single.c: In function 'single_menu': single.c:714:20: warning: variable 'aiplayer' set but not used [-Wunused-but-set-variable] 714 | _menuitem *aiplayer = NULL; | ^~~~~~~~ In file included from single.c:7: single.c: At top level: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from single.c:7: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from single.c:6: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from single.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from single.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- special.o --- In file included from special.c:6: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from special.c:6: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from special.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from special.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/special.Tpo .deps/special.Po --- sound.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT sound.o -MD -MP -MF .deps/sound.Tpo -c -o sound.o sound.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from ../include/sound.h:7, from sound.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../include/bomberclone.h:49, from ../include/sound.h:7, from sound.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from ../include/sound.h:7, from sound.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ sound.c: In function 'snd_load': sound.c:151:31: warning: '/music' directive writing 6 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 151 | sprintf (fullname, "%s/music", bman.datapath); | ^~~~~~ sound.c:151:9: note: 'sprintf' output between 7 and 518 bytes into a destination of size 512 151 | sprintf (fullname, "%s/music", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c:167:39: warning: '/music/' directive writing 7 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 167 | sprintf (fullname, "%s/music/%s", bman.datapath, desel->name); | ^~~~~~~ sound.c:167:17: note: 'sprintf' output between 8 and 582 bytes into a destination of size 512 167 | sprintf (fullname, "%s/music/%s", bman.datapath, desel->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c:141:31: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 141 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tilesetname, filename); | ^~~~~~~~~ sound.c:141:9: note: 'sprintf' output 11 or more bytes (assuming 585) into a destination of size 512 141 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tilesetname, filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c:143:35: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 143 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); | ^~~~~~~~~~~~~~~~~ sound.c:143:13: note: 'sprintf' output between 18 and 592 bytes into a destination of size 512 143 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- single.o --- mv -f .deps/single.Tpo .deps/single.Po --- ogcache-client.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT ogcache-client.o -MD -MP -MF .deps/ogcache-client.Tpo -c -o ogcache-client.o ogcache-client.c --- sound.o --- mv -f .deps/sound.Tpo .deps/sound.Po --- flyingitems.o --- --- ogcache-client.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_stdinc.h:34, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL_main.h:26, from /home/pbulk/build/games/bomberclone/work/.buildlink/include/SDL/SDL.h:30, from ../include/basic.h:92, from ogcache-client.c:5: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- flyingitems.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT flyingitems.o -MD -MP -MF .deps/flyingitems.Tpo -c -o flyingitems.o flyingitems.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from flyingitems.c:3: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from flyingitems.c:5: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from flyingitems.c:5: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from flyingitems.c:3: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from flyingitems.c:3: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- ogcache-client.o --- In file included from ../include/bomberclone.h:49, from ogcache-client.c:6: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from ogcache-client.c:6: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ ogcache-client.c: In function 'ogc_sendgamestatus': ogcache-client.c:205:35: warning: ' IPv6' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 205 | sprintf (data, "%s\tIPv6", data); | ^~~~~~ ogcache-client.c:205:17: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 205 | sprintf (data, "%s\tIPv6", data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogcache-client.c:205:17: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 198 | char data[BUF_SIZE]; | ^~~~ ogcache-client.c:203:35: warning: ' IPv4' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 203 | sprintf (data, "%s\tIPv4", data); | ^~~~~~ ogcache-client.c:203:17: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 203 | sprintf (data, "%s\tIPv4", data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogcache-client.c:203:17: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 198 | char data[BUF_SIZE]; | ^~~~ ogcache-client.c:206:29: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 206 | sprintf (data, "%s\t%d\t%d\t%s", data, curplayers, maxplayers, status); | ^~ ogcache-client.c:206:9: note: 'sprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024 206 | sprintf (data, "%s\t%d\t%d\t%s", data, curplayers, maxplayers, status); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogcache-client.c:206:9: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 198 | char data[BUF_SIZE]; | ^~~~ --- flyingitems.o --- mv -f .deps/flyingitems.Tpo .deps/flyingitems.Po --- help.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c --- ogcache-client.o --- mv -f .deps/ogcache-client.Tpo .deps/ogcache-client.Po --- help.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from help.c:5: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- playerinput.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT playerinput.o -MD -MP -MF .deps/playerinput.Tpo -c -o playerinput.o playerinput.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from playerinput.c:16: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../include/keyb.h:7, from playerinput.c:18: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from playerinput.c:17: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from playerinput.c:16: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from playerinput.c:16: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/playerinput.Tpo .deps/playerinput.Po --- keyb.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT keyb.o -MD -MP -MF .deps/keyb.Tpo -c -o keyb.o keyb.c --- help.o --- In file included from help.c:7: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from help.c:7: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from help.c:6: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from help.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from help.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ --- keyb.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from keyb.c:5: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- help.o --- mv -f .deps/help.Tpo .deps/help.Po --- playermenu.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT playermenu.o -MD -MP -MF .deps/playermenu.Tpo -c -o playermenu.o playermenu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from playermenu.c:4: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from playermenu.c:10: ../include/single.h:13:19: warning: inline function 'ai_checkpos' declared but never defined 13 | extern inline int ai_checkpos (_player * pl, _point * pos); | ^~~~~~~~~~~ ../include/single.h:12:19: warning: inline function 'ai_invertdir' declared but never defined 12 | extern inline int ai_invertdir (int dir); | ^~~~~~~~~~~~ In file included from playermenu.c:7: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from playermenu.c:7: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from playermenu.c:5: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from playermenu.c:4: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from playermenu.c:4: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ playermenu.c: In function 'playermenu_getflags': playermenu.c:374:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] 374 | sprintf (text, "%sNET_FW ", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ playermenu.c:376:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] 376 | sprintf (text, "%sNET_2P ", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ playermenu.c:378:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] 378 | sprintf (text, "%sPSF_NET ", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ playermenu.c:380:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] 380 | sprintf (text, "%sPSF_AI ", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/playermenu.Tpo .deps/playermenu.Po --- broadcast.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -MT broadcast.o -MD -MP -MF .deps/broadcast.Tpo -c -o broadcast.o broadcast.c --- keyb.o --- keyb.c: In function 'keyb_config_joypad': keyb.c:184:13: warning: variable 'keypressed' set but not used [-Wunused-but-set-variable] 184 | int keypressed = 0, done = 0, eventstate = 0, reorder = 0, i, j; | ^~~~~~~~~~ keyb.c: In function 'keyb_config_readkey': keyb.c:249:9: warning: variable 'keypressed' set but not used [-Wunused-but-set-variable] 249 | int keypressed = 0, | ^~~~~~~~~~ In file included from keyb.c:8: keyb.c: At top level: ../include/menu.h:92:20: warning: inline function 'menu_reload_menuitem' declared but never defined 92 | extern inline void menu_reload_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~~~ ../include/menu.h:89:20: warning: inline function 'menu_draw_menuitem' declared but never defined 89 | extern inline void menu_draw_menuitem (_menuitem *m); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from keyb.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from keyb.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ keyb.c: In function 'keyb_config_joypad': keyb.c:229:38: warning: 'event.type' may be used uninitialized [-Wmaybe-uninitialized] 229 | switch (event.type) { | ~~~~~^~~~~ keyb.c:182:19: note: 'event' declared here 182 | SDL_Event event; | ^~~~~ --- broadcast.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../include/bomberclone.h:8, from broadcast.c:5: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- keyb.o --- mv -f .deps/keyb.Tpo .deps/keyb.Po --- broadcast.o --- In file included from ../include/packets.h:8, from broadcast.c:7: ../include/player.h:171:20: warning: inline function 'playerinput_keyb_read' declared but never defined 171 | extern inline void playerinput_keyb_read (int pk_offset, int pl_nr); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/player.h:8, from ../include/packets.h:8, from broadcast.c:7: ../include/bomb.h:52:20: warning: inline function 'bomb_action' declared but never defined 52 | extern inline void bomb_action (_bomb * bomb); | ^~~~~~~~~~~ In file included from ../include/bomberclone.h:49, from broadcast.c:5: ../include/sysfunc.h:71:20: warning: inline function 's_calctimesync' declared but never defined 71 | extern inline void s_calctimesync (); | ^~~~~~~~~~~~~~ ../include/sysfunc.h:38:22: warning: inline function 's_swap32' declared but never defined 38 | extern inline Sint32 s_swap32 (Sint32 i); | ^~~~~~~~ ../include/sysfunc.h:37:22: warning: inline function 's_swap16' declared but never defined 37 | extern inline Sint16 s_swap16 (Sint16 i); | ^~~~~~~~ In file included from ../include/bomberclone.h:45, from broadcast.c:5: ../include/gfx.h:108:20: warning: inline function 'gfx_blitupdaterectclear' declared but never defined 108 | extern inline void gfx_blitupdaterectclear (); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/gfx.h:107:20: warning: inline function 'gfx_blitsortclear' declared but never defined 107 | extern inline void gfx_blitsortclear (); | ^~~~~~~~~~~~~~~~~ mv -f .deps/broadcast.Tpo .deps/broadcast.Po --- bomberclone --- cc -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -ggdb -O0 -Wall -Werror -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -ggdb -o bomberclone main.o bomb.o debug.o packets.o font.o gfx.o gfxengine.o gfxpixelimage.o player.o game.o netmenu.o network.o netsrvlist.o udp.o menu.o menubools.o menubuttons.o menuentrys.o menulabels.o menulists.o menuimages.o map.o mapmenu.o tileset.o field.o sysfunc.o configuration.o pkgcache.o chat.o multiwait.o keybinput.o single.o special.o sound.o ogcache-client.o flyingitems.o help.o playerinput.o keyb.o playermenu.o broadcast.o -lSDL_image -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lpng -ljpeg -lSDL_mixer /bin/ld: bomb.o: undefined reference to symbol 'floorf@@GLIBC_2.2.5' /bin/ld: /usr/lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status *** [bomberclone] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/games/bomberclone/work/bomberclone-0.11.9/src bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/build/games/bomberclone/work/bomberclone-0.11.9/src bmake[1]: stopped making "all-recursive" in /home/pbulk/build/games/bomberclone/work/bomberclone-0.11.9 bmake: stopped making "all" in /home/pbulk/build/games/bomberclone/work/bomberclone-0.11.9 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/games/bomberclone *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/games/bomberclone