=>> Building games/gnugo build started at Mon Jun 3 04:54:06 CDT 2024 port directory: /usr/ports/games/gnugo package name: gnugo-3.8_2 building for: FreeBSD 141amd64-current-job-05 14.1-RELEASE FreeBSD 14.1-RELEASE amd64 maintained by: spcoltri@omcl.org port version: 3.8 port revision: 2 Makefile datestamp: -rw-r--r-- 1 root wheel 394 Feb 26 06:28 /usr/ports/games/gnugo/Makefile Ports top last git commit: e9dbd0e24778 Ports top unclean checkout: no =>> Inspecting /poudriere/data/.m/141amd64-current/05//usr/ports/games/gnugo for modifications to git checkout... no Port dir last git commit: 3a2b6e5de3fa Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240424 Host OSVERSION: 1401000 Jail OSVERSION: 1401000 Job Id: 05 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1401000 UNAME_v=FreeBSD 14.1-RELEASE UNAME_r=14.1-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git USE_COLORS=no POUDRIERE_VERSION=3.4.99.20240424 MASTERMNT=/poudriere/data/.m/141amd64-current/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/poudriere/data/.m/141amd64-current/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=141amd64-current OLDPWD=/poudriere/data/.m/141amd64-current/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240424 PREFIX=/usr/local POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- spcoltri@omcl.org --End MAINTAINER-- --PORTVERSION-- 3.8 --End PORTVERSION-- --PORTREVISION-- 2 --End PORTREVISION-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/gnugo/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/gnugo/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/gnugo/work/.cache HOME=/wrkdirs/usr/ports/games/gnugo/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/gnugo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/gnugo/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/gnugo/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/gnugo/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/gnugo/work/.cache HOME=/wrkdirs/usr/ports/games/gnugo/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/gnugo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/gnugo/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gnugo" EXAMPLESDIR="share/examples/gnugo" DATADIR="share/gnugo" WWWDIR="www/gnugo" ETCDIR="etc/gnugo" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/gnugo DOCSDIR=/usr/local/share/doc/gnugo EXAMPLESDIR=/usr/local/share/examples/gnugo WWWDIR=/usr/local/www/gnugo ETCDIR=/usr/local/etc/gnugo --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 63795 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> gnugo-3.8_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [141amd64-current-job-05] Installing pkg-1.21.3... [141amd64-current-job-05] Extracting pkg-1.21.3: .......... done ===> gnugo-3.8_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of gnugo-3.8_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =>> Debug: gather_distfiles: missing '/poudriere/data/.m/141amd64-current/05/portdistfiles//gnugo-3.8.tar.gz' =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by gnugo-3.8_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by gnugo-3.8_2 for building => SHA256 Checksum OK for gnugo-3.8.tar.gz. =========================================================================== =>> Debug: gather_distfiles: skipping copy '/poudriere/distfiles//gnugo-3.8.tar.gz' =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by gnugo-3.8_2 for building ===> Extracting for gnugo-3.8_2 => SHA256 Checksum OK for gnugo-3.8.tar.gz. /bin/rm -f /wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc/gnugo.info* =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for gnugo-3.8_2 ===> Applying FreeBSD patches for gnugo-3.8_2 from /usr/ports/games/gnugo/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> gnugo-3.8_2 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [141amd64-current-job-05] Installing gmake-4.4.1... [141amd64-current-job-05] `-- Installing gettext-runtime-0.22.5... [141amd64-current-job-05] | `-- Installing indexinfo-0.3.1... [141amd64-current-job-05] | `-- Extracting indexinfo-0.3.1: .... done [141amd64-current-job-05] `-- Extracting gettext-runtime-0.22.5: .......... done [141amd64-current-job-05] Extracting gmake-4.4.1: .......... done ===> gnugo-3.8_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of gnugo-3.8_2 ===> gnugo-3.8_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_6.pkg [141amd64-current-job-05] Installing ccache-3.7.12_6... [141amd64-current-job-05] Extracting ccache-3.7.12_6: .......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_6: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> gnugo-3.8_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of gnugo-3.8_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for gnugo-3.8_2 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... cc checking for C compiler default output file name... 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking for library containing pow... -lm checking for mingw32... no checking how to run the C preprocessor... cpp checking for ranlib... ranlib checking whether gmake sets $(MAKE)... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/times.h... (cached) yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking ncurses/term.h usability... no checking ncurses/term.h presence... no checking for ncurses/term.h... no checking for long... (cached) yes checking size of long... 8 checking for vsnprintf... (cached) yes checking for gettimeofday... (cached) yes checking for usleep... (cached) yes checking for times... (cached) yes checking for variadic cpp define... yes checking whether cc supports transparent unions... no checking for library containing tparm... -lncurses checking for color support... curses checking whether socket support can be compiled... yes configure: creating ./config.status config.status: creating Makefile config.status: creating interface/Makefile config.status: creating patterns/Makefile config.status: creating sgf/Makefile config.status: creating utils/Makefile config.status: creating engine/Makefile config.status: creating doc/Makefile config.status: creating regression/Makefile config.status: creating config.vc config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for gnugo-3.8_2 gmake all-recursive gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8' Making all in utils gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/utils' if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT random.o -MD -MP -MF ".deps/random.Tpo" -c -o random.o random.c; \ then mv -f ".deps/random.Tpo" ".deps/random.Po"; else rm -f ".deps/random.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT gg_utils.o -MD -MP -MF ".deps/gg_utils.Tpo" -c -o gg_utils.o gg_utils.c; \ then mv -f ".deps/gg_utils.Tpo" ".deps/gg_utils.Po"; else rm -f ".deps/gg_utils.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT winsocket.o -MD -MP -MF ".deps/winsocket.Tpo" -c -o winsocket.o winsocket.c; \ then mv -f ".deps/winsocket.Tpo" ".deps/winsocket.Po"; else rm -f ".deps/winsocket.Tpo"; exit 1; fi In file included from winsocket.c:34: ./winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ./winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ./winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ./winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ winsocket.c:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 37 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ./winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ winsocket.c:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ winsocket.c:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 6 warnings generated. getopt1.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | gg_getopt_long (argc, argv, options, long_options, opt_index) | ^ getopt1.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | getopt_long_only (argc, argv, options, long_options, opt_index) | ^ 2 warnings generated. getopt.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | my_index (str, chr) | ^ getopt.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | exchange (argv) | ^ getopt.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | _getopt_initialize (argc, argv, optstring) | ^ getopt.c:394:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^ getopt.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^ getopt.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | gg_getopt (argc, argv, optstring) | ^ 6 warnings generated. rm -f libutils.a ar cru libutils.a getopt.o getopt1.o random.o gg_utils.o winsocket.o ranlib libutils.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/utils' Making all in sgf gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/sgf' if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sgf_utils.o -MD -MP -MF ".deps/sgf_utils.Tpo" -c -o sgf_utils.o sgf_utils.c; \ then mv -f ".deps/sgf_utils.Tpo" ".deps/sgf_utils.Po"; else rm -f ".deps/sgf_utils.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sgfnode.o -MD -MP -MF ".deps/sgfnode.Tpo" -c -o sgfnode.o sgfnode.c; \ then mv -f ".deps/sgfnode.Tpo" ".deps/sgfnode.Po"; else rm -f ".deps/sgfnode.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sgftree.o -MD -MP -MF ".deps/sgftree.Tpo" -c -o sgftree.o sgftree.c; \ then mv -f ".deps/sgftree.Tpo" ".deps/sgftree.Po"; else rm -f ".deps/sgftree.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sgfgen.o -MD -MP -MF ".deps/sgfgen.Tpo" -c -o sgfgen.o sgfgen.c; \ then mv -f ".deps/sgfgen.Tpo" ".deps/sgfgen.Po"; else rm -f ".deps/sgfgen.Tpo"; exit 1; fi cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o sgfgen sgfgen.o -lncurses -lm sgfnode.c:102:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 102 | sgfNewNode() | ^ | void sgfnode.c:921:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 921 | nexttoken() | ^ | void 2 warnings generated. rm -f libsgf.a ar cru libsgf.a sgf_utils.o sgfnode.o sgftree.o ranlib libsgf.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/sgf' Making all in engine gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/engine' if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT aftermath.o -MD -MP -MF ".deps/aftermath.Tpo" -c -o aftermath.o aftermath.c; \ then mv -f ".deps/aftermath.Tpo" ".deps/aftermath.Po"; else rm -f ".deps/aftermath.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT board.o -MD -MP -MF ".deps/board.Tpo" -c -o board.o board.c; \ then mv -f ".deps/board.Tpo" ".deps/board.Po"; else rm -f ".deps/board.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT boardlib.o -MD -MP -MF ".deps/boardlib.Tpo" -c -o boardlib.o boardlib.c; \ then mv -f ".deps/boardlib.Tpo" ".deps/boardlib.Po"; else rm -f ".deps/boardlib.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT breakin.o -MD -MP -MF ".deps/breakin.Tpo" -c -o breakin.o breakin.c; \ then mv -f ".deps/breakin.Tpo" ".deps/breakin.Po"; else rm -f ".deps/breakin.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT cache.o -MD -MP -MF ".deps/cache.Tpo" -c -o cache.o cache.c; \ then mv -f ".deps/cache.Tpo" ".deps/cache.Po"; else rm -f ".deps/cache.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT clock.o -MD -MP -MF ".deps/clock.Tpo" -c -o clock.o clock.c; \ then mv -f ".deps/clock.Tpo" ".deps/clock.Po"; else rm -f ".deps/clock.Tpo"; exit 1; fi In file included from cache.c:26: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ cache.c:295:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 295 | reading_cache_clear() | ^ | void cache.c:301:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 301 | reading_cache_default_size() | ^ | void 5 warnings generated. In file included from boardlib.c:27: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT combination.o -MD -MP -MF ".deps/combination.Tpo" -c -o combination.o combination.c; \ then mv -f ".deps/combination.Tpo" ".deps/combination.Po"; else rm -f ".deps/combination.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT dragon.o -MD -MP -MF ".deps/dragon.Tpo" -c -o dragon.o dragon.c; \ then mv -f ".deps/dragon.Tpo" ".deps/dragon.Po"; else rm -f ".deps/dragon.Tpo"; exit 1; fi In file included from breakin.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ breakin.c:445:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 445 | clear_break_in_list() | ^ | void 4 warnings generated. In file included from clock.c:39: In file included from ./clock.h:27: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ clock.c:161:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 161 | init_timers() | ^ | void clock.c:380:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 380 | get_level() | ^ | void 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT endgame.o -MD -MP -MF ".deps/endgame.Tpo" -c -o endgame.o endgame.c; \ then mv -f ".deps/endgame.Tpo" ".deps/endgame.Po"; else rm -f ".deps/endgame.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT filllib.o -MD -MP -MF ".deps/filllib.Tpo" -c -o filllib.o filllib.c; \ then mv -f ".deps/filllib.Tpo" ".deps/filllib.Po"; else rm -f ".deps/filllib.Tpo"; exit 1; fi In file included from filllib.c:25: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fuseki.o -MD -MP -MF ".deps/fuseki.Tpo" -c -o fuseki.o fuseki.c; \ then mv -f ".deps/fuseki.Tpo" ".deps/fuseki.Po"; else rm -f ".deps/fuseki.Tpo"; exit 1; fi In file included from aftermath.c:25: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT genmove.o -MD -MP -MF ".deps/genmove.Tpo" -c -o genmove.o genmove.c; \ then mv -f ".deps/genmove.Tpo" ".deps/genmove.Po"; else rm -f ".deps/genmove.Tpo"; exit 1; fi In file included from fuseki.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT globals.o -MD -MP -MF ".deps/globals.Tpo" -c -o globals.o globals.c; \ then mv -f ".deps/globals.Tpo" ".deps/globals.Po"; else rm -f ".deps/globals.Tpo"; exit 1; fi In file included from endgame.c:25: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT handicap.o -MD -MP -MF ".deps/handicap.Tpo" -c -o handicap.o handicap.c; \ then mv -f ".deps/handicap.Tpo" ".deps/handicap.Po"; else rm -f ".deps/handicap.Tpo"; exit 1; fi In file included from globals.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT hash.o -MD -MP -MF ".deps/hash.Tpo" -c -o hash.o hash.c; \ then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f ".deps/hash.Tpo"; exit 1; fi In file included from combination.c:29: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT influence.o -MD -MP -MF ".deps/influence.Tpo" -c -o influence.o influence.c; \ then mv -f ".deps/influence.Tpo" ".deps/influence.Po"; else rm -f ".deps/influence.Tpo"; exit 1; fi In file included from hash.c:25: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT interface.o -MD -MP -MF ".deps/interface.Tpo" -c -o interface.o interface.c; \ then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; else rm -f ".deps/interface.Tpo"; exit 1; fi In file included from genmove.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ genmove.c:75:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 75 | reset_engine() | ^ | void genmove.c:924:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 924 | reset_search_mask() | ^ | void 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT matchpat.o -MD -MP -MF ".deps/matchpat.Tpo" -c -o matchpat.o matchpat.c; \ then mv -f ".deps/matchpat.Tpo" ".deps/matchpat.Po"; else rm -f ".deps/matchpat.Tpo"; exit 1; fi In file included from dragon.c:44: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ dragon.c:440:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 440 | find_lunches() | ^ | void dragon.c:489:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 489 | eye_computations() | ^ | void dragon.c:530:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 530 | revise_inessentiality() | ^ | void dragon.c:763:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 763 | find_neighbor_dragons() | ^ | void dragon.c:1102:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1102 | identify_thrashing_dragons() | ^ | void dragon.c:1199:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1199 | compute_dragon_influence() | ^ | void dragon.c:2214:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2214 | compute_refined_dragon_weaknesses() | ^ | void dragon.c:2234:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2234 | compute_strategic_sizes() | ^ | void dragon.c:2446:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2446 | clear_cut_list() | ^ | void 12 warnings generated. In file included from handicap.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ handicap.c:307:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 307 | find_free_handicap_pattern() | ^ | void handicap.c:428:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 428 | free_handicap_remaining_stones() | ^ | void handicap.c:435:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 435 | free_handicap_total_stones() | ^ | void 6 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT montecarlo.o -MD -MP -MF ".deps/montecarlo.Tpo" -c -o montecarlo.o montecarlo.c; \ then mv -f ".deps/montecarlo.Tpo" ".deps/montecarlo.Po"; else rm -f ".deps/montecarlo.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT move_reasons.o -MD -MP -MF ".deps/move_reasons.Tpo" -c -o move_reasons.o move_reasons.c; \ then mv -f ".deps/move_reasons.Tpo" ".deps/move_reasons.Po"; else rm -f ".deps/move_reasons.Tpo"; exit 1; fi In file included from interface.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT movelist.o -MD -MP -MF ".deps/movelist.Tpo" -c -o movelist.o movelist.c; \ then mv -f ".deps/movelist.Tpo" ".deps/movelist.Po"; else rm -f ".deps/movelist.Tpo"; exit 1; fi In file included from movelist.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT optics.o -MD -MP -MF ".deps/optics.Tpo" -c -o optics.o optics.c; \ then mv -f ".deps/optics.Tpo" ".deps/optics.Po"; else rm -f ".deps/optics.Tpo"; exit 1; fi In file included from influence.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT oracle.o -MD -MP -MF ".deps/oracle.Tpo" -c -o oracle.o oracle.c; \ then mv -f ".deps/oracle.Tpo" ".deps/oracle.Po"; else rm -f ".deps/oracle.Tpo"; exit 1; fi In file included from matchpat.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ matchpat.c:78:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 78 | prepare_pattern_profiling() | ^ | void matchpat.c:105:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 105 | report_pattern_profiling() | ^ | void 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT owl.o -MD -MP -MF ".deps/owl.Tpo" -c -o owl.o owl.c; \ then mv -f ".deps/owl.Tpo" ".deps/owl.Po"; else rm -f ".deps/owl.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT persistent.o -MD -MP -MF ".deps/persistent.Tpo" -c -o persistent.o persistent.c; \ then mv -f ".deps/persistent.Tpo" ".deps/persistent.Po"; else rm -f ".deps/persistent.Tpo"; exit 1; fi In file included from montecarlo.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT printutils.o -MD -MP -MF ".deps/printutils.Tpo" -c -o printutils.o printutils.c; \ then mv -f ".deps/printutils.Tpo" ".deps/printutils.Po"; else rm -f ".deps/printutils.Tpo"; exit 1; fi In file included from board.c:32: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ board.c:722:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 722 | popgo() | ^ | void board.c:760:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 760 | undo_trymove() | ^ | void board.c:1031:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1031 | get_last_move() | ^ | void board.c:1043:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1043 | get_last_player() | ^ | void board.c:1407:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1407 | get_komaster() | ^ | void board.c:1413:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1413 | get_kom_pos() | ^ | void board.c:3268:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3268 | reset_trymove_counter() | ^ | void board.c:3276:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3276 | get_trymove_counter() | ^ | void 11 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT readconnect.o -MD -MP -MF ".deps/readconnect.Tpo" -c -o readconnect.o readconnect.c; \ then mv -f ".deps/readconnect.Tpo" ".deps/readconnect.Po"; else rm -f ".deps/readconnect.Tpo"; exit 1; fi In file included from move_reasons.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT reading.o -MD -MP -MF ".deps/reading.Tpo" -c -o reading.o reading.c; \ then mv -f ".deps/reading.Tpo" ".deps/reading.Po"; else rm -f ".deps/reading.Tpo"; exit 1; fi In file included from persistent.c:49: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ persistent.c:563:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 563 | persistent_cache_init() | ^ | void persistent.c:575:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 575 | clear_persistent_caches() | ^ | void persistent.c:589:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 589 | purge_persistent_caches() | ^ | void 6 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT semeai.o -MD -MP -MF ".deps/semeai.Tpo" -c -o semeai.o semeai.c; \ then mv -f ".deps/semeai.Tpo" ".deps/semeai.Po"; else rm -f ".deps/semeai.Tpo"; exit 1; fi In file included from printutils.c:24: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sgfdecide.o -MD -MP -MF ".deps/sgfdecide.Tpo" -c -o sgfdecide.o sgfdecide.c; \ then mv -f ".deps/sgfdecide.Tpo" ".deps/sgfdecide.Po"; else rm -f ".deps/sgfdecide.Tpo"; exit 1; fi In file included from semeai.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ semeai.c:51:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | semeai() | ^ | void semeai.c:242:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 242 | find_moves_to_make_seki() | ^ | void 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sgffile.o -MD -MP -MF ".deps/sgffile.Tpo" -c -o sgffile.o sgffile.c; \ then mv -f ".deps/sgffile.Tpo" ".deps/sgffile.Po"; else rm -f ".deps/sgffile.Tpo"; exit 1; fi In file included from sgfdecide.c:28: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ sgfdecide.c:422:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 422 | decide_position() | ^ | void 4 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT shapes.o -MD -MP -MF ".deps/shapes.Tpo" -c -o shapes.o shapes.c; \ then mv -f ".deps/shapes.Tpo" ".deps/shapes.Po"; else rm -f ".deps/shapes.Tpo"; exit 1; fi In file included from sgffile.c:33: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT showbord.o -MD -MP -MF ".deps/showbord.Tpo" -c -o showbord.o showbord.c; \ then mv -f ".deps/showbord.Tpo" ".deps/showbord.Po"; else rm -f ".deps/showbord.Tpo"; exit 1; fi In file included from showbord.c:38: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ showbord.c:101:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 101 | start_draw_board() | ^ | void showbord.c:149:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 149 | end_draw_board() | ^ | void 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT surround.o -MD -MP -MF ".deps/surround.Tpo" -c -o surround.o surround.c; \ then mv -f ".deps/surround.Tpo" ".deps/surround.Po"; else rm -f ".deps/surround.Tpo"; exit 1; fi In file included from optics.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT unconditional.o -MD -MP -MF ".deps/unconditional.Tpo" -c -o unconditional.o unconditional.c; \ then mv -f ".deps/unconditional.Tpo" ".deps/unconditional.Po"; else rm -f ".deps/unconditional.Tpo"; exit 1; fi In file included from shapes.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi In file included from unconditional.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ unconditional.c:670:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 670 | clear_unconditionally_meaningless_moves() | ^ | void 4 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT value_moves.o -MD -MP -MF ".deps/value_moves.Tpo" -c -o value_moves.o value_moves.c; \ then mv -f ".deps/value_moves.Tpo" ".deps/value_moves.Po"; else rm -f ".deps/value_moves.Tpo"; exit 1; fi In file included from surround.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT worm.o -MD -MP -MF ".deps/worm.Tpo" -c -o worm.o worm.c; \ then mv -f ".deps/worm.Tpo" ".deps/worm.Po"; else rm -f ".deps/worm.Tpo"; exit 1; fi In file included from utils.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ utils.c:1944:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1944 | clearstats() | ^ | void utils.c:1953:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1953 | showstats() | ^ | void 5 warnings generated. rm -f libboard.a ar cru libboard.a board.o boardlib.o hash.o printutils.o ranlib libboard.a In file included from readconnect.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ readconnect.c:1470:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 1470 | for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) | ^ readconnect.c:1467:3: note: previous statement is here 1467 | if (res == 0) | ^ readconnect.c:1750:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 1750 | for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) | ^ readconnect.c:1747:3: note: previous statement is here 1747 | if (res == 0) | ^ readconnect.c:1895:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1895 | reset_connection_node_counter() | ^ | void readconnect.c:1903:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1903 | get_connection_node_counter() | ^ | void 7 warnings generated. In file included from worm.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ worm.c:522:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 522 | build_worms() | ^ | void worm.c:568:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 568 | compute_effective_worm_sizes() | ^ | void worm.c:697:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 697 | compute_unconditional_status() | ^ | void worm.c:735:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 735 | find_worm_attacks_and_defenses() | ^ | void worm.c:876:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 876 | find_worm_threats() | ^ | void worm.c:1727:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1727 | compute_worm_influence() | ^ | void 9 warnings generated. In file included from reading.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ reading.c:1853:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 1853 | squeeze_moves(str, &moves); | ^ reading.c:1851:3: note: previous statement is here 1851 | if (stackp <= superstring_depth) | ^ reading.c:5491:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 5491 | reset_reading_node_counter() | ^ | void reading.c:5499:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 5499 | get_reading_node_counter() | ^ | void reading.c:5509:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 5509 | draw_reading_shadow() | ^ | void 7 warnings generated. In file included from owl.c:49: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ owl.c:7163:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 7163 | reset_owl_node_counter() | ^ | void owl.c:7171:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 7171 | get_owl_node_counter() | ^ | void 5 warnings generated. In file included from value_moves.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. rm -f libengine.a ar cru libengine.a aftermath.o board.o boardlib.o breakin.o cache.o clock.o combination.o dragon.o endgame.o filllib.o fuseki.o genmove.o globals.o handicap.o hash.o influence.o interface.o matchpat.o montecarlo.o move_reasons.o movelist.o optics.o oracle.o owl.o persistent.o printutils.o readconnect.o reading.o semeai.o sgfdecide.o sgffile.o shapes.o showbord.o surround.o unconditional.o utils.o value_moves.o worm.o ranlib libengine.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/engine' Making all in patterns gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/patterns' if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT connections.o -MD -MP -MF ".deps/connections.Tpo" -c -o connections.o connections.c; \ then mv -f ".deps/connections.Tpo" ".deps/connections.Po"; else rm -f ".deps/connections.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT helpers.o -MD -MP -MF ".deps/helpers.Tpo" -c -o helpers.o helpers.c; \ then mv -f ".deps/helpers.Tpo" ".deps/helpers.Po"; else rm -f ".deps/helpers.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT transform.o -MD -MP -MF ".deps/transform.Tpo" -c -o transform.o transform.c; \ then mv -f ".deps/transform.Tpo" ".deps/transform.Po"; else rm -f ".deps/transform.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT mkpat.o -MD -MP -MF ".deps/mkpat.Tpo" -c -o mkpat.o mkpat.c; \ then mv -f ".deps/mkpat.Tpo" ".deps/mkpat.Po"; else rm -f ".deps/mkpat.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT dfa.o -MD -MP -MF ".deps/dfa.Tpo" -c -o dfa.o dfa.c; \ then mv -f ".deps/dfa.Tpo" ".deps/dfa.Po"; else rm -f ".deps/dfa.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT mkeyes.o -MD -MP -MF ".deps/mkeyes.Tpo" -c -o mkeyes.o mkeyes.c; \ then mv -f ".deps/mkeyes.Tpo" ".deps/mkeyes.Po"; else rm -f ".deps/mkeyes.Tpo"; exit 1; fi In file included from transform.c:24: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT uncompress_fuseki.o -MD -MP -MF ".deps/uncompress_fuseki.Tpo" -c -o uncompress_fuseki.o uncompress_fuseki.c; \ then mv -f ".deps/uncompress_fuseki.Tpo" ".deps/uncompress_fuseki.Po"; else rm -f ".deps/uncompress_fuseki.Tpo"; exit 1; fi In file included from connections.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT joseki.o -MD -MP -MF ".deps/joseki.Tpo" -c -o joseki.o joseki.c; \ then mv -f ".deps/joseki.Tpo" ".deps/joseki.Po"; else rm -f ".deps/joseki.Tpo"; exit 1; fi In file included from mkeyes.c:40: In file included from ./eyes.h:24: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ mkeyes.c:297:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] 297 | int count = 0; | ^ 4 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT mkmcpat.o -MD -MP -MF ".deps/mkmcpat.Tpo" -c -o mkmcpat.o mkmcpat.c; \ then mv -f ".deps/mkmcpat.Tpo" ".deps/mkmcpat.Po"; else rm -f ".deps/mkmcpat.Tpo"; exit 1; fi In file included from helpers.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT globals.o -MD -MP -MF ".deps/globals.Tpo" -c -o globals.o `test -f '../engine/globals.c' || echo './'`../engine/globals.c; \ then mv -f ".deps/globals.Tpo" ".deps/globals.Po"; else rm -f ".deps/globals.Tpo"; exit 1; fi In file included from ../engine/globals.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o mkeyes mkeyes.o ../utils/libutils.a -lncurses -lm In file included from uncompress_fuseki.c:28: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ uncompress_fuseki.c:227:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 227 | printf(output_strings[PREAMBLE]); | ^~~~~~~~~~~~~~~~~~~~~~~~ uncompress_fuseki.c:227:12: note: treat the string as an argument to avoid this 227 | printf(output_strings[PREAMBLE]); | ^ | "%s", uncompress_fuseki.c:229:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 229 | printf(output_strings[FOOTER]); | ^~~~~~~~~~~~~~~~~~~~~~ uncompress_fuseki.c:229:12: note: treat the string as an argument to avoid this 229 | printf(output_strings[FOOTER]); | ^ | "%s", uncompress_fuseki.c:254:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 254 | printf(output_strings[PREAMBLE]); | ^~~~~~~~~~~~~~~~~~~~~~~~ uncompress_fuseki.c:254:10: note: treat the string as an argument to avoid this 254 | printf(output_strings[PREAMBLE]); | ^ | "%s", uncompress_fuseki.c:311:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 311 | printf(output_strings[FOOTER]); | ^~~~~~~~~~~~~~~~~~~~~~ uncompress_fuseki.c:311:10: note: treat the string as an argument to avoid this 311 | printf(output_strings[FOOTER]); | ^ | "%s", 7 warnings generated. In file included from joseki.c:26: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o uncompress_fuseki uncompress_fuseki.o ../utils/libutils.a ../engine/libboard.a ../sgf/libsgf.a -lncurses -lm In file included from mkmcpat.c:32: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o joseki joseki.o ../engine/libboard.a ../sgf/libsgf.a ../utils/libutils.a -lncurses -lm cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o mkmcpat mkmcpat.o globals.o ../engine/libengine.a ../sgf/libsgf.a ../utils/libutils.a -lncurses -lm ./joseki JG ./gogo.sgf >gogo.db ./joseki JHK ./hoshi_keima.sgf >hoshi_keima.db ./joseki JHO ./hoshi_other.sgf >hoshi_other.db ./joseki JK ./komoku.sgf >komoku.db ./joseki JS ./sansan.sgf >sansan.db ./joseki JM ./mokuhazushi.sgf >mokuhazushi.db ./joseki JT ./takamoku.sgf >takamoku.db ./mkmcpat ./mc_montegnu_classic.db ./mc_mogo_classic.db ./mc_uniform.db > mcpat.c ./uncompress_fuseki 9 ./fuseki9.dbz c >fuseki9.c ./uncompress_fuseki 13 ./fuseki13.dbz c >fuseki13.c ./uncompress_fuseki 19 ./fuseki19.dbz c >fuseki19.c if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fuseki9.o -MD -MP -MF ".deps/fuseki9.Tpo" -c -o fuseki9.o fuseki9.c; \ then mv -f ".deps/fuseki9.Tpo" ".deps/fuseki9.Po"; else rm -f ".deps/fuseki9.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fuseki13.o -MD -MP -MF ".deps/fuseki13.Tpo" -c -o fuseki13.o fuseki13.c; \ then mv -f ".deps/fuseki13.Tpo" ".deps/fuseki13.Po"; else rm -f ".deps/fuseki13.Tpo"; exit 1; fi ./mkeyes < ./eyes.db >eyes.c if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fuseki19.o -MD -MP -MF ".deps/fuseki19.Tpo" -c -o fuseki19.o fuseki19.c; \ then mv -f ".deps/fuseki19.Tpo" ".deps/fuseki19.Po"; else rm -f ".deps/fuseki19.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT eyes.o -MD -MP -MF ".deps/eyes.Tpo" -c -o eyes.o eyes.c; \ then mv -f ".deps/eyes.Tpo" ".deps/eyes.Po"; else rm -f ".deps/eyes.Tpo"; exit 1; fi In file included from dfa.c:28: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ dfa.c:291:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 291 | fprintf(f, line); | ^~~~ dfa.c:291:14: note: treat the string as an argument to avoid this 291 | fprintf(f, line); | ^ | "%s", dfa.c:298:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 298 | fprintf(f, line); | ^~~~ dfa.c:298:14: note: treat the string as an argument to avoid this 298 | fprintf(f, line); | ^ | "%s", dfa.c:303:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 303 | fprintf(f, line); | ^~~~ dfa.c:303:14: note: treat the string as an argument to avoid this 303 | fprintf(f, line); | ^ | "%s", dfa.c:321:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 321 | fprintf(f, line); | ^~~~ dfa.c:321:14: note: treat the string as an argument to avoid this 321 | fprintf(f, line); | ^ | "%s", 7 warnings generated. In file included from fuseki9.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT mcpat.o -MD -MP -MF ".deps/mcpat.Tpo" -c -o mcpat.o mcpat.c; \ then mv -f ".deps/mcpat.Tpo" ".deps/mcpat.Po"; else rm -f ".deps/mcpat.Tpo"; exit 1; fi In file included from fuseki13.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from eyes.c:29: In file included from ./eyes.h:24: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from mkpat.c:84: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ mkpat.c:1422:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1422 | code_pos += sprintf(code_pos, autohelper_functions[funcno].code); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkpat.c:1422:37: note: treat the string as an argument to avoid this 1422 | code_pos += sprintf(code_pos, autohelper_functions[funcno].code); | ^ | "%s", 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o mkpat mkpat.o transform.o dfa.o ../utils/libutils.a -lncurses -lm ./mkpat -c conn -i ./conn.db -o conn.c ./mkpat -b pat -i ./patterns.db -i./patterns2.db \ -o patterns.c ./mkpat -X attpat -i ./attack.db -o apatterns.c ./mkpat defpat -i ./defense.db -o dpatterns.c ./mkpat -c influencepat -i ./influence.db -o influence.c ./mkpat -c -b barrierspat -i ./barriers.db -o barriers.c ./mkpat -b endpat -i ./endgame.db -o endgame.c ./mkpat -D -m -b -t ./aa_attackpats.dtr aa_attackpat \ -i ./aa_attackpats.db -o aa_attackpat.c ./mkpat -D -m -b -t ./owl_attackpats.dtr owl_attackpat \ -i ./owl_attackpats.db -o owl_attackpat.c ./mkpat -D -m -b -t ./owl_vital_apats.dtr owl_vital_apat \ -i ./owl_vital_apats.db -o owl_vital_apat.c ./mkpat -D -m -b -t ./owl_defendpats.dtr owl_defendpat \ -i ./owl_defendpats.db -o owl_defendpat.c --------------------------- DFA for aa_attackpat size: 3 kB for 28 patterns (375 states) --------------------------- ./mkpat -b fusekipat -i ./fuseki.db -o fusekipat.c --------------------------- DFA for owl_vital_apat size: 10 kB for 59 patterns (1032 states) --------------------------- ./mkpat -C joseki -i gogo.db -i hoshi_keima.db -i hoshi_other.db -i komoku.db -i sansan.db -i mokuhazushi.db -i takamoku.db -o josekidb.c ./mkpat -b handipat -i ./handicap.db -o handipat.c ./mkpat -b oracle -i ./oracle.db -o oraclepat.c if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT conn.o -MD -MP -MF ".deps/conn.Tpo" -c -o conn.o conn.c; \ then mv -f ".deps/conn.Tpo" ".deps/conn.Po"; else rm -f ".deps/conn.Tpo"; exit 1; fi --------------------------- DFA for owl_attackpat size: 93 kB for 397 patterns (9414 states) --------------------------- corner database for joseki size: 279 kB for 1622 patterns (8673 variations) --------------------------- if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT patterns.o -MD -MP -MF ".deps/patterns.Tpo" -c -o patterns.o patterns.c; \ then mv -f ".deps/patterns.Tpo" ".deps/patterns.Po"; else rm -f ".deps/patterns.Tpo"; exit 1; fi --------------------------- --------------------------- if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT apatterns.o -MD -MP -MF ".deps/apatterns.Tpo" -c -o apatterns.o apatterns.c; \ then mv -f ".deps/apatterns.Tpo" ".deps/apatterns.Po"; else rm -f ".deps/apatterns.Tpo"; exit 1; fi DFA for owl_defendpat size: 125 kB for 488 patterns (12653 states) --------------------------- if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT dpatterns.o -MD -MP -MF ".deps/dpatterns.Tpo" -c -o dpatterns.o dpatterns.c; \ then mv -f ".deps/dpatterns.Tpo" ".deps/dpatterns.Po"; else rm -f ".deps/dpatterns.Tpo"; exit 1; fi In file included from conn.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from apatterns.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT influence.o -MD -MP -MF ".deps/influence.Tpo" -c -o influence.o influence.c; \ then mv -f ".deps/influence.Tpo" ".deps/influence.Po"; else rm -f ".deps/influence.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT barriers.o -MD -MP -MF ".deps/barriers.Tpo" -c -o barriers.o barriers.c; \ then mv -f ".deps/barriers.Tpo" ".deps/barriers.Po"; else rm -f ".deps/barriers.Tpo"; exit 1; fi In file included from dpatterns.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT endgame.o -MD -MP -MF ".deps/endgame.Tpo" -c -o endgame.o endgame.c; \ then mv -f ".deps/endgame.Tpo" ".deps/endgame.Po"; else rm -f ".deps/endgame.Tpo"; exit 1; fi In file included from influence.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT aa_attackpat.o -MD -MP -MF ".deps/aa_attackpat.Tpo" -c -o aa_attackpat.o aa_attackpat.c; \ then mv -f ".deps/aa_attackpat.Tpo" ".deps/aa_attackpat.Po"; else rm -f ".deps/aa_attackpat.Tpo"; exit 1; fi In file included from endgame.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT owl_attackpat.o -MD -MP -MF ".deps/owl_attackpat.Tpo" -c -o owl_attackpat.o owl_attackpat.c; \ then mv -f ".deps/owl_attackpat.Tpo" ".deps/owl_attackpat.Po"; else rm -f ".deps/owl_attackpat.Tpo"; exit 1; fi In file included from fuseki19.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT owl_vital_apat.o -MD -MP -MF ".deps/owl_vital_apat.Tpo" -c -o owl_vital_apat.o owl_vital_apat.c; \ then mv -f ".deps/owl_vital_apat.Tpo" ".deps/owl_vital_apat.Po"; else rm -f ".deps/owl_vital_apat.Tpo"; exit 1; fi In file included from aa_attackpat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT owl_defendpat.o -MD -MP -MF ".deps/owl_defendpat.Tpo" -c -o owl_defendpat.o owl_defendpat.c; \ then mv -f ".deps/owl_defendpat.Tpo" ".deps/owl_defendpat.Po"; else rm -f ".deps/owl_defendpat.Tpo"; exit 1; fi In file included from owl_vital_apat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ owl_vital_apat.c:615:27: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 615 | return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; | ^ ~~ owl_vital_apat.c:615:27: note: add parentheses after the '!' to evaluate the comparison first 615 | return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; | ^ | ( ) owl_vital_apat.c:615:27: note: add parentheses around left hand side expression to silence this warning 615 | return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; | ^ | ( ) owl_vital_apat.c:615:85: warning: result of comparison of constant 5 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] 615 | return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~ 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fusekipat.o -MD -MP -MF ".deps/fusekipat.Tpo" -c -o fusekipat.o fusekipat.c; \ then mv -f ".deps/fusekipat.Tpo" ".deps/fusekipat.Po"; else rm -f ".deps/fusekipat.Tpo"; exit 1; fi In file included from barriers.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT josekidb.o -MD -MP -MF ".deps/josekidb.Tpo" -c -o josekidb.o josekidb.c; \ then mv -f ".deps/josekidb.Tpo" ".deps/josekidb.Po"; else rm -f ".deps/josekidb.Tpo"; exit 1; fi In file included from fusekipat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT handipat.o -MD -MP -MF ".deps/handipat.Tpo" -c -o handipat.o handipat.c; \ then mv -f ".deps/handipat.Tpo" ".deps/handipat.Po"; else rm -f ".deps/handipat.Tpo"; exit 1; fi In file included from handipat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT oraclepat.o -MD -MP -MF ".deps/oraclepat.Tpo" -c -o oraclepat.o oraclepat.c; \ then mv -f ".deps/oraclepat.Tpo" ".deps/oraclepat.Po"; else rm -f ".deps/oraclepat.Tpo"; exit 1; fi In file included from owl_attackpat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from oraclepat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from josekidb.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from mcpat.c:30: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from owl_defendpat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ owl_defendpat.c:6425:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] 6425 | int a, b; | ^ owl_defendpat.c:6438:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] 6438 | int a, b; | ^ 5 warnings generated. In file included from patterns.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. rm -f libpatterns.a ar cru libpatterns.a connections.o helpers.o transform.o conn.o patterns.o apatterns.o dpatterns.o eyes.o influence.o barriers.o endgame.o aa_attackpat.o owl_attackpat.o owl_vital_apat.o owl_defendpat.o fusekipat.o fuseki9.o fuseki13.o fuseki19.o josekidb.o handipat.o oraclepat.o mcpat.o ranlib libpatterns.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/patterns' Making all in interface gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/interface' if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../sgf -I../engine -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../sgf -I../engine -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT play_ascii.o -MD -MP -MF ".deps/play_ascii.Tpo" -c -o play_ascii.o play_ascii.c; \ then mv -f ".deps/play_ascii.Tpo" ".deps/play_ascii.Po"; else rm -f ".deps/play_ascii.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../sgf -I../engine -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT play_gmp.o -MD -MP -MF ".deps/play_gmp.Tpo" -c -o play_gmp.o play_gmp.c; \ then mv -f ".deps/play_gmp.Tpo" ".deps/play_gmp.Po"; else rm -f ".deps/play_gmp.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../sgf -I../engine -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT play_gtp.o -MD -MP -MF ".deps/play_gtp.Tpo" -c -o play_gtp.o play_gtp.c; \ then mv -f ".deps/play_gtp.Tpo" ".deps/play_gtp.Po"; else rm -f ".deps/play_gtp.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../sgf -I../engine -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT play_solo.o -MD -MP -MF ".deps/play_solo.Tpo" -c -o play_solo.o play_solo.c; \ then mv -f ".deps/play_solo.Tpo" ".deps/play_solo.Po"; else rm -f ".deps/play_solo.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../sgf -I../engine -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT play_test.o -MD -MP -MF ".deps/play_test.Tpo" -c -o play_test.o play_test.c; \ then mv -f ".deps/play_test.Tpo" ".deps/play_test.Po"; else rm -f ".deps/play_test.Tpo"; exit 1; fi In file included from play_gmp.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../sgf -I../engine -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT gmp.o -MD -MP -MF ".deps/gmp.Tpo" -c -o gmp.o gmp.c; \ then mv -f ".deps/gmp.Tpo" ".deps/gmp.Po"; else rm -f ".deps/gmp.Tpo"; exit 1; fi In file included from play_test.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../sgf -I../engine -I../utils -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT gtp.o -MD -MP -MF ".deps/gtp.Tpo" -c -o gtp.o gtp.c; \ then mv -f ".deps/gtp.Tpo" ".deps/gtp.Po"; else rm -f ".deps/gtp.Tpo"; exit 1; fi In file included from play_solo.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from main.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ main.c:1811:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 1811 | #if !USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ main.c:1811:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ main.c:1811:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ main.c:1888:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 1888 | #if !USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ main.c:1888:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ main.c:1888:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 9 warnings generated. In file included from gtp.c:46: In file included from ./gtp.h:42: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ gtp.c:275:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 275 | gtp_finish_response() | ^ | void gtp.c:312:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 312 | gtp_panic() | ^ | void 5 warnings generated. In file included from play_ascii.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. In file included from play_gtp.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 35 | ((defined(_WIN32) || defined(_WIN32_WCE)) \ | ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' 36 | && defined(ENABLE_SOCKET_SUPPORT)) | ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gnugo main.o play_ascii.o play_gmp.o play_gtp.o play_solo.o play_test.o gmp.o gtp.o ../engine/libengine.a ../patterns/libpatterns.a ../sgf/libsgf.a ../utils/libutils.a -lncurses -lm gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/interface' Making all in doc gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' gmake all-am gmake[3]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/missing --run makeinfo --no-split --version) >/dev/null 2>&1; then \ for f in gnugo.info gnugo.info-[0-9] gnugo.info-[0-9][0-9] gnugo.i[0-9] gnugo.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/sh /wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/missing --run makeinfo --no-split -I . \ -o gnugo.info gnugo.texi; \ then \ rc=0; \ cd .; \ else \ rc=$?; \ cd . && \ $restore $backupdir/* `echo "./gnugo.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc /wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/missing: makeinfo: not found WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy `make' (AIX, DU, IRIX). You might want to install the `Texinfo' package or the `GNU make' package. Grab either from any GNU archive site. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' Making all in regression gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/regression' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/regression' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8' gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> gnugo-3.8_2 depends on executable: indexinfo - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for gnugo-3.8_2 ===> Generating temporary packing list Making install in utils gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/utils' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/utils' gmake[2]: Nothing to be done for 'install-exec-am'. gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/utils' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/utils' Making install in sgf gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/sgf' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/sgf' gmake[2]: Nothing to be done for 'install-exec-am'. gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/sgf' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/sgf' Making install in engine gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/engine' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/engine' gmake[2]: Nothing to be done for 'install-exec-am'. gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/engine' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/engine' Making install in patterns gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/patterns' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/patterns' gmake[2]: Nothing to be done for 'install-exec-am'. gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/patterns' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/patterns' Making install in interface gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/interface' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/interface' test -z "/usr/local/bin" || /bin/sh ../mkinstalldirs "/wrkdirs/usr/ports/games/gnugo/work/stage/usr/local/bin" install -s -m 555 'gnugo' '/wrkdirs/usr/ports/games/gnugo/work/stage/usr/local/bin/gnugo' gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/interface' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/interface' Making install in doc gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' gmake install-am gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' gmake[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/local/share/info/" || /bin/sh ../mkinstalldirs "/wrkdirs/usr/ports/games/gnugo/work/stage/usr/local/share/info/" install -m 0644 './gnugo.info' '/wrkdirs/usr/ports/games/gnugo/work/stage/usr/local/share/info//gnugo.info' test -z "/usr/local/share/man/man6" || /bin/sh ../mkinstalldirs "/wrkdirs/usr/ports/games/gnugo/work/stage/usr/local/share/man/man6" install -m 0644 './gnugo.6' '/wrkdirs/usr/ports/games/gnugo/work/stage/usr/local/share/man/man6/gnugo.6' gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/doc' Making install in regression gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/regression' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/regression' gmake[2]: Nothing to be done for 'install-exec-am'. gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/regression' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8/regression' gmake[1]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8' gmake[2]: Nothing to be done for 'install-exec-am'. gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gnugo/work/gnugo-3.8' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-06-03T09:54:06+0000' 'PKG_NOTE_ports_top_git_hash=e9dbd0e24778' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=3a2b6e5de3fa' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240424' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for gnugo-3.8_2 ===> Building gnugo-3.8_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for gnugo-3.8_2 build of games/gnugo | gnugo-3.8_2 ended at Mon Jun 3 04:55:04 CDT 2024 build time: 00:00:59