Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/gnugo.spec'], chrootPath='/var/lib/mock/fedora-38-aarch64-1682091999.015232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewwne610:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewwne610:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '89c4e532d4d34ce780714b0ac3d574ba', '-D', '/var/lib/mock/fedora-38-aarch64-1682091999.015232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewwne610:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/gnugo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/gnugo-3.8-29.fc38_clang16_03.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/gnugo.spec'], chrootPath='/var/lib/mock/fedora-38-aarch64-1682091999.015232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewwne610:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewwne610:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5e2f83d322714c52a2067a7efbfc0b28', '-D', '/var/lib/mock/fedora-38-aarch64-1682091999.015232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewwne610:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/gnugo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LwuIQy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnugo-3.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/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 . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gnugo-3.8-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + for f in AUTHORS THANKS + iconv -f iso8859-1 -t utf-8 AUTHORS + touch -r AUTHORS AUTHORS.conv + mv AUTHORS.conv AUTHORS + for f in AUTHORS THANKS + iconv -f iso8859-1 -t utf-8 THANKS + touch -r THANKS THANKS.conv + mv THANKS.conv THANKS + '[' -e /usr/lib/rpm/clang/gnugo-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IJ8EnL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd gnugo-3.8 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -fltox '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now ' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --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 --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 aarch64-redhat-linux-gnu-gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of clang... none checking for library containing pow... -lm checking for mingw32... no checking how to run the C preprocessor... clang -E checking for aarch64-redhat-linux-gnu-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 for long... 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 clang supports transparent unions... no 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 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in utils make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/utils' clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c getopt1.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/utils' getopt1.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gg_getopt_long (argc, argv, options, long_options, opt_index) ^ getopt1.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt_long_only (argc, argv, options, long_options, opt_index) ^ 2 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/utils' clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c random.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/utils' clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gg_utils.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/utils' clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c winsocket.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/utils' In file included from winsocket.c:34: ./winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ./winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ./winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ./winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ winsocket.c:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ./winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ winsocket.c:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ winsocket.c:37:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 6 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/utils' clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c getopt.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/utils' getopt.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exchange (argv) ^ getopt.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _getopt_initialize (argc, argv, optstring) ^ getopt.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _getopt_internal (argc, argv, optstring, longopts, longind, long_only) ^ getopt.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gg_getopt (argc, argv, optstring) ^ 4 warnings generated. make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/utils' Making all in sgf make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/sgf' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c sgfgen.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/sgf' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c sgftree.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/sgf' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c sgf_utils.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/sgf' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -o sgfgen sgfgen.o -lreadline -lncurses -lm make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/sgf' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c sgfnode.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/sgf' sgfnode.c:102:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] sgfNewNode() ^ void sgfnode.c:921:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] nexttoken() ^ void 2 warnings generated. make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/sgf' Making all in engine make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c boardlib.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' In file included from boardlib.c:27: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c cache.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' In file included from cache.c:26: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ cache.c:295:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reading_cache_clear() ^ void cache.c:301:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reading_cache_default_size() ^ void 5 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c breakin.c In file included from breakin.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ breakin.c:445:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clear_break_in_list() ^ void 4 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c aftermath.c In file included from aftermath.c:25: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c clock.c In file included from clock.c:39: In file included from ./clock.h:27: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ clock.c:161:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] init_timers() ^ void clock.c:380:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_level() ^ void 5 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c endgame.c In file included from endgame.c:25: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c combination.c In file included from combination.c:29: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c filllib.c In file included from filllib.c:25: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fuseki.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' In file included from fuseki.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c board.c In file included from board.c:32: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ board.c:722:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] popgo() ^ void board.c:760:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] undo_trymove() ^ void board.c:1031:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_last_move() ^ void board.c:1043:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_last_player() ^ void board.c:1407:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_komaster() ^ void board.c:1413:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_kom_pos() ^ void board.c:3268:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reset_trymove_counter() ^ void board.c:3276:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_trymove_counter() ^ void 11 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c globals.c In file included from globals.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c dragon.c In file included from dragon.c:44: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ dragon.c:440:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] find_lunches() ^ void dragon.c:489:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] eye_computations() ^ void dragon.c:530:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] revise_inessentiality() ^ void dragon.c:763:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] find_neighbor_dragons() ^ void dragon.c:1102:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] identify_thrashing_dragons() ^ void dragon.c:1199:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] compute_dragon_influence() ^ void dragon.c:2214:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] compute_refined_dragon_weaknesses() ^ void dragon.c:2234:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] compute_strategic_sizes() ^ void dragon.c:2446:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clear_cut_list() ^ void 12 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c genmove.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' In file included from genmove.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ genmove.c:75:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reset_engine() ^ void genmove.c:924:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reset_search_mask() ^ void 5 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c handicap.c In file included from handicap.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ handicap.c:307:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] find_free_handicap_pattern() ^ void handicap.c:428:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] free_handicap_remaining_stones() ^ void handicap.c:435:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] free_handicap_total_stones() ^ void 6 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c hash.c In file included from hash.c:25: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c interface.c In file included from interface.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c matchpat.c In file included from matchpat.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ matchpat.c:78:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] prepare_pattern_profiling() ^ void matchpat.c:105:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] report_pattern_profiling() ^ void 5 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c movelist.c In file included from movelist.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c influence.c In file included from influence.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c move_reasons.c In file included from move_reasons.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c oracle.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c montecarlo.c In file included from montecarlo.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c persistent.c In file included from persistent.c:49: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ persistent.c:563:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] persistent_cache_init() ^ void persistent.c:575:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clear_persistent_caches() ^ void persistent.c:589:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] purge_persistent_caches() ^ void 6 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c printutils.c In file included from printutils.c:24: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c optics.c In file included from optics.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c semeai.c In file included from semeai.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ semeai.c:51:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] semeai() ^ void semeai.c:242:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] find_moves_to_make_seki() ^ void 5 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c sgfdecide.c In file included from sgfdecide.c:28: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ sgfdecide.c:422:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] decide_position() ^ void 4 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c owl.c In file included from owl.c:49: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ owl.c:7163:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reset_owl_node_counter() ^ void owl.c:7171:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_owl_node_counter() ^ void 5 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c sgffile.c In file included from sgffile.c:33: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c readconnect.c In file included from readconnect.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ readconnect.c:1470:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) ^ readconnect.c:1467:3: note: previous statement is here if (res == 0) ^ readconnect.c:1750:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) ^ readconnect.c:1747:3: note: previous statement is here if (res == 0) ^ readconnect.c:1895:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reset_connection_node_counter() ^ void readconnect.c:1903:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_connection_node_counter() ^ void 7 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c shapes.c In file included from shapes.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c showbord.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' In file included from showbord.c:38: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ showbord.c:101:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] start_draw_board() ^ void showbord.c:149:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] end_draw_board() ^ void 5 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c unconditional.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' In file included from unconditional.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ unconditional.c:666:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clear_unconditionally_meaningless_moves() ^ void 4 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c surround.c In file included from surround.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c reading.c In file included from reading.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ reading.c:1853:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] squeeze_moves(str, &moves); ^ reading.c:1851:3: note: previous statement is here if (stackp <= superstring_depth) ^ reading.c:5491:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] reset_reading_node_counter() ^ void reading.c:5499:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] get_reading_node_counter() ^ void reading.c:5509:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] draw_reading_shadow() ^ void 7 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c utils.c In file included from utils.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ utils.c:1944:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] clearstats() ^ void utils.c:1953:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] showstats() ^ void 5 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c worm.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' In file included from worm.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ worm.c:522:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] build_worms() ^ void worm.c:568:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] compute_effective_worm_sizes() ^ void worm.c:697:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] compute_unconditional_status() ^ void worm.c:735:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] find_worm_attacks_and_defenses() ^ void worm.c:876:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] find_worm_threats() ^ void worm.c:1727:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] compute_worm_influence() ^ void 9 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c value_moves.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' In file included from value_moves.c:24: In file included from ./gnugo.h:33: In file included from ./board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/engine' Making all in patterns make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c transform.c In file included from transform.c:24: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c connections.c In file included from connections.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c helpers.c In file included from helpers.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c mkeyes.c In file included from mkeyes.c:40: In file included from ./eyes.h:24: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ mkeyes.c:297:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ 4 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c uncompress_fuseki.c In file included from uncompress_fuseki.c:28: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c joseki.c In file included from joseki.c:26: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c mkmcpat.c In file included from mkmcpat.c:32: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o globals.o `test -f '../engine/globals.c' || echo './'`../engine/globals.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' In file included from ../engine/globals.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c dfa.c In file included from dfa.c:28: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c mkpat.c In file included from mkpat.c:84: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -o mkeyes mkeyes.o ../utils/libutils.a -lreadline -lncurses -lm make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -o uncompress_fuseki uncompress_fuseki.o ../utils/libutils.a ../engine/libboard.a ../sgf/libsgf.a -lreadline -lncurses -lm make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkeyes < ./eyes.db >eyes.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./uncompress_fuseki 9 ./fuseki9.dbz c >fuseki9.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./uncompress_fuseki 13 ./fuseki13.dbz c >fuseki13.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./uncompress_fuseki 19 ./fuseki19.dbz c >fuseki19.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c eyes.c In file included from eyes.c:29: In file included from ./eyes.h:24: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -o mkmcpat mkmcpat.o globals.o ../engine/libengine.a ../sgf/libsgf.a ../utils/libutils.a -lreadline -lncurses -lm make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fuseki9.c In file included from fuseki9.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fuseki13.c In file included from fuseki13.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -o joseki joseki.o ../engine/libboard.a ../sgf/libsgf.a ../utils/libutils.a -lreadline -lncurses -lm make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./joseki JG ./gogo.sgf >gogo.db make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./joseki JHK ./hoshi_keima.sgf >hoshi_keima.db make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./joseki JHO ./hoshi_other.sgf >hoshi_other.db make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./joseki JK ./komoku.sgf >komoku.db make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./joseki JS ./sansan.sgf >sansan.db make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./joseki JM ./mokuhazushi.sgf >mokuhazushi.db make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./joseki JT ./takamoku.sgf >takamoku.db make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkmcpat ./mc_montegnu_classic.db ./mc_mogo_classic.db ./mc_uniform.db > mcpat.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -o mkpat mkpat.o transform.o dfa.o ../utils/libutils.a -lreadline -lncurses -lm make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -c conn -i ./conn.db -o conn.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -X attpat -i ./attack.db -o apatterns.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat defpat -i ./defense.db -o dpatterns.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -c influencepat -i ./influence.db -o influence.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -c -b barrierspat -i ./barriers.db -o barriers.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -b endpat -i ./endgame.db -o endgame.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -b pat -i ./patterns.db -i./patterns2.db \ -o patterns.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -b fusekipat -i ./fuseki.db -o fusekipat.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -b handipat -i ./handicap.db -o handipat.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' ./mkpat -b oracle -i ./oracle.db -o oraclepat.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c conn.c In file included from conn.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c apatterns.c In file included from apatterns.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fuseki19.c In file included from fuseki19.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c dpatterns.c In file included from dpatterns.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c influence.c In file included from influence.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c endgame.c In file included from endgame.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c barriers.c In file included from barriers.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c aa_attackpat.c In file included from aa_attackpat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c owl_vital_apat.c In file included from owl_vital_apat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ owl_vital_apat.c:615:27: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; ^ ~~ owl_vital_apat.c:615:27: note: add parentheses after the '!' to evaluate the comparison first return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; ^ ( ) owl_vital_apat.c:615:27: note: add parentheses around left hand side expression to silence this warning return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; ^ ( ) owl_vital_apat.c:615:85: warning: result of comparison of constant 5 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] return countlib(a)>1 || !play_attack_defend_n(color, 1, 3, move, NO_MOVE, b, move)==WIN; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~ 5 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c mcpat.c In file included from mcpat.c:30: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c patterns.c In file included from patterns.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c owl_attackpat.c In file included from owl_attackpat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c handipat.c In file included from handipat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fusekipat.c In file included from fusekipat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c oraclepat.c In file included from oraclepat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c josekidb.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' In file included from josekidb.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c owl_defendpat.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' In file included from owl_defendpat.c:25: In file included from ../engine/liberty.h:27: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ owl_defendpat.c:6425:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a, b; ^ owl_defendpat.c:6438:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a, b; ^ 5 warnings generated. make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/patterns' Making all in interface make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c play_gmp.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' In file included from play_gmp.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c main.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' In file included from main.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ main.c:1811:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if !USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ main.c:1811:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ main.c:1811:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ main.c:1888:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if !USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ main.c:1888:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ main.c:1888:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ main.c:1925:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(buffer, sizeof buffer, 1, input_file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c play_solo.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' In file included from play_solo.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c play_ascii.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' In file included from play_ascii.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ play_ascii.c:893:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(line, 80, stdin); ^~~~~ ~~~~~~~~~~~~~~~ 4 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c play_test.c In file included from play_test.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gtp.c In file included from gtp.c:46: In file included from ./gtp.h:42: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ gtp.c:275:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] gtp_finish_response() ^ void gtp.c:312:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] gtp_panic() ^ void 5 warnings generated. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gmp.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' gmp.c:505:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(ge->outFile, ge->sendData, 4); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmp.c:737:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(ge->outFile, ge->sendData, 4); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -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 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c play_gtp.c make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' In file included from play_gtp.c:24: In file included from ../engine/gnugo.h:33: In file included from ../engine/board.h:30: ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_WINDOWS_SOCKET_CLUDGE ^ ../utils/winsocket.h:35:5: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:35:24: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' ((defined(_WIN32) || defined(_WIN32_WCE)) \ ^ ../utils/winsocket.h:39:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../utils/winsocket.h:36:7: note: expanded from macro 'USE_WINDOWS_SOCKET_CLUDGE' && defined(ENABLE_SOCKET_SUPPORT)) ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -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 '/builddir/build/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[2]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0ACwjE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64 ++ dirname /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd gnugo-3.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64 'INSTALL=/usr/bin/install -p' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/gnugo-3.8/utils' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/utils' make[1]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/utils' Making install in sgf make[1]: Entering directory '/builddir/build/BUILD/gnugo-3.8/sgf' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/sgf' make[1]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/sgf' Making install in engine make[1]: Entering directory '/builddir/build/BUILD/gnugo-3.8/engine' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/engine' make[1]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/engine' Making install in patterns make[1]: Entering directory '/builddir/build/BUILD/gnugo-3.8/patterns' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/patterns' make[1]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/patterns' Making install in interface make[1]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/interface' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/bin" /usr/bin/install -p 'gnugo' '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/bin/gnugo' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' make[1]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/interface' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/gnugo-3.8/doc' /usr/bin/make install-am make[2]: Entering directory '/builddir/build/BUILD/gnugo-3.8/doc' make[3]: Entering directory '/builddir/build/BUILD/gnugo-3.8/doc' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/info" || mkdir -p -- "/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/info" /usr/bin/install -p -m 644 './gnugo.info' '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/info/gnugo.info' /usr/bin/install -p -m 644 './gnugo.info-1' '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/info/gnugo.info-1' /usr/bin/install -p -m 644 './gnugo.info-2' '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/info/gnugo.info-2' /usr/bin/install -p -m 644 './gnugo.info-3' '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/info/gnugo.info-3' install-info --info-dir='/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/info' '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/info/gnugo.info' test -z "/usr/share/man/man6" || mkdir -p -- "/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/man/man6" /usr/bin/install -p -m 644 './gnugo.6' '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/man/man6/gnugo.6' make[3]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/doc' make[2]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/doc' make[1]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/doc' Making install in regression make[1]: Entering directory '/builddir/build/BUILD/gnugo-3.8/regression' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8/regression' make[1]: Leaving directory '/builddir/build/BUILD/gnugo-3.8/regression' make[1]: Entering directory '/builddir/build/BUILD/gnugo-3.8' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gnugo-3.8' make[1]: Leaving directory '/builddir/build/BUILD/gnugo-3.8' + rm -f /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64//usr/share/info/dir + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/bin/gnugo [ 5c] clang version 16.0.0 (Fedora 16.0.0-2.fc38) /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/bin/gnugo built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 Checking for LLVM bitcode artifacts + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.8-29.fc38_clang16_03 --unique-debug-suffix -3.8-29.fc38_clang16_03.aarch64 --unique-debug-src-base gnugo-3.8-29.fc38_clang16_03.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gnugo-3.8 extracting debug info from /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/bin/gnugo original debug info size: 4788kB, size after compression: 4736kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 19408 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug llvm-readelf: warning: '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug': PT_DYNAMIC segment offset (0x5dfaf8) + file size (0x240) exceeds the size of the file (0x49f298) llvm-readelf: warning: '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug': PT_DYNAMIC segment offset (0x5dfaf8) + file size (0x240) exceeds the size of the file (0x49f298) llvm-readelf: warning: '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug': PT_DYNAMIC segment offset (0x5dfaf8) + file size (0x240) exceeds the size of the file (0x49f298) llvm-readelf: warning: '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug': PT_DYNAMIC segment offset (0x5dfaf8) + file size (0x240) exceeds the size of the file (0x49f298) llvm-readelf: warning: '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug': PT_DYNAMIC segment offset (0x5dfaf8) + file size (0x240) exceeds the size of the file (0x49f298) [ 5c] clang version 16.0.0 (Fedora 16.0.0-2.fc38) /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/bin/gnugo llvm-readelf: warning: '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug': PT_DYNAMIC segment offset (0x5dfaf8) + file size (0x240) exceeds the size of the file (0x49f298) llvm-readelf: warning: '/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug': PT_DYNAMIC segment offset (0x5dfaf8) + file size (0x240) exceeds the size of the file (0x49f298) [ 5c] clang version 16.0.0 (Fedora 16.0.0-2.fc38) /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/gnugo-3.8-29.fc38_clang16_03.aarch64.debug built with clang + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: gnugo-3.8-29.fc38_clang16_03.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zkhiEY + umask 022 + cd /builddir/build/BUILD + cd gnugo-3.8 + DOCDIR=/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + cp -pr AUTHORS /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + cp -pr ChangeLog /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + cp -pr NEWS /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + cp -pr README /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + cp -pr TODO /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + cp -pr THANKS /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + cp -pr doc/newlogo.jpg /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + cp -pr doc/oldlogo.jpg /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/doc/gnugo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KMKK83 + umask 022 + cd /builddir/build/BUILD + cd gnugo-3.8 + LICENSEDIR=/builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/licenses/gnugo + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/licenses/gnugo + cp -pr COPYING /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64/usr/share/licenses/gnugo + RPM_EC=0 ++ jobs -p + exit 0 Provides: gnugo = 3.8-29.fc38_clang16_03 gnugo(aarch-64) = 3.8-29.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libreadline.so.8()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: gnugo-debugsource-3.8-29.fc38_clang16_03.aarch64 Provides: gnugo-debugsource = 3.8-29.fc38_clang16_03 gnugo-debugsource(aarch-64) = 3.8-29.fc38_clang16_03 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-29.fc38_clang16_03.aarch64 Provides: debuginfo(build-id) = 2206f04809e66fce2fb890085c7e08fbdad1f217 gnugo-debuginfo = 3.8-29.fc38_clang16_03 gnugo-debuginfo(aarch-64) = 3.8-29.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gnugo-debugsource(aarch-64) = 3.8-29.fc38_clang16_03 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64 Wrote: /builddir/build/RPMS/gnugo-3.8-29.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/gnugo-debuginfo-3.8-29.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/gnugo-debugsource-3.8-29.fc38_clang16_03.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PLAQfx + umask 022 + cd /builddir/build/BUILD + cd gnugo-3.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gnugo-3.8-29.fc38_clang16_03.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.5jUv13 + umask 022 + cd /builddir/build/BUILD + rm -rf gnugo-3.8 gnugo-3.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0