>>> Building on exopi-5 under games/gnugo DIST = [games/gnugo:gnugo-3.8.tar.gz] FULLPKGNAME = gnugo-3.8p3 distfiles size=3200454 >>> Running build in games/gnugo at 1734969102.40 ===> games/gnugo ===> Building from scratch gnugo-3.8p3 ===> Verifying specs: c m curses ===> found c.100.3 m.10.1 curses.15.0 ===> Checking files for gnugo-3.8p3 `/exopi-cvs/ports/distfiles/gnugo-3.8.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for gnugo-3.8p3 ===> Patching for gnugo-3.8p3 ===> Applying OpenBSD patch patch-doc_gnugo_texi Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: doc/gnugo.texi |--- doc/gnugo.texi.orig |+++ doc/gnugo.texi -------------------------- Patching file doc/gnugo.texi using Plan A... Hunk #1 succeeded at 2. done ===> Applying OpenBSD patch patch-engine_globals_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: engine/globals.c |--- engine/globals.c.orig |+++ engine/globals.c -------------------------- Patching file engine/globals.c using Plan A... Hunk #1 succeeded at 152. done ===> Applying OpenBSD patch patch-engine_liberty_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: engine/liberty.h |--- engine/liberty.h.orig |+++ engine/liberty.h -------------------------- Patching file engine/liberty.h using Plan A... Hunk #1 succeeded at 857. done ===> Applying OpenBSD patch patch-engine_readconnect_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: engine/readconnect.c |--- engine/readconnect.c.orig |+++ engine/readconnect.c -------------------------- Patching file engine/readconnect.c using Plan A... Hunk #1 succeeded at 1879. Hunk #2 succeeded at 2580. done ===> Applying OpenBSD patch patch-engine_reading_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: engine/reading.c |--- engine/reading.c.orig |+++ engine/reading.c -------------------------- Patching file engine/reading.c using Plan A... Hunk #1 succeeded at 5060. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for gnugo-3.8p3 ===> Configuring for gnugo-3.8p3 Using /exopi-obj/pobj/gnugo-3.8/config.site (generated) configure: loading site script /exopi-obj/pobj/gnugo-3.8/config.site checking for a BSD-compatible install... /exopi-obj/pobj/gnugo-3.8/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for library containing pow... -lm checking for mingw32... (cached) no checking how to run the C preprocessor... cc -E checking for ranlib... (cached) ranlib checking whether make sets $(MAKE)... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for an ANSI C-conforming const... (cached) 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 ===> Building for gnugo-3.8p3 /usr/bin/make all-recursive Making all in utils if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -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 getopt.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] gg_getopt (argc, argv, optstring) ^ 6 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -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 getopt1.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] getopt_long_only (argc, argv, options, long_options, opt_index) ^ 2 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -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 -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 -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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ./winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ winsocket.c:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ./winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 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 Making all in 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 -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 -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 sgfnode.c:102:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] sgfNewNode() ^ void sgfnode.c:921:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] nexttoken() ^ void 2 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../utils -O2 -pipe -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 rm -f libsgf.a ar cru libsgf.a sgf_utils.o sgfnode.o sgftree.o ranlib libsgf.a 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 -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 -o sgfgen sgfgen.o -lncurses -lm Making all in 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ board.c:722:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] popgo() ^ void board.c:760:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] undo_trymove() ^ void board.c:1031:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_last_move() ^ void board.c:1043:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_last_player() ^ void board.c:1407:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_komaster() ^ void board.c:1413:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_kom_pos() ^ void board.c:3268:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reset_trymove_counter() ^ void board.c:3276:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ breakin.c:445:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clear_break_in_list() ^ 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ cache.c:295:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reading_cache_clear() ^ void cache.c:301:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reading_cache_default_size() ^ 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ clock.c:161:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] init_timers() ^ void clock.c:380:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ dragon.c:440:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] find_lunches() ^ void dragon.c:489:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] eye_computations() ^ void dragon.c:530:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] revise_inessentiality() ^ void dragon.c:763:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] find_neighbor_dragons() ^ void dragon.c:1102:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] identify_thrashing_dragons() ^ void dragon.c:1199:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] compute_dragon_influence() ^ void dragon.c:2214:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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] compute_strategic_sizes() ^ void dragon.c:2446:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clear_cut_list() ^ void 12 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ genmove.c:75:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reset_engine() ^ void genmove.c:924:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ handicap.c:307:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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] 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] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ matchpat.c:78:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] prepare_pattern_profiling() ^ void matchpat.c:105:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ owl.c:7163:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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] get_owl_node_counter() ^ 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ persistent.c:563:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] persistent_cache_init() ^ void persistent.c:575:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clear_persistent_caches() ^ void persistent.c:589:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ readconnect.c:1470:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) ^ readconnect.c:1467:3: note: previous statement is here if (res == 0) ^ readconnect.c:1750:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) ^ readconnect.c:1747:3: note: previous statement is here if (res == 0) ^ readconnect.c:1895:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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] get_connection_node_counter() ^ void 7 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ reading.c:1853:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] squeeze_moves(str, &moves); ^ reading.c:1851:3: note: previous statement is here if (stackp <= superstring_depth) ^ reading.c:5491:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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] 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] draw_reading_shadow() ^ void 7 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ semeai.c:51:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] semeai() ^ void semeai.c:242:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ sgfdecide.c:422:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ showbord.c:101:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] start_draw_board() ^ void showbord.c:149:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ unconditional.c:666:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ utils.c:1944:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clearstats() ^ void utils.c:1953:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] showstats() ^ 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ worm.c:522:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] build_worms() ^ void worm.c:568:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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] compute_unconditional_status() ^ void worm.c:735:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 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] find_worm_threats() ^ void worm.c:1727:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] compute_worm_influence() ^ void 9 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 rm -f libboard.a ar cru libboard.a board.o boardlib.o hash.o printutils.o ranlib libboard.a Making all in 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ mkpat.c:1422:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] code_pos += sprintf(code_pos, autohelper_functions[funcno].code); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkpat.c:1422:37: note: treat the string as an argument to avoid this code_pos += sprintf(code_pos, autohelper_functions[funcno].code); ^ "%s", 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ dfa.c:291:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, line); ^~~~ dfa.c:291:14: note: treat the string as an argument to avoid this fprintf(f, line); ^ "%s", dfa.c:298:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, line); ^~~~ dfa.c:298:14: note: treat the string as an argument to avoid this fprintf(f, line); ^ "%s", dfa.c:303:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, line); ^~~~ dfa.c:303:14: note: treat the string as an argument to avoid this fprintf(f, line); ^ "%s", dfa.c:321:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, line); ^~~~ dfa.c:321:14: note: treat the string as an argument to avoid this fprintf(f, line); ^ "%s", 7 warnings generated. cc -O2 -pipe -o mkpat mkpat.o transform.o dfa.o ../utils/libutils.a -lncurses -lm ld: warning: dfa.c(dfa.o:(new_dfa)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: mkpat.c(mkpat.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: mkpat.c(mkpat.o:(finish_constraint_and_action)): warning: sprintf() is often misused, please use snprintf() ./mkpat -c conn -i ./conn.db -o conn.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -b pat -i ./patterns.db -i./patterns2.db -o patterns.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -X attpat -i ./attack.db -o apatterns.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat defpat -i ./defense.db -o dpatterns.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ mkeyes.c:297:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ 4 warnings generated. cc -O2 -pipe -o mkeyes mkeyes.o ../utils/libutils.a -lncurses -lm ./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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -c influencepat -i ./influence.db -o influence.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -c -b barrierspat -i ./barriers.db -o barriers.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -b endpat -i ./endgame.db -o endgame.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -D -m -b -t ./aa_attackpats.dtr aa_attackpat -i ./aa_attackpats.db -o aa_attackpat.c --------------------------- DFA for aa_attackpat size: 3 kB for 28 patterns (375 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -D -m -b -t ./owl_attackpats.dtr owl_attackpat -i ./owl_attackpats.db -o owl_attackpat.c --------------------------- DFA for owl_attackpat size: 93 kB for 397 patterns (9414 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -D -m -b -t ./owl_vital_apats.dtr owl_vital_apat -i ./owl_vital_apats.db -o owl_vital_apat.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 -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 --------------------------- DFA for owl_vital_apat size: 10 kB for 59 patterns (1032 states) --------------------------- 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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] 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 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 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] return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~ 5 warnings generated. ./mkpat -D -m -b -t ./owl_defendpats.dtr owl_defendpat -i ./owl_defendpats.db -o owl_defendpat.c --------------------------- 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 -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_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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ owl_defendpat.c:6425:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a, b; ^ owl_defendpat.c:6438:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a, b; ^ 5 warnings generated. ./mkpat -b fusekipat -i ./fuseki.db -o fusekipat.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ uncompress_fuseki.c:227:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(output_strings[PREAMBLE]); ^~~~~~~~~~~~~~~~~~~~~~~~ uncompress_fuseki.c:227:12: note: treat the string as an argument to avoid this printf(output_strings[PREAMBLE]); ^ "%s", uncompress_fuseki.c:229:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(output_strings[FOOTER]); ^~~~~~~~~~~~~~~~~~~~~~ uncompress_fuseki.c:229:12: note: treat the string as an argument to avoid this printf(output_strings[FOOTER]); ^ "%s", uncompress_fuseki.c:254:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(output_strings[PREAMBLE]); ^~~~~~~~~~~~~~~~~~~~~~~~ uncompress_fuseki.c:254:10: note: treat the string as an argument to avoid this printf(output_strings[PREAMBLE]); ^ "%s", uncompress_fuseki.c:311:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(output_strings[FOOTER]); ^~~~~~~~~~~~~~~~~~~~~~ uncompress_fuseki.c:311:10: note: treat the string as an argument to avoid this printf(output_strings[FOOTER]); ^ "%s", 7 warnings generated. cc -O2 -pipe -o uncompress_fuseki uncompress_fuseki.o ../utils/libutils.a ../engine/libboard.a ../sgf/libsgf.a -lncurses -lm ld: warning: hash.c(hash.o:(hashdata_to_string) in archive ../engine/libboard.a): warning: sprintf() is often misused, please use snprintf() ld: warning: sgfnode.c(sgfnode.o:(sgfOverwriteProperty) in archive ../sgf/libsgf.a): warning: strcpy() is almost always misused, please use strlcpy() ./uncompress_fuseki 9 ./fuseki9.dbz c >fuseki9.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./uncompress_fuseki 13 ./fuseki13.dbz c >fuseki13.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. cc -O2 -pipe -o joseki joseki.o ../engine/libboard.a ../sgf/libsgf.a ../utils/libutils.a -lncurses -lm ld: warning: printutils.c(printutils.o:(vgprintf) in archive ../engine/libboard.a): warning: sprintf() is often misused, please use snprintf() ld: warning: sgfnode.c(sgfnode.o:(sgfOverwriteProperty) in archive ../sgf/libsgf.a): warning: strcpy() is almost always misused, please use strlcpy() ./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 ./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 --------------------------- 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 -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 corner database for joseki size: 279 kB for 1622 patterns (8673 variations) --------------------------- 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./mkpat -b handipat -i ./handicap.db -o handipat.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 -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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. ./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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. cc -O2 -pipe -o mkmcpat mkmcpat.o globals.o ../engine/libengine.a ../sgf/libsgf.a ../utils/libutils.a -lncurses -lm ld: warning: hash.c(hash.o:(hashdata_to_string) in archive ../engine/libengine.a): warning: sprintf() is often misused, please use snprintf() ld: warning: mkmcpat.c(mkmcpat.o:(copy_and_trim_name)): warning: strcpy() is almost always misused, please use strlcpy() ./mkmcpat ./mc_montegnu_classic.db ./mc_mogo_classic.db ./mc_uniform.db > mcpat.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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 Making all in 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ main.c:1811:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if !USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ main.c:1888:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if !USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ 9 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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_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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && 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 -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 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 -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 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] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((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' ((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' && defined(ENABLE_SOCKET_SUPPORT)) ^ gtp.c:275:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] gtp_finish_response() ^ void gtp.c:312:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] gtp_panic() ^ void 5 warnings generated. cc -O2 -pipe -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 ld: warning: play_solo.c(play_solo.o:(load_and_score_sgf_file)): warning: sprintf() is often misused, please use snprintf() ld: warning: play_ascii.c(play_ascii.o:(ascii_showboard)): warning: strcat() is almost always misused, please use strlcat() ld: warning: main.c(main.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() Making all in doc /usr/bin/make all-am restore=: && backupdir=".am$$" && am__cwd=`pwd` && cd . && rm -rf $backupdir && mkdir $backupdir && if (/bin/sh /exopi-obj/pobj/gnugo-3.8/gnugo-3.8/missing --run makeinfo --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 /exopi-obj/pobj/gnugo-3.8/gnugo-3.8/missing --run makeinfo -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 Making all in regression >>> Running package in games/gnugo at 1734969159.37 ===> games/gnugo ===> Faking installation for gnugo-3.8p3 Making install in utils Making install in sgf Making install in engine Making install in patterns Making install in interface test -z "/usr/local/bin" || mkdir -p -- "/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/bin" /exopi-obj/pobj/gnugo-3.8/bin/install -c -s -m 755 'gnugo' '/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/bin/gnugo' Making install in doc /usr/bin/make install-am test -z "/usr/local/info" || mkdir -p -- "/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/info" /exopi-obj/pobj/gnugo-3.8/bin/install -c -m 644 './gnugo.info' '/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/info/gnugo.info' /exopi-obj/pobj/gnugo-3.8/bin/install -c -m 644 './gnugo.info-1' '/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/info/gnugo.info-1' /exopi-obj/pobj/gnugo-3.8/bin/install -c -m 644 './gnugo.info-2' '/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/info/gnugo.info-2' /exopi-obj/pobj/gnugo-3.8/bin/install -c -m 644 './gnugo.info-3' '/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/info/gnugo.info-3' install-info --info-dir='/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/info' '/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/info/gnugo.info' test -z "/usr/local/man/man6" || mkdir -p -- "/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/man/man6" /exopi-obj/pobj/gnugo-3.8/bin/install -c -m 644 './gnugo.6' '/exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/man/man6/gnugo.6' Making install in regression /exopi-obj/pobj/gnugo-3.8/bin/install -d -m 755 /exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/share/gnugo /exopi-obj/pobj/gnugo-3.8/bin/install -c -m 644 /exopi-obj/pobj/gnugo-3.8/gnugo-3.8/interface/gnugo.el /exopi-obj/pobj/gnugo-3.8/fake-amd64/usr/local/share/gnugo ===> Building package for gnugo-3.8p3 Create /exopi-cvs/ports/packages/amd64/all/gnugo-3.8p3.tgz Creating package gnugo-3.8p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 7% checksumming|******** | 13% checksumming|************ | 20% checksumming|**************** | 27% checksumming|******************** | 33% checksumming|************************ | 40% checksumming|**************************** | 47% checksumming|********************************* | 53% checksumming|************************************* | 60% checksumming|***************************************** | 67% checksumming|********************************************* | 73% checksumming|************************************************* | 80% checksumming|***************************************************** | 87% checksumming|********************************************************* | 93% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*************** | 24% archiving|****************************** | 47% archiving|********************************************* | 71% archiving|*********************************************************** | 92% archiving|************************************************************* | 95% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/gnugo-3.8p3.tgz >>> Running clean in games/gnugo at 1734969162.72 ===> games/gnugo ===> Cleaning for gnugo-3.8p3 >>> Ended at 1734969163.49 max_stuck=1.46/build=56.91/package=3.34/clean=0.87