>>> Building on exopi-2 under games/xmj BDEPENDS = [x11/gtk+2;devel/gmake] DIST = [games/xmj:mj-1.16-src.tar.gz] FULLPKGNAME = xmj-1.16 RDEPENDS = [x11/gtk+2] (Junk lock obtained for exopi-2 at 1731985467.27) >>> Running depends in games/xmj at 1731985467.31 last junk was in devel/p5-SDL /usr/sbin/pkg_add -aI -Drepair gtk+2-2.24.33p6 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1 gtk+2-2.24.33p6 /usr/sbin/pkg_add -aI -Drepair gtk+2-2.24.33p6 >>> Running show-prepare-results in games/xmj at 1731985469.46 ===> games/xmj ===> Building from scratch xmj-1.16 ===> xmj-1.16 depends on: gmake-* -> gmake-4.4.1 ===> xmj-1.16 depends on: gtk+2-* -> gtk+2-2.24.33p6 ===> Verifying specs: X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 harfbuzz intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 z ===> found X11.18.2 Xcomposite.4.0 Xcursor.5.1 Xdamage.4.0 Xext.13.0 Xfixes.6.1 Xi.12.2 Xinerama.6.0 Xrandr.7.1 Xrender.6.0 atk-1.0.21810.3 c.100.3 cairo.13.5 fontconfig.13.1 freetype.30.4 gdk-x11-2.0.2400.0 gdk_pixbuf-2.0.3200.3 gio-2.0.4200.20 glib-2.0.4201.13 gobject-2.0.4200.20 gtk-x11-2.0.2400.0 harfbuzz.18.11 intl.8.0 m.10.1 pango-1.0.3801.5 pangocairo-1.0.3801.3 pangoft2-1.0.3801.3 z.7.1 gmake-4.4.1 gtk+2-2.24.33p6 (Junk lock released for exopi-2 at 1731985470.20) distfiles size=403981 >>> Running build in games/xmj at 1731985470.23 ===> games/xmj ===> Checking files for xmj-1.16 `/exopi-cvs/ports/distfiles/mj-1.16-src.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for xmj-1.16 ===> Patching for xmj-1.16 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xmj-1.16 ===> Configuring for xmj-1.16 ===> Building for xmj-1.16 perl make-enums.pl tiles.h perl make-enums.pl player.h perl proto-encode-msg.pl -cmsg perl proto-encode-msg.pl -pmsg perl make-enums.pl protocol.h perl make-enums.pl game.h cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o gui.o gui.c In file included from gui.c:18: In file included from ./gui.h:17: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gui.c:18: In file included from ./gui.h:17: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gui.c:1576:64: warning: implicit conversion from enumeration type 'TileWind' to different enumeration type 'seats' [-Wenum-conversion] sprintf(buf,"%s round\n",windnames[lastround = the_game->round]); ~ ~~~~~~~~~~^~~~~ gui.c:1585:22: warning: comparison of different enumeration types ('seats' and 'TileWind') [-Wenum-compare] if ( lastround != the_game->round ) { ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ gui.c:1586:59: warning: implicit conversion from enumeration type 'TileWind' to different enumeration type 'seats' [-Wenum-conversion] sprintf(buf,"%s round\n",windnames[lastround = the_game->round]); ~ ~~~~~~~~~~^~~~~ gui.c:3396:27: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd,address,sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3396:27: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd,address,sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3398:39: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd, " --exit-on-disconnect",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3398:39: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd, " --exit-on-disconnect",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3401:33: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd, " --save-on-exit",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3401:33: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd, " --save-on-exit",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3404:33: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd, " --random-seats",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3404:33: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd, " --random-seats",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3412:19: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd,ibuf,sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3412:19: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd,ibuf,sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3418:35: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd, " --no-id-required",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3418:35: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd, " --no-id-required",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3429:31: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd, " --load-game ",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3429:31: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd, " --load-game ",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3430:21: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd, gfile,sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3430:21: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd, gfile,sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3493:22: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd,address,sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3493:22: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd,address,sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3495:18: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd," ",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3495:18: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd," ",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3497:27: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd," --name ",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3497:27: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd," --name ",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3501:20: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd," ",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3501:20: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd," ",sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3503:33: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(cmd,robot_options[i],sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3503:33: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(cmd,robot_options[i],sizeof(cmd)-strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(cmd) - strlen(cmd) - 1 gui.c:3975:30: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(rcfbuf,"/.xmjrc",sizeof(rcfbuf)-strlen(rcfbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3975:30: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(rcfbuf,"/.xmjrc",sizeof(rcfbuf)-strlen(rcfbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(rcfbuf) - strlen(rcfbuf) - 1 gui.c:4685:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(pmfile,code,sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4685:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(pmfile,code,sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pmfile) - strlen(pmfile) - 1 gui.c:4686:26: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(pmfile,".xpm",sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4686:26: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(pmfile,".xpm",sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pmfile) - strlen(pmfile) - 1 gui.c:4714:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(pmfile,"tong",sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4714:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(pmfile,"tong",sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pmfile) - strlen(pmfile) - 1 gui.c:4715:23: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(pmfile,wl[i],sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4715:23: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(pmfile,wl[i],sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pmfile) - strlen(pmfile) - 1 gui.c:4716:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(pmfile,".xpm",sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4716:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(pmfile,".xpm",sizeof(pmfile)-strlen(pmfile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pmfile) - strlen(pmfile) - 1 24 warnings generated. cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o gui-dial.o gui-dial.c In file included from gui-dial.c:17: In file included from ./gui.h:17: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gui-dial.c:17: In file included from ./gui.h:17: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gui-dial.c:640:12: warning: cast to smaller integer type 'PlayerMsgType' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] m.type = (PlayerMsgType)data; ^~~~~~~~~~~~~~~~~~~ gui-dial.c:692:8: warning: case value not in enumerated type 'PlayerMsgType' [-Wswitch] case PMsgDiscard+1000000: ^ gui-dial.c:3755:23: warning: cast to smaller integer type 'ChowPosition' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] ChowPosition cpos = (ChowPosition)data; ^~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o client.o client.c cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o lazyfixed.o lazyfixed.c In file included from lazyfixed.c:23: In file included from ./lazyfixed.h:28: In file included from /usr/local/include/gtk-2.0/gtk/gtkfixed.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o vlazyfixed.o vlazyfixed.c In file included from vlazyfixed.c:22: In file included from ./vlazyfixed.h:27: In file included from /usr/local/include/gtk-2.0/gtk/gtkfixed.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o player.o player.c cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o tiles.o tiles.c perl makefallbacktiles ./tiles-v1 >fbtiles.c cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o fbtiles.o fbtiles.c perl proto-decode-msg.pl -cmsg perl proto-decode-msg.pl -pmsg cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o protocol.o protocol.c cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o game.o game.c game.c:1429:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if ( ! g->state == Discarded ) { ^ ~~ game.c:1429:9: note: add parentheses after the '!' to evaluate the comparison first if ( ! g->state == Discarded ) { ^ ( ) game.c:1429:9: note: add parentheses around left hand side expression to silence this warning if ( ! g->state == Discarded ) { ^ ( ) game.c:1429:20: warning: result of comparison of constant 'Discarded' (4) with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if ( ! g->state == Discarded ) { ~~~~~~~~~~ ^ ~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o sysdep.o sysdep.c rm -f xmj cc -o xmj gui.o gui-dial.o client.o lazyfixed.o vlazyfixed.o player.o tiles.o fbtiles.o protocol.o game.o sysdep.o `pkg-config --libs gtk+-2.0` -lm ld: warning: tiles.c(tiles.o:(tile_name)): warning: sprintf() is often misused, please use snprintf() ld: warning: sysdep.c(sysdep.o:(vlog_msg)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: sysdep.c(sysdep.o:(vlog_msg)): warning: strcat() is almost always misused, please use strlcat() ld: warning: sysdep.c(sysdep.o:(rand_index)): warning: rand() may return deterministic values, is that what you want? ld: warning: game.c(game.o:(game_print_state)): warning: stpcpy() is dangerous; do not use it cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o controller.o controller.c cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o scoring.o scoring.c scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:164:24: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:164:24: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); \ ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:168:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:168:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(dblsbuf,tbuf,sizeof(dblsbuf)-strlen(dblsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(dblsbuf) - strlen(dblsbuf) - 1 scoring.c:177:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scoring.c:177:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(limsbuf,tbuf,sizeof(limsbuf)-strlen(limsbuf)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(limsbuf) - strlen(limsbuf) - 1 scoring.c:732:20: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:732:20: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:735:23: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,dblsbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:735:23: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,dblsbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:739:20: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:739:20: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:748:22: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:748:22: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:753:23: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,limsbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:753:23: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,limsbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 scoring.c:766:20: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ scoring.c:766:20: note: change the argument to be the free space in the destination buffer minus the terminating null byte strmcat(buf,tbuf,sizeof(buf)-strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 162 warnings generated. rm -f mj-server cc -o mj-server controller.o player.o tiles.o protocol.o game.o scoring.o sysdep.o ld: warning: game.c(game.o:(game_handle_cmsg)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: sysdep.c(sysdep.o:(vlog_msg)): warning: strcat() is almost always misused, please use strlcat() ld: warning: sysdep.c(sysdep.o:(log_error)): warning: sprintf() is often misused, please use snprintf() ld: warning: sysdep.c(sysdep.o:(rand_index)): warning: rand() may return deterministic values, is that what you want? ld: warning: game.c(game.o:(game_print_state)): warning: stpcpy() is dangerous; do not use it cc -O2 -pipe -std=gnu99 `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -c -o greedy.o greedy.c greedy.c:1030:12: warning: comparison of different enumeration types ('TileSuit' and 'TileWind') [-Wenum-compare] if ( is_doubler(tp[0]) ) val += (-strat->chowness) * magic2[0]; ^~~~~~~~~~~~~~~~~ greedy.c:44:14: note: expanded from macro 'is_doubler' (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ greedy.c:1030:12: warning: comparison of different enumeration types ('TileSuit' and 'TileWind') [-Wenum-compare] if ( is_doubler(tp[0]) ) val += (-strat->chowness) * magic2[0]; ^~~~~~~~~~~~~~~~~ greedy.c:44:48: note: expanded from macro 'is_doubler' (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ greedy.c:1064:12: warning: comparison of different enumeration types ('TileSuit' and 'TileWind') [-Wenum-compare] if ( is_doubler(tp[0]) ) val += 2 - (strat->chowness)*4.0; ^~~~~~~~~~~~~~~~~ greedy.c:44:14: note: expanded from macro 'is_doubler' (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ greedy.c:1064:12: warning: comparison of different enumeration types ('TileSuit' and 'TileWind') [-Wenum-compare] if ( is_doubler(tp[0]) ) val += 2 - (strat->chowness)*4.0; ^~~~~~~~~~~~~~~~~ greedy.c:44:48: note: expanded from macro 'is_doubler' (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ greedy.c:1196:8: warning: comparison of different enumeration types ('TileSuit' and 'TileWind') [-Wenum-compare] if ( is_doubler(tp[0]) ) { ^~~~~~~~~~~~~~~~~ greedy.c:44:14: note: expanded from macro 'is_doubler' (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ greedy.c:1196:8: warning: comparison of different enumeration types ('TileSuit' and 'TileWind') [-Wenum-compare] if ( is_doubler(tp[0]) ) { ^~~~~~~~~~~~~~~~~ greedy.c:44:48: note: expanded from macro 'is_doubler' (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ greedy.c:1328:12: warning: comparison of different enumeration types ('TileSuit' and 'TileWind') [-Wenum-compare] if ( is_doubler(p->tilesets[i].tile) ) sval += (-strat->chowness) * 6.0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ greedy.c:44:14: note: expanded from macro 'is_doubler' (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ greedy.c:1328:12: warning: comparison of different enumeration types ('TileSuit' and 'TileWind') [-Wenum-compare] if ( is_doubler(p->tilesets[i].tile) ) sval += (-strat->chowness) * 6.0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ greedy.c:44:48: note: expanded from macro 'is_doubler' (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ 8 warnings generated. rm -f mj-player cc -o mj-player greedy.o client.o player.o tiles.o protocol.o game.o sysdep.o ld: warning: greedy.c(greedy.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: player.c(player.o:(set_player_name)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: sysdep.c(sysdep.o:(vlog_msg)): warning: strcat() is almost always misused, please use strlcat() ld: warning: sysdep.c(sysdep.o:(rand_index)): warning: rand() may return deterministic values, is that what you want? ld: warning: game.c(game.o:(game_print_state)): warning: stpcpy() is dangerous; do not use it >>> Running package in games/xmj at 1731985485.09 ===> games/xmj ===> Faking installation for xmj-1.16 install -c -s mj-server /exopi-obj/pobj/xmj-1.16/fake-amd64/usr/local/bin/mj-server install -c -s mj-player /exopi-obj/pobj/xmj-1.16/fake-amd64/usr/local/bin/mj-player install -c -s xmj /exopi-obj/pobj/xmj-1.16/fake-amd64/usr/local/bin/xmj install -c -m 0444 mj-server.man /exopi-obj/pobj/xmj-1.16/fake-amd64/usr/local/man/man1/mj-server.1 install -c -m 0444 mj-player.man /exopi-obj/pobj/xmj-1.16/fake-amd64/usr/local/man/man1/mj-player.1 install -c -m 0444 xmj.man /exopi-obj/pobj/xmj-1.16/fake-amd64/usr/local/man/man1/xmj.1 ===> Building package for xmj-1.16 Create /exopi-cvs/ports/packages/amd64/all/xmj-1.16.tgz Creating package xmj-1.16 reading plist| checking dependencies| checking dependencies|x11/gtk+2,-main checksumming| checksumming| | 0% checksumming|* | 2% checksumming|*** | 5% checksumming|**** | 7% checksumming|****** | 10% checksumming|******* | 12% checksumming|********* | 14% checksumming|********** | 17% checksumming|************ | 19% checksumming|************* | 21% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|***************** | 29% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************* | 40% checksumming|************************** | 43% checksumming|**************************** | 45% checksumming|***************************** | 48% checksumming|******************************* | 50% checksumming|******************************** | 52% checksumming|********************************* | 55% checksumming|*********************************** | 57% checksumming|************************************ | 60% checksumming|************************************** | 62% checksumming|*************************************** | 64% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************** | 71% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************* | 81% checksumming|*************************************************** | 83% checksumming|**************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 90% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************* | 21% archiving|***************************** | 46% archiving|*********************************************************** | 92% archiving|****************************************************************|100% /exopi-obj/pobj/xmj-1.16/fake-amd64/usr/local/man/man1/mj-server.1: No one-line description, using filename "mj-server" /exopi-obj/pobj/xmj-1.16/fake-amd64/usr/local/man/man1/mj-player.1: No one-line description, using filename "mj-player" Link to /exopi-cvs/ports/packages/amd64/ftp/xmj-1.16.tgz >>> Running clean in games/xmj at 1731985494.48 ===> games/xmj ===> Cleaning for xmj-1.16 >>> Ended at 1731985494.69 max_stuck=0.00/depends=2.15/show-prepare-results=0.78/build=14.85/package=9.40/clean=0.24