* Package: games-board/gtkboard-0.11_pre0-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gtkboard-0.11pre0.tar.gz to /var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work >>> Source unpacked in /var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work >>> Preparing source in /var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work/gtkboard-0.11pre0 ... * Applying gtkboard-0.11_pre0-gcc41.patch ... [ ok ] * Applying gtkboard-0.11_pre0-gcc45.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work/gtkboard-0.11pre0 ... * econf: updating gtkboard-0.11pre0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gtkboard-0.11pre0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --disable-dependency-tracking --enable-gtk2 --enable-sdl --disable-gnome checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for pkg-config... /usr/bin/pkg-config checking for gtk+-2.0 >= 2.0.0... yes checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for mkdir... yes checking for strtol... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating sounds/Makefile config.status: creating pixmaps/Makefile config.status: creating config.h config.status: executing depfiles commands GTK2 enabled. SDL enabled. GNOME disabled. >>> Source configured. >>> Compiling source in /var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work/gtkboard-0.11pre0 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work/gtkboard-0.11pre0' Making all in doc make[2]: Entering directory '/var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work/gtkboard-0.11pre0/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work/gtkboard-0.11pre0/doc' Making all in src make[2]: Entering directory '/var/tmp/portage/games-board/gtkboard-0.11_pre0-r1/work/gtkboard-0.11pre0/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'board.c' || echo './'`board.c board.c: In function ‘board_init’: board.c:628:19: warning: pointer targets in initialization of ‘gint8 *’ {aka ‘signed char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 628 | byte *colors = game->colors; | ^~~~ board.c: In function ‘board_get_filerank_label_str’: board.c:499:27: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 7 [-Wformat-truncation=] 499 | snprintf (tempstr, 8, " %d ", idx + 1); | ^~ board.c:499:25: note: directive argument in the range [-2147483646, 2147483647] 499 | snprintf (tempstr, 8, " %d ", idx + 1); | ^~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:46, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from board.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 14 bytes into a destination of size 8 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'menu.c' || echo './'`menu.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'prefs.c' || echo './'`prefs.c In file included from /usr/include/string.h:494, from prefs.c:24: In function ‘strncpy’, inlined from ‘prefs_username_cb’ at prefs.c:355:2, inlined from ‘prefs_show_username_dialog’ at prefs.c:399:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'sound.c' || echo './'`sound.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'ui.c' || echo './'`ui.c ui.c: In function ‘ui_check_who_won’: ui.c:472:2: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 472 | if (g_strncasecmp(line, "ACK", 3)) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from ui.c:31: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ ui.c:485:2: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 485 | if (!g_strncasecmp(who_str, "NYET", 4)) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from ui.c:31: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ ui.c:497:2: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 497 | if (game_single_player && !ui_cheated && !g_strncasecmp(who_str, "WON", 3)) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from ui.c:31: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ ui.c:519:2: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 519 | if (game_single_player && !ui_cheated && !g_strncasecmp(who_str, "LOST", 4)) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from ui.c:31: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ ui.c: In function ‘set_game_params’: ui.c:457:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 457 | fread (cur_pos.board, board_wid * board_heit, 1, move_fin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c: In function ‘html_help_gen’: ui.c:1306:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 1306 | getcwd (dirbuf, 1024); | ^~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'aaball.c' || echo './'`aaball.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'ab.c' || echo './'`ab.c ab.c: In function ‘ab_with_tt’: ab.c:91:15: warning: pointer targets in assignment from ‘char *’ to ‘gint8 *’ {aka ‘signed char *’} differ in signedness [-Wpointer-sign] 91 | newpos.board = (char *) malloc (board_wid * board_heit); | ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'engine.c' || echo './'`engine.c engine.c: In function ‘channel_process_input’: engine.c:358:2: warning: ‘g_io_channel_read’ is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 358 | g_io_channel_read (channel_in, linebuf, 4096, &bytes_read); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:54, from game.h:22, from engine.c:24: /usr/include/glib-2.0/glib/giochannel.h:166:13: note: declared here 166 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ engine.c:358:48: warning: passing argument 4 of ‘g_io_channel_read’ from incompatible pointer type [-Wincompatible-pointer-types] 358 | g_io_channel_read (channel_in, linebuf, 4096, &bytes_read); | ^~~~~~~~~~~ | | | int * In file included from /usr/include/glib-2.0/glib.h:54, from game.h:22, from engine.c:24: /usr/include/glib-2.0/glib/giochannel.h:169:49: note: expected ‘gsize *’ {aka ‘long unsigned int *’} but argument is of type ‘int *’ 169 | gsize *bytes_read); | ~~~~~~~~~~~~~~~^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'hash.c' || echo './'`hash.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'move.c' || echo './'`move.c move.c: In function ‘move_read’: move.c:112:6: warning: pointer targets in assignment from ‘char *’ to ‘gint8 *’ {aka ‘signed char *’} differ in signedness [-Wpointer-sign] 112 | tmp = line; | ^ move.c:115:31: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 115 | movbuf[nc] = (byte) strtol (tmp, (char **) &new, 10); | ^~~ | | | gint8 * {aka signed char *} In file included from /usr/include/glib-2.0/glib/gutils.h:306, from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from move.h:37, from move.c:19: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘gint8 *’ {aka ‘signed char *’} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ move.c: In function ‘move_fread’: move.c:140:9: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 140 | fgets (linebuf, 4096, fin); | ^~~~~~~ | | | gint8 * {aka signed char *} In file included from /usr/include/stdio.h:867, from move.h:36, from move.c:19: /usr/include/bits/stdio2.h:255:25: note: expected ‘char * restrict’ but argument is of type ‘gint8 *’ {aka ‘signed char *’} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ move.c:141:20: warning: pointer targets in passing argument 1 of ‘move_read’ differ in signedness [-Wpointer-sign] 141 | return move_read (linebuf); | ^~~~~~~ | | | gint8 * {aka signed char *} move.c:107:24: note: expected ‘char *’ but argument is of type ‘gint8 *’ {aka ‘signed char *’} 107 | byte *move_read (char *line) | ~~~~~~^~~~ move.c: In function ‘move_fread_ack’: move.c:146:9: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 146 | fgets (linebuf, 4096, fin); | ^~~~~~~ | | | gint8 * {aka signed char *} In file included from /usr/include/stdio.h:867, from move.h:36, from move.c:19: /usr/include/bits/stdio2.h:255:25: note: expected ‘char * restrict’ but argument is of type ‘gint8 *’ {aka ‘signed char *’} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ move.c:148:19: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 148 | if (strncasecmp (linebuf, "ACK", 3)) | ^~~~~~~ | | | gint8 * {aka signed char *} In file included from /usr/include/string.h:431, from /usr/include/glib-2.0/glib/gtestutils.h:30, from /usr/include/glib-2.0/glib.h:85, from move.h:37, from move.c:19: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘gint8 *’ {aka ‘signed char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ move.c:150:28: warning: pointer targets in passing argument 1 of ‘move_read’ differ in signedness [-Wpointer-sign] 150 | return move_read (linebuf + 4); | ~~~~~~~~^~~ | | | gint8 * {aka signed char *} move.c:107:24: note: expected ‘char *’ but argument is of type ‘gint8 *’ {aka ‘signed char *’} 107 | byte *move_read (char *line) | ~~~~~~^~~~ move.c: In function ‘line_read’: move.c:155:9: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 155 | fgets (linebuf, 4096, fin); | ^~~~~~~ | | | gint8 * {aka signed char *} In file included from /usr/include/stdio.h:867, from move.h:36, from move.c:19: /usr/include/bits/stdio2.h:255:25: note: expected ‘char * restrict’ but argument is of type ‘gint8 *’ {aka ‘signed char *’} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ move.c:156:9: warning: pointer targets in returning ‘gint8 *’ {aka ‘signed char *’} from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 156 | return linebuf; | ^~~~~~~ move.c: In function ‘move_fread’: move.c:140:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 140 | fgets (linebuf, 4096, fin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ move.c: In function ‘move_fread_ack’: move.c:146:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 146 | fgets (linebuf, 4096, fin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ move.c: In function ‘line_read’: move.c:155:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 155 | fgets (linebuf, 4096, fin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'stack.c' || echo './'`stack.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'antichess.c' || echo './'`antichess.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'ataxx.c' || echo './'`ataxx.c ataxx.c: In function ‘ataxx_get_rgbmap’: ataxx.c:400:29: warning: pointer targets in passing argument 2 of ‘rgbmap_ball_shadow_gen’ differ in signedness [-Wpointer-sign] 400 | rgbmap_ball_shadow_gen(55, rgbbuf, fg, bg, 17.0, 35.0, 3); | ^~~~~~ | | | char * In file included from ataxx.c:25: aaball.h:28:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 28 | void rgbmap_ball_shadow_gen(int, unsigned char *, int, int, float, float, int); | ^~~~~~~~~~~~~~~ ataxx.c:401:9: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 401 | return rgbbuf; | ^~~~~~ ataxx.c: In function ‘ataxx_who_won’: ataxx.c:129:37: warning: ‘)’ directive output may be truncated writing 1 byte into a region of size between 0 and 18 [-Wformat-truncation=] 129 | snprintf (comment, 32, "%s (%d : %d)", who_str [who_idx], wscore, bscore); | ^ In file included from /usr/include/stdio.h:867, from ataxx.c:19: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 16 and 34 bytes into a destination of size 32 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ataxx.c:129:35: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 8 and 18 [-Wformat-truncation=] 129 | snprintf (comment, 32, "%s (%d : %d)", who_str [who_idx], wscore, bscore); | ^~ ataxx.c:129:25: note: directive argument in the range [0, 2147483647] 129 | snprintf (comment, 32, "%s (%d : %d)", who_str [who_idx], wscore, bscore); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ataxx.c:19: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 17 and 36 bytes into a destination of size 32 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'blet.c' || echo './'`blet.c blet.c: In function ‘blet_get_rgbmap’: blet.c:151:29: warning: pointer targets in passing argument 2 of ‘rgbmap_ball_shadow_gen’ differ in signedness [-Wpointer-sign] 151 | rgbmap_ball_shadow_gen(55, rgbbuf, fg, bg, 17.0, 35.0, 3); | ^~~~~~ | | | char * In file included from blet.c:25: aaball.h:28:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 28 | void rgbmap_ball_shadow_gen(int, unsigned char *, int, int, float, float, int); | ^~~~~~~~~~~~~~~ blet.c:152:9: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 152 | return rgbbuf; | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'breakthrough.c' || echo './'`breakthrough.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'checkers.c' || echo './'`checkers.c checkers.c: In function ‘checkers_get_pixmap’: checkers.c:298:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 298 | if (col<0) col += 256; bg += col * (1 << (16-8*i));} | ^~ checkers.c:298:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 298 | if (col<0) col += 256; bg += col * (1 << (16-8*i));} | ^~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'chess.c' || echo './'`chess.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'cpento.c' || echo './'`cpento.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -Wno-unused -DDATADIR=\"/usr/share\" -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'dirmaze.c' || echo './'`dirmaze.c dirmaze.c: In function ‘hypermaze_pixmap_square_gen’: dirmaze.c:248:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 248 | for (i=0; i