D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/gnugo-3.8-10.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vltmaq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gnugo-3.8 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/gnugo-3.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gnugo-3.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gnugo-3.8-fix-format-errors.patch):' Patch #0 (gnugo-3.8-fix-format-errors.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format --fuzz=0 patching file patterns/dfa.c patching file patterns/mkpat.c patching file patterns/uncompress_fuseki.c + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0Dy7B5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gnugo-3.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoconf + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --bindir=/usr/games --enable-color --with-readline checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for library containing pow... -lm checking for mingw32... no checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... 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... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking ncurses/term.h usability... yes checking ncurses/term.h presence... yes checking for ncurses/term.h... yes checking size of long... 8 checking for vsnprintf... yes checking for gettimeofday... yes checking for usleep... yes checking for times... yes checking for variadic cpp define... yes checking whether gcc supports transparent unions... yes checking for library containing tparm... -lncurses checking for color support... curses checking for library containing readline... -lreadline 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 + /usr/bin/make -O -j4 /usr/bin/make all-recursive Making all in utils make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' rm -f libutils.a ar cru libutils.a getopt.o getopt1.o random.o gg_utils.o winsocket.o ranlib libutils.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' Making all in sgf make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o sgfgen sgfgen.o -lreadline -lncurses -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' rm -f libsgf.a ar cru libsgf.a sgf_utils.o sgfnode.o sgftree.o ranlib libsgf.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' Making all in engine make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from boardlib.c:27: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from breakin.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] breakin.c: In function 'break_in_goal': breakin.c:385:3: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(non_territory, 0, BOARDMAX); ^~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from cache.c:26: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from clock.h:27, from clock.c:39: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from aftermath.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from endgame.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from combination.c:29: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from filllib.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from fuseki.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from globals.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from handicap.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from genmove.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from hash.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from dragon.c:44: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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.h:30:0, from board.c:32: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from interface.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from matchpat.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from movelist.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from move_reasons.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] move_reasons.c: In function 'list_move_reasons': move_reasons.c:1865:4: warning: this statement may fall through [-Wimplicit-fallthrough=] gfprintf(out, "Move at %1m captures something\n", pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ move_reasons.c:1867:2: note: here case YOUR_ATARI_ATARI_MOVE: ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from influence.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from montecarlo.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT printutils.o -MD -MP -MF ".deps/printutils.Tpo" -c -o printutils.o printutils.c; \ then mv -f ".deps/printutils.Tpo" ".deps/printutils.Po"; else rm -f ".deps/printutils.Tpo"; exit 1; fi In file included from board.h:30:0, from printutils.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from persistent.c:49: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from optics.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from semeai.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from sgfdecide.c:28: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from sgffile.c:33: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from shapes.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from showbord.c:38: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from readconnect.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] readconnect.c: In function 'recursive_disconnect': readconnect.c:1467:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (res == 0) ^~ readconnect.c:1470:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) ^~~ readconnect.c: In function 'recursive_non_transitivity': readconnect.c:1747:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (res == 0) ^~ readconnect.c:1750:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) ^~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from owl.c:49: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from unconditional.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from reading.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] reading.c: In function 'defend4': reading.c:1851:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (stackp <= superstring_depth) ^~ reading.c:1853:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' squeeze_moves(str, &moves); ^~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from surround.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' rm -f libboard.a ar cru libboard.a board.o boardlib.o hash.o printutils.o ranlib libboard.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from utils.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from worm.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 board.h:30:0, from gnugo.h:33, from value_moves.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] value_moves.c: In function 'estimate_strategical_value': value_moves.c:2789:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!move[pos].move_safety) ^ value_moves.c:2792:7: note: here case CUT_MOVE: ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' 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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' Making all in patterns make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from connections.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from transform.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from helpers.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from eyes.h:24, from mkeyes.c:40: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from uncompress_fuseki.c:28: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from joseki.c:26: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/board.h:30:0, from ../engine/gnugo.h:33, from ../engine/globals.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from mkmcpat.c:32: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o mkeyes mkeyes.o ../utils/libutils.a -lreadline -lncurses -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o uncompress_fuseki uncompress_fuseki.o ../utils/libutils.a ../engine/libboard.a ../sgf/libsgf.a -lreadline -lncurses -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o joseki joseki.o ../engine/libboard.a ../sgf/libsgf.a ../utils/libutils.a -lreadline -lncurses -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkeyes < ./eyes.db >eyes.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./uncompress_fuseki 9 ./fuseki9.dbz c >fuseki9.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./uncompress_fuseki 13 ./fuseki13.dbz c >fuseki13.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o mkmcpat mkmcpat.o globals.o ../engine/libengine.a ../sgf/libsgf.a ../utils/libutils.a -lreadline -lncurses -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./joseki JG ./gogo.sgf >gogo.db make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./joseki JHK ./hoshi_keima.sgf >hoshi_keima.db make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./joseki JHO ./hoshi_other.sgf >hoshi_other.db make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./joseki JK ./komoku.sgf >komoku.db make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./joseki JS ./sansan.sgf >sansan.db make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./joseki JM ./mokuhazushi.sgf >mokuhazushi.db make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./joseki JT ./takamoku.sgf >takamoku.db make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./uncompress_fuseki 19 ./fuseki19.dbz c >fuseki19.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkmcpat ./mc_montegnu_classic.db ./mc_mogo_classic.db ./mc_uniform.db > mcpat.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from dfa.c:28: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from fuseki13.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from fuseki9.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from eyes.h:24, from eyes.c:29: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from mkpat.c:84: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] mkpat.c: In function 'main': mkpat.c:2731:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (command != 2) ^ mkpat.c:2733:8: note: here case '!': ^~~~ mkpat.c:2735:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (command != 2) ^ mkpat.c:2737:8: note: here default: ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o mkpat mkpat.o transform.o dfa.o ../utils/libutils.a -lreadline -lncurses -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -c conn -i ./conn.db -o conn.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -X attpat -i ./attack.db -o apatterns.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat defpat -i ./defense.db -o dpatterns.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -c influencepat -i ./influence.db -o influence.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -c -b barrierspat -i ./barriers.db -o barriers.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -b endpat -i ./endgame.db -o endgame.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./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) --------------------------- make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -b pat -i ./patterns.db -i./patterns2.db \ -o patterns.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./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) --------------------------- make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -D -m -b -t ./owl_vital_apats.dtr owl_vital_apat \ -i ./owl_vital_apats.db -o owl_vital_apat.c --------------------------- DFA for owl_vital_apat size: 10 kB for 59 patterns (1032 states) --------------------------- make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -b fusekipat -i ./fuseki.db -o fusekipat.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./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) --------------------------- make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -b handipat -i ./handicap.db -o handipat.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./mkpat -b oracle -i ./oracle.db -o oraclepat.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' ./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 --------------------------- corner database for joseki size: 279 kB for 1622 patterns (8673 variations) --------------------------- make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from conn.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from fuseki19.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from apatterns.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from dpatterns.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from influence.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from endgame.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from aa_attackpat.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from barriers.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] barriers.c: In function 'autohelperbarrierspat151': barriers.c:2732:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!false_eye_territory[a]) influence_mark_non_territory(a, color);if (!false_eye_territory[b]) influence_mark_non_territory(b, OTHER_COLOR(color));; ^~ barriers.c:2732:71: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!false_eye_territory[a]) influence_mark_non_territory(a, color);if (!false_eye_territory[b]) influence_mark_non_territory(b, OTHER_COLOR(color));; ^~ barriers.c: In function 'autohelperbarrierspat156': barriers.c:2804:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!false_eye_territory[a]) influence_mark_non_territory(a, color);if (!false_eye_territory[b]) influence_mark_non_territory(b, OTHER_COLOR(color));; ^~ barriers.c:2804:71: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!false_eye_territory[a]) influence_mark_non_territory(a, color);if (!false_eye_territory[b]) influence_mark_non_territory(b, OTHER_COLOR(color));; ^~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT owl_vital_apat.o -MD -MP -MF ".deps/owl_vital_apat.Tpo" -c -o owl_vital_apat.o owl_vital_apat.c; \ then mv -f ".deps/owl_vital_apat.Tpo" ".deps/owl_vital_apat.Po"; else rm -f ".deps/owl_vital_apat.Tpo"; exit 1; fi In file included from ../engine/board.h:30:0, from ../engine/liberty.h:27, from owl_vital_apat.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] owl_vital_apat.c: In function 'autohelperowl_vital_apat32': owl_vital_apat.c:615:85: warning: comparison of constant '5' with boolean expression is always false [-Wbool-compare] return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; ^~ owl_vital_apat.c:615:85: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 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; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from mcpat.c:30: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from fusekipat.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT josekidb.o -MD -MP -MF ".deps/josekidb.Tpo" -c -o josekidb.o josekidb.c; \ then mv -f ".deps/josekidb.Tpo" ".deps/josekidb.Po"; else rm -f ".deps/josekidb.Tpo"; exit 1; fi In file included from ../engine/board.h:30:0, from ../engine/liberty.h:27, from josekidb.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from owl_attackpat.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from handipat.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from oraclepat.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from owl_defendpat.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] owl_defendpat.c: In function 'autohelperowl_defendpat484': owl_defendpat.c:6425:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a, b; ^ owl_defendpat.c: In function 'autohelperowl_defendpat485': owl_defendpat.c:6438:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a, b; ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/liberty.h:27, from patterns.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' 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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' Making all in interface make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/gnugo.h:33, from play_gmp.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/gnugo.h:33, from play_solo.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/gnugo.h:33, from main.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] main.c: In function 'socket_connect_to': main.c:1811:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1811:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] main.c:1811:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] main.c: In function 'socket_listen_at': main.c:1888:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1888:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] main.c:1888:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] main.c: In function 'socket_stop_listening': main.c:1925:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, sizeof buffer, 1, input_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/gnugo.h:33, from play_test.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/gnugo.h:33, from play_ascii.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] play_ascii.c: In function 'do_play_ascii': play_ascii.c:893:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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.h:42:0, from gtp.c:46: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 gmp.c: In function 'heartbeat': gmp.c:737:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(ge->outFile, ge->sendData, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmp.c: In function 'putCommand': gmp.c:505:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(ge->outFile, ge->sendData, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' if gcc -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 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ../engine/board.h:30:0, from ../engine/gnugo.h:33, from play_gtp.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 -lreadline -lncurses -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' Making all in doc /usr/bin/make all-am make[3]: Nothing to be done for 'all-am'. Making all in regression make[2]: Nothing to be done for 'all'. + make check Making check in utils make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' Making check in sgf make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' Making check in engine make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' Making check in patterns make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' Making check in interface make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' Making check in doc make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' make check-am make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' Making check in regression make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/regression' ./regress.sh . reading.tst ./regress.sh . owl.tst ./regress.sh . ld_owl.tst ./regress.sh . optics.tst ./regress.sh . filllib.tst ./regress.sh . atari_atari.tst ./regress.sh . connection.tst ./regress.sh . break_in.tst ./regress.sh . blunder.tst ./regress.sh . unconditional.tst ./regress.sh . trevora.tst ./regress.sh . nngs1.tst ./regress.sh . strategy.tst make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/regression' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8' + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vhz7Ki + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64 + cd gnugo-3.8 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64 'INSTALL=/usr/bin/install -p' Making install in utils make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/utils' Making install in sgf make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/sgf' Making install in engine make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/engine' Making install in patterns make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/patterns' Making install in interface make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' test -z "/usr/games" || mkdir -p -- "/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/games" /usr/bin/install -p 'gnugo' '/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/games/gnugo' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/interface' Making install in doc make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' /usr/bin/make install-am make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/info" || mkdir -p -- "/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/info" /usr/bin/install -p -m 644 './gnugo.info' '/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/info/gnugo.info' /usr/bin/install -p -m 644 './gnugo.info-1' '/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/info/gnugo.info-1' /usr/bin/install -p -m 644 './gnugo.info-2' '/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/info/gnugo.info-2' /usr/bin/install -p -m 644 './gnugo.info-3' '/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/info/gnugo.info-3' test -z "/usr/share/man/man6" || mkdir -p -- "/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/man/man6" /usr/bin/install -p -m 644 './gnugo.6' '/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/man/man6/gnugo.6' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/doc' Making install in regression make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/regression' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/regression' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/regression' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8/regression' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnugo-3.8' + install -D -m 644 interface/gnugo.el /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/emacs/site-lisp/gnugo.el + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/etc/emacs/site-start.d/ + echo '(autoload '\''gnugo "gnugo" "GNU Go" t)' + /usr/lib/rpm/find-debuginfo.sh -j4 -m -i --build-id-seed 3.8-10.mga7 --unique-debug-suffix -3.8-10.mga7.x86_64 --unique-debug-src-base gnugo-3.8-10.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/gnugo-3.8 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/games/gnugo /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 19426 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: gnugo-3.8-10.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.En2mqy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gnugo-3.8 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + cp -pr AUTHORS /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + cp -pr COPYING /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + cp -pr ChangeLog /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + cp -pr INSTALL /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + cp -pr NEWS /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + cp -pr THANKS /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + cp -pr TODO /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64/usr/share/doc/gnugo + exit 0 Provides: config(gnugo) = 3.8-10.mga7 gnugo = 3.8-10.mga7 gnugo(x86-64) = 3.8-10.mga7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh info-install Requires(preun): /bin/sh info-install Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libreadline.so.7()(64bit) libtinfo.so.6()(64bit) Processing files: gnugo-debugsource-3.8-10.mga7.x86_64 Provides: gnugo-debugsource = 3.8-10.mga7 gnugo-debugsource(x86-64) = 3.8-10.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gnugo-debuginfo-3.8-10.mga7.x86_64 Provides: debuginfo(build-id) = c561448ea690e4e19bfffa3407d4cc20450ad8de gnugo-debuginfo = 3.8-10.mga7 gnugo-debuginfo(x86-64) = 3.8-10.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gnugo-debugsource(x86-64) = 3.8-10.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gnugo-3.8-10.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gnugo-debugsource-3.8-10.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gnugo-debuginfo-3.8-10.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9dqvP1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gnugo-3.8 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/gnugo-3.8-10.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.w9hqgv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf gnugo-3.8 + exit 0 D: [iurt_root_command] Success!