* Package: games-strategy/warmux-11.04.1-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls unicode userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/69c0d5ac58b2bf7e54aecedd34d8bfb303f9a625 (Fri Aug 28 04:05:37 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.4 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32, 5.4.0-1021-aws x86_64) ================================================================= System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 KiB Mem: 64359960 total, 32023628 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 28 Aug 2020 04:05:37 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/cmake: 3.18.1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.32::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/games-strategy/warmux-11.04.1-r1/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" MAKEOPTS="-j16 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking warmux-11.04.1.tar.bz2 to /var/tmp/portage/games-strategy/warmux-11.04.1-r1/work >>> Source unpacked in /var/tmp/portage/games-strategy/warmux-11.04.1-r1/work >>> Preparing source in /var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04 ... * Applying warmux-11.04.1-gentoo.patch ... [ ok ] * Applying warmux-11.04.1-zlib.patch ... [ ok ] * Applying warmux-11.04.1-action.patch ... (Stripping trailing CRs from patch; use --binary to disable.) patching file lib/warmux/action/action.cpp patch unexpectedly ends in middle of line Hunk #1 succeeded at 85 with fuzz 1. [ ok ] * Applying warmux-11.04.1-gcc47.patch ... [ ok ] * Applying warmux-11.04.1-stat.patch ... [ ok ] * Applying warmux-11.04.1-fix-c++14.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: warmux-11.04/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04 ... * econf: updating warmux-11.04/config.sub with /usr/share/gnuconfig/config.sub * econf: updating warmux-11.04/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/warmux-11.04.1-r1 --htmldir=/usr/share/doc/warmux-11.04.1-r1/html --libdir=/usr/lib64 --with-localedir-name=/usr/share/locale --with-datadir-name=/usr/share/warmux --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf --disable-debug --enable-nls --enable-fribidi checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for a sed that does not truncate output... /bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-clang accepts -g... yes checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-clang understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-clang... none checking for ld... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking whether make sets $(MAKE)... (cached) yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-clang checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-clang accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-clang understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-clang... (cached) none checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-clang++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-clang++... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking for x86_64-pc-linux-gnu-strip... llvm-strip checking for x86_64-pc-linux-gnu-windres... no checking for windres... no checking for x86_64-pc-linux-gnu-clang++... yes configure: WARNING: Building of servers is disabled. If you want build the index and servers, please use configure with this option : --enable-servers checking gcc version... 10.0.1 checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.6... yes 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 X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking for XOpenDisplay in -lX11... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML2... yes checking for LIBPNG... yes checking for FRIBIDI... yes checking SDL_rotozoom.h usability... yes checking SDL_rotozoom.h presence... yes checking for SDL_rotozoom.h... yes checking for rotozoomSurfaceXY in -lSDL_gfx... yes checking whether SDL_gfx - version >= 2.0.22 ... 2.0.26, OK checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.72.0 checking for libcurl >= version 7.0... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for IMG_Load in -lSDL_image... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for TTF_OpenFont in -lSDL_ttf... yes checking for SDLNet_Init in -lSDL_net... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating src/Makefile config.status: creating lib/Makefile config.status: creating lib/fixedpoint/Makefile config.status: creating lib/warmux/Makefile config.status: creating po/Makefile config.status: creating lib/warmux-server/Makefile config.status: creating doc/Makefile config.status: creating tools/Makefile config.status: creating tools/list_games/Makefile config.status: creating tools/servers/Makefile config.status: creating tools/servers/game_server/Makefile config.status: creating tools/servers/index_server/Makefile config.status: creating lib/warmux/include/config_autotools.h config.status: executing po-directories commands config.status: executing depfiles commands *********************************************************** Configuration complete * Game data will be installed into /usr/share/warmux/ * Game locale will be installed into /usr/share/locale * Font file will be /usr/share/fonts/dejavu/DejaVuSans.ttf * [Optional] DEBUG : no * [Optional] LOGGING feature : no * [Optional] Bi-directional rendering (fribidi) : yes * [Optional] Internationalisation (gettext) : yes * [Optional] Index and game servers : no *********************************************************** Execute make to compile then execute make install to install... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04 ... make -j16 V=1 Making all in data make[1]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/data' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/data' Making all in lib make[1]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib' Making all in warmux make[2]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib/warmux' Making all in . make[3]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib/warmux' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o action.o `test -f './action/action.cpp' || echo './'`./action/action.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o action_handler.o `test -f './action/action_handler.cpp' || echo './'`./action/action_handler.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o error.o `test -f './base/error.cpp' || echo './'`./base/error.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o i18n.o `test -f './base/i18n.cpp' || echo './'`./base/i18n.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o singleton.o `test -f './base/singleton.cpp' || echo './'`./base/singleton.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o euler_vector.o `test -f './maths/euler_vector.cpp' || echo './'`./maths/euler_vector.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o distant_cpu.o `test -f './net/distant_cpu.cpp' || echo './'`./net/distant_cpu.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o download.o `test -f './net/download.cpp' || echo './'`./net/download.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o index_server.o `test -f './net/index_server.cpp' || echo './'`./net/index_server.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o network.o `test -f './net/network.cpp' || echo './'`./net/network.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o player.o `test -f './net/player.cpp' || echo './'`./net/player.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o socket.o `test -f './net/socket.cpp' || echo './'`./net/socket.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o extSDL_net.o `test -f './net/extSDL_net.cpp' || echo './'`./net/extSDL_net.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o debug.o `test -f './tools/debug.cpp' || echo './'`./tools/debug.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o file_tools.o `test -f './tools/file_tools.cpp' || echo './'`./tools/file_tools.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o random.o `test -f './tools/random.cpp' || echo './'`./tools/random.cpp In file included from ./action/action.cpp:26: In file included from ../../lib/warmux/include/WARMUX_action.h:29: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ./maths/euler_vector.cpp:19: In file included from ../../lib/warmux/include/WARMUX_euler_vector.h:23: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ./base/error.cpp:27: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. In file included from ./tools/random.cpp:24: In file included from ../../lib/warmux/include/WARMUX_random.h:26: In file included from ../../lib/warmux/include/WARMUX_point.h:28: In file included from ../../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. In file included from ./tools/file_tools.cpp:43: In file included from ../../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../../lib/warmux/include/WARMUX_base.h:25: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ./net/download.cpp:31: In file included from ../../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../../lib/warmux/include/WARMUX_base.h:25: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. In file included from ./net/player.cpp:30: In file included from ../../lib/warmux/include/WARMUX_player.h:27: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. In file included from ./net/index_server.cpp:28: In file included from ../../lib/warmux/include/WARMUX_index_server.h:28: In file included from ../../lib/warmux/include/WARMUX_socket.h:28: In file included from ../../lib/warmux/include/WARMUX_network.h:28: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ./net/socket.cpp:25: In file included from ../../lib/warmux/include/WARMUX_socket.h:28: In file included from ../../lib/warmux/include/WARMUX_network.h:28: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ./net/network.cpp:54: In file included from ../../lib/warmux/include/WARMUX_network.h:28: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ./net/distant_cpu.cpp:24: In file included from ../../lib/warmux/include/WARMUX_distant_cpu.h:28: In file included from ../../lib/warmux/include/WARMUX_player.h:27: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ ./net/distant_cpu.cpp:30:18: warning: unused variable 'MAX_PACKET_SIZE' [-Wunused-const-variable] static const int MAX_PACKET_SIZE = 250*1024; ^ 1 warning generated. 1 warning generated. In file included from ./action/action_handler.cpp:25: In file included from ../../lib/warmux/include/WARMUX_action_handler.h:27: In file included from ../../lib/warmux/include/WARMUX_action.h:29: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 2 warnings generated. rm -f libwarmux.a ar cru libwarmux.a action.o action_handler.o error.o i18n.o singleton.o euler_vector.o distant_cpu.o download.o index_server.o network.o player.o socket.o extSDL_net.o debug.o file_tools.o random.o llvm-ranlib libwarmux.a make[3]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib/warmux' make[2]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib/warmux' Making all in fixedpoint make[2]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib/fixedpoint' Making all in . make[3]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib/fixedpoint' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o fixed_func.o fixed_func.cpp fixed_func.cpp:161:22: warning: unused function 'fast_div16' [-Wunused-function] static inline fint_t fast_div16(fint_t a, fint_t b) ^ 1 warning generated. rm -f libfixedpoint.a ar cru libfixedpoint.a fixed_func.o llvm-ranlib libfixedpoint.a make[3]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib/fixedpoint' make[2]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib/fixedpoint' make[2]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib' make[1]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/lib' Making all in src make[1]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/src' Making all in . make[2]: Entering directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/src' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o ai_command.o `test -f 'ai/ai_command.cpp' || echo './'`ai/ai_command.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o ai_idea.o `test -f 'ai/ai_idea.cpp' || echo './'`ai/ai_idea.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o ai_strategy.o `test -f 'ai/ai_strategy.cpp' || echo './'`ai/ai_strategy.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o ai_stupid_player.o `test -f 'ai/ai_stupid_player.cpp' || echo './'`ai/ai_stupid_player.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o ai_weapons_weighting.o `test -f 'ai/ai_weapons_weighting.cpp' || echo './'`ai/ai_weapons_weighting.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o body.o `test -f 'character/body.cpp' || echo './'`character/body.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o body_list.o `test -f 'character/body_list.cpp' || echo './'`character/body_list.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o character.o `test -f 'character/character.cpp' || echo './'`character/character.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o clothe.o `test -f 'character/clothe.cpp' || echo './'`character/clothe.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o damage_stats.o `test -f 'character/damage_stats.cpp' || echo './'`character/damage_stats.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o member.o `test -f 'character/member.cpp' || echo './'`character/member.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o movement.o `test -f 'character/movement.cpp' || echo './'`character/movement.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o config.o `test -f 'game/config.cpp' || echo './'`game/config.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o game.o `test -f 'game/game.cpp' || echo './'`game/game.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o game_blitz.o `test -f 'game/game_blitz.cpp' || echo './'`game/game_blitz.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o game_classic.o `test -f 'game/game_classic.cpp' || echo './'`game/game_classic.cpp In file included from ai/ai_weapons_weighting.cpp:24: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^In file included from ai/ai_idea.cpp:22: In file included from ./ai/ai_idea.h:28: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ In file included from character/movement.cpp:23: In file included from ./character/movement.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ai/ai_stupid_player.cpp:24: In file included from ./ai/ai_idea.h:28: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ 1In file included from ai/ai_strategy.cpp:22: In file included from ./ai/ai_strategy.h:26: In file included from ./ai/ai_command.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o game_mode.o `test -f 'game/game_mode.cpp' || echo './'`game/game_mode.cpp In file included from game/game_classic.cpp:23: In file included from ./game/game_classic.h:25: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from character/clothe.cpp:21: In file included from ./tool/xml_document.h:8: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from game/game_blitz.cpp:23: In file included from ./game/game_blitz.h:26: In file included from ./game/game.h:In file included from game/config.cpp:30: 44: In file included from ./game/game.h:In file included from 30: ./network/chat.h:In file included from ./network/chat.h28: :28./graphic/color.h: ./graphic/color.h:48::3:48 warning: :definition of implicit3 copy: assignment warning operator: definition offor implicit'Color' copyis assignmentdeprecated operatorbecause it has a user-declaredfor copy 'Color' constructor is deprecated[-Wdeprecated-copy] because it has a user-declared copy constructor Color(const Color& other) { value.color = other.value.color; } [-Wdeprecated-copy] ^ ./graphic/text.h Color(const Color& other) { value.color = other.value.color; } :111 ^ :11: note: in implicit copy assignment operator./graphic/text.h for 'Color': 111: first required 11:here note: color = new_color; ^ in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from ai/ai_idea.cpp:25: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from character/member.cpp:25: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from game/game.cpp:25: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from character/character.cpp:30: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from game/game_classic.cpp:28: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from game/game_blitz.cpp:28: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from character/damage_stats.cpp:22: In file included from ./character/damage_stats.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ai/ai_stupid_player.cpp:26: In file included from ./ai/ai_stupid_player.h:29: In file included from ./team/team.h:30: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from character/character.cpp:35: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from game/game.cpp:37: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from character/member.cpp:30: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from character/member.cpp:23: In file included from ./character/member.h:29: ./character/member_type.h:44:3: warning: definition of implicit copy assignment operator for 'MemberType' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] MemberType(const MemberType& other) { type = other.type; } ^ character/member.cpp:73:8: note: in implicit copy assignment operator for 'MemberType' first required here type = MemberType(type_str); ^ In file included from character/body_list.cpp:21: In file included from ./character/body_list.h:24: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from character/body.cpp:39: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ 1./tool/string_tools.h warning: generated23. :9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o time.o `test -f 'game/time.cpp' || echo './'`game/time.cpp 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o stopwatch.o `test -f 'game/stopwatch.cpp' || echo './'`game/stopwatch.cpp In file included from game/game.cpp:47: In file included from ./menu/help_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from game/game.cpp:47: In file included from ./menu/help_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ ./gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from game/config.cpp:56: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H character/body.cpp:124:32: warning: unused variable 'it' [-Wunused-variable] xmlNodeArray::const_iterator it; ^ In file included from character/character.cpp:47: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from ai/ai_command.cpp:22: In file included from ../lib/warmux/include/WARMUX_action.h:29: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ai/ai_command.cpp:23: ./ai/ai_command.h:130:8: warning: private field 'turning' is not used [-Wunused-private-field] bool turning; ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o color.o `test -f 'graphic/color.cpp' || echo './'`graphic/color.cpp In file included from ai/ai_idea.cpp:22: In file included from ./ai/ai_idea.h:25: In file included from ./ai/ai_strategy.h:26: In file included from ./ai/ai_command.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ai/ai_stupid_player.cpp:22: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ ai/ai_stupid_player.cpp:43:15: warning: private field 'name' is not used [-Wunused-private-field] const char *name; ^ ai/ai_stupid_player.cpp:44:12: warning: private field 'time' is not used [-Wunused-private-field] uint64_t time; ^ ai/ai_stupid_player.cpp:45:12: warning: private field 'sq_time' is not used [-Wunused-private-field] uint64_t sq_time; ^ ai/ai_stupid_player.cpp:46:12: warning: private field 'calls' is not used [-Wunused-private-field] uint calls; ^ ai/ai_stupid_player.cpp:47:12: warning: private field 'min' is not used [-Wunused-private-field] uint min; ^ ai/ai_stupid_player.cpp:48:12: warning: private field 'max' is not used [-Wunused-private-field] uint max; ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o composite_shape.o `test -f 'graphic/composite_shape.cpp' || echo './'`graphic/composite_shape.cpp 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o font.o `test -f 'graphic/font.cpp' || echo './'`graphic/font.cpp In file included from game/game_classic.cpp:22: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o fps.o `test -f 'graphic/fps.cpp' || echo './'`graphic/fps.cpp In file included from character/member.cpp:22: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from game/game_blitz.cpp:22: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o polygon.o `test -f 'graphic/polygon.cpp' || echo './'`graphic/polygon.cpp In file included from character/character.cpp:24: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from game/config.cpp:40: In file included from ../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o polygon_generator.o `test -f 'graphic/polygon_generator.cpp' || echo './'`graphic/polygon_generator.cpp 9 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o sprite.o `test -f 'graphic/sprite.cpp' || echo './'`graphic/sprite.cpp In file included from character/body.cpp:25: In file included from ./character/body.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from game/stopwatch.cpp:22: In file included from ./game/stopwatch.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from game/game.cpp:22: In file included from ./character/body.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from game/game_mode.cpp:27: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 1 warning generated. 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o spriteanimation.o `test -f 'graphic/spriteanimation.cpp' || echo './'`graphic/spriteanimation.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o spritecache.o `test -f 'graphic/spritecache.cpp' || echo './'`graphic/spritecache.cpp 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o surface.o `test -f 'graphic/surface.cpp' || echo './'`graphic/surface.cpp In file included from game/time.cpp:22: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from game/game_mode.cpp:25: In file included from ../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from graphic/composite_shape.cpp:23: In file included from graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from graphic/fps.cpp:25: In file included from ./graphic/text.h:24: In file included from ./graphic/colors.h:25: graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' functionIn file included from graphic/fps.cpp:27: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from graphic/fps.cpp:23: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. In file included from game/time.cpp:22: In file included from ./game/game.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o text.o `test -f 'graphic/text.cpp' || echo './'`graphic/text.cpp 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o text_list.o `test -f 'graphic/text_list.cpp' || echo './'`graphic/text_list.cpp In file included from graphic/font.cpp:22: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from graphic/polygon_generator.cpp:23: In file included from ./graphic/polygon.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. In file included from graphic/polygon.cpp:24: In file included from ./graphic/sprite.h:35: In file included from graphic/spritecache.h:31: In file included from graphic/surface.h:27: graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ graphic/polygon.cpp:506:19: note: in implicit copy assignment operator for 'Color' first required here *border_color = color; ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o video.o `test -f 'graphic/video.cpp' || echo './'`graphic/video.cpp In file included from graphic/sprite.cpp:37: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from graphic/spritecache.cpp:25: In file included from ./graphic/spritecache.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from graphic/spritecache.cpp:25: ./graphic/spritecache.h:97:11: warning: private field 'sprite' is not used [-Wunused-private-field] Sprite &sprite; ^ In file included from graphic/spriteanimation.cpp:25: In file included from ./game/game_time.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from graphic/surface.cpp:38: ./graphic/fading_effect.h:294:7: warning: variable 'result' is uninitialized when used here [-Wuninitialized] result |= pixelColorNolock(dst, x1, y1, color); ^~~~~~ ./graphic/fading_effect.h:275:13: note: initialize the variable 'result' to silence this warning int result; ^ = 0 4 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o abstract_spin_button.o `test -f 'gui/abstract_spin_button.cpp' || echo './'`gui/abstract_spin_button.cpp 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o button_pic.o `test -f 'gui/big/button_pic.cpp' || echo './'`gui/big/button_pic.cpp 1 warning generated. 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o control_config.o `test -f 'gui/control_config.cpp' || echo './'`gui/control_config.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o grid_box.o `test -f 'gui/grid_box.cpp' || echo './'`gui/grid_box.cpp In file included from graphic/polygon.cpp:22: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from graphic/surface.cpp:30: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from graphic/sprite.cpp:28: In file included from ../lib/warmux/include/WARMUX_rectangle.h:30: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o vertical_box.o `test -f 'gui/vertical_box.cpp' || echo './'`gui/vertical_box.cpp 4 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o horizontal_box.o `test -f 'gui/horizontal_box.cpp' || echo './'`gui/horizontal_box.cpp 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o box.o `test -f 'gui/box.cpp' || echo './'`gui/box.cpp 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o button.o `test -f 'gui/button.cpp' || echo './'`gui/button.cpp In file included from graphic/text.cpp:21: In file included from ./graphic/text.h:24: In file included from ./graphic/colors.h:25: graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o button_text.o `test -f 'gui/button_text.cpp' || echo './'`gui/button_text.cpp 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o check_box.o `test -f 'gui/check_box.cpp' || echo './'`gui/check_box.cpp In file included from graphic/text.cpp:25: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from graphic/text_list.cpp:25: In file included from ./graphic/text.h:24: In file included from ./graphic/colors.h:25: graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from graphic/text_list.cpp:24: In file included from ./graphic/text_list.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. In file included from graphic/text.cpp:21: In file included from ./graphic/text.h:25: In file included from graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o combo_box.o `test -f 'gui/combo_box.cpp' || echo './'`gui/combo_box.cpp graphic/video.cpp:119:32: warning: unused variable 'end' [-Wunused-variable] end = available_configs.end(); ^ graphic/video.cpp:118:32: warning: unused variable 'res' [-Wunused-variable] std::list::iterator res = available_configs.begin(), ^ In file included from gui/big/button_pic.cpp:22: In file included from ./gui/big/button_pic.h:25: In file included from ./gui/button.h:26: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o energy_bar.o `test -f 'gui/energy_bar.cpp' || echo './'`gui/energy_bar.cpp In file included from gui/grid_box.cpp:22: In file included from ./gui/grid_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/grid_box.cpp:22: In file included from ./gui/grid_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) In file included from gui/abstract_spin_button.cpp:22: In file included from ./gui/abstract_spin_button.h:25: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/control_config.cpp:23: In file included from ./gui/check_box.h:26: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/control_config.cpp:24: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/control_config.cpp:24: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from graphic/video.cpp:27: In file included from ../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/control_config.cpp:31: In file included from ./gui/select_box.h:26: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ In file included from gui/vertical_box.cpp:22: In file included from ./gui/vertical_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/vertical_box.cpp:22: In file included from ./gui/vertical_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/grid_box.cpp:22: In file included from ./gui/grid_box.h:25: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should gui/control_config.cpp:139:16: warning: 'ControlItem::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key) ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/big/button_pic.cpp:22: In file included from ./gui/big/button_pic.h:25: In file included from ./gui/button.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/vertical_box.cpp:22: In file included from ./gui/vertical_box.h:25: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o figure_widget.o `test -f 'gui/figure_widget.cpp' || echo './'`gui/figure_widget.cpp 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o file_list_box.o `test -f 'gui/file_list_box.cpp' || echo './'`gui/file_list_box.cpp 3 warnings generated. In file included from gui/horizontal_box.cpp:22: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/horizontal_box.cpp:22: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o graph_canvas.o `test -f 'gui/graph_canvas.cpp' || echo './'`gui/graph_canvas.cpp In file included from gui/box.cpp:22: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/box.cpp:22: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/horizontal_box.cpp:22: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/control_config.cpp:22: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o label.o `test -f 'gui/label.cpp' || echo './'`gui/label.cpp 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o msg_box.o `test -f 'gui/msg_box.cpp' || echo './'`gui/msg_box.cpp In file included from gui/box.cpp:22: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o picture_text_cbox.o `test -f 'gui/picture_text_cbox.cpp' || echo './'`gui/picture_text_cbox.cpp 3 warnings generated. 3 warnings generated. 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o picture_widget.o `test -f 'gui/picture_widget.cpp' || echo './'`gui/picture_widget.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o progress_bar.o `test -f 'gui/progress_bar.cpp' || echo './'`gui/progress_bar.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o question.o `test -f 'gui/question.cpp' || echo './'`gui/question.cpp In file included from gui/check_box.cpp:22: In file included from ./gui/check_box.h:26: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/button_text.cpp:22: In file included from ./gui/button_text.h:25: In file included from gui/button.h:26: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/button.cpp:22: In file included from ./gui/button.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/button_text.cpp:22: In file included from ./gui/button_text.h:25: In file included from gui/button.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/check_box.cpp:22: In file included from ./gui/check_box.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o scroll_box.o `test -f 'gui/scroll_box.cpp' || echo './'`gui/scroll_box.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o select_box.o `test -f 'gui/select_box.cpp' || echo './'`gui/select_box.cpp 6 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o spin_button.o `test -f 'gui/spin_button.cpp' || echo './'`gui/spin_button.cpp In file included from gui/combo_box.cpp:23: In file included from ./graphic/sprite.h:35: In file included from ./graphic/spritecache.h:31: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/combo_box.cpp:26: ./gui/combo_box.h:59:19: warning: 'ComboBox::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i&, uint) const { return NULL; }; ^ gui/widget.h:96:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ In file included from gui/energy_bar.cpp:25: In file included from ./gui/energy_bar.h:25: In file included from ./gui/progress_bar.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./gui/progress_bar.h:72:59: note: in implicit copy assignment operator for 'Color' first required here void SetBorderColor(const Color & color) { border_color = color; } ^ In file included from gui/combo_box.cpp:22: In file included from ./graphic/polygon_generator.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o spin_button_picture.o `test -f 'gui/spin_button_picture.cpp' || echo './'`gui/spin_button_picture.cpp In file included from gui/figure_widget.cpp:22: In file included from ./graphic/text.h:24: In file included from ./graphic/colors.h:25: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 2 warnings generated. In file included from gui/energy_bar.cpp:25: In file included from ./gui/energy_bar.h:25: In file included from ./gui/progress_bar.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o tabs.o `test -f 'gui/tabs.cpp' || echo './'`gui/tabs.cpp In file included from gui/progress_bar.cpp:22: In file included from ./gui/progress_bar.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./gui/progress_bar.h:72:59: note: in implicit copy assignment operator for 'Color' first required here void SetBorderColor(const Color & color) { border_color = color; } ^ In file included from gui/figure_widget.cpp:22: In file included from ./graphic/text.h:25: In file included from ./graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/file_list_box.cpp:28: In file included from ./gui/file_list_box.h:27: In file included from gui/select_box.h:25: In file included from ./gui/label.h:27: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/file_list_box.cpp:28: In file included from ./gui/file_list_box.h:27: In file included from gui/select_box.h:26: In file included from ./gui/scroll_box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ 3 warnings generated. In file included from gui/file_list_box.cpp:28: In file included from ./gui/file_list_box.h:27: In file included from gui/select_box.h:26: In file included from ./gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/file_list_box.cpp:28: In file included from ./gui/file_list_box.h:27: In file included from gui/select_box.h:26: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o talk_box.o `test -f 'gui/talk_box.cpp' || echo './'`gui/talk_box.cpp In file included from gui/label.cpp:22: In file included from ./gui/label.h:27: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:27: gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:26: In file included from ./graphic/font.h:26: In file included from ./graphic/colors.h:25: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/graph_canvas.cpp:24: In file included from ./graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/picture_text_cbox.cpp:22: In file included from ./gui/picture_text_cbox.h:25: In file included from ./gui/check_box.h:26: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o text_box.o `test -f 'gui/text_box.cpp' || echo './'`gui/text_box.cpp In file included from gui/label.cpp:22: In file included from ./gui/label.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should In file included from gui/file_list_box.cpp:25be: In file included from ../lib/warmux/include/WARMUX_file_tools.h:25declared: In file included from ../lib/warmux/include/WARMUX_base.h: 25'static inline': In file included from ../lib/warmux/include/WARMUX_types.h: 23 : [-Wunneeded-internal-declaration]../lib/fixedpoint/fixed_class.h :217:15: warning: 'static' static bool isDigit(int c) {function ^'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/progress_bar.cpp:22: In file included from ./gui/progress_bar.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/progress_bar.cpp:22: ./gui/progress_bar.h:45:7: warning: private field 'divisor' is not used [-Wunused-private-field] int divisor; ^ In file included from gui/question.cpp:22: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o torus_cache.o `test -f 'gui/torus_cache.cpp' || echo './'`gui/torus_cache.cpp In file included from gui/picture_text_cbox.cpp:22: In file included from ./gui/picture_text_cbox.h:25: In file included from ./gui/check_box.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/picture_widget.cpp:22: In file included from ./gui/picture_widget.h:27: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o widget.o `test -f 'gui/widget.cpp' || echo './'`gui/widget.cpp 3 warnings generated. In file included from gui/question.cpp:22: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o widget_list.o `test -f 'gui/widget_list.cpp' || echo './'`gui/widget_list.cpp In file included from gui/scroll_box.cpp:26: In file included from ./gui/vertical_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/scroll_box.cpp:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/scroll_box.cpp:27: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ gui/scroll_box.cpp:178:15: warning: unused variable 'track_pos' [-Wunused-variable] Point2i track_pos = GetScrollTrackPos(); ^ In file included from gui/select_box.cpp:22: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/select_box.cpp:23: In file included from ./gui/select_box.h:26: In file included from ./gui/scroll_box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/select_box.cpp:23: In file included from ./gui/select_box.h:26: In file included from ./gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/select_box.cpp:23: In file included from ./gui/select_box.h:26: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ gui/select_box.cpp:149:19: warning: use of unary operator that may be intended as compound assignment (-=) selected_item =- 1; ^~ 2 warnings generated. In file included from gui/scroll_box.cpp:22: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o action_handler.o `test -f 'include/action_handler.cpp' || echo './'`include/action_handler.cpp In file included from gui/spin_button.cpp:22: In file included from ./gui/spin_button.h:26: In file included from ./graphic/colors.h:25: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/spin_button.cpp:22: ./gui/spin_button.h:59:20: warning: 'SpinButton::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget * Click(const Point2i &/*mousePosition*/, uint /*button... ^ ./gui/widget.h:96:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o constant.o `test -f 'include/constant.cpp' || echo './'`include/constant.cpp In file included from gui/select_box.cpp:22: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/spin_button.cpp:22: In file included from ./gui/spin_button.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o cursor.o `test -f 'interface/cursor.cpp' || echo './'`interface/cursor.cpp 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o game_msg.o `test -f 'interface/game_msg.cpp' || echo './'`interface/game_msg.cpp 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o interface.o `test -f 'interface/interface.cpp' || echo './'`interface/interface.cpp 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o joystick.o `test -f 'interface/joystick.cpp' || echo './'`interface/joystick.cpp 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o keyboard.o `test -f 'interface/keyboard.cpp' || echo './'`interface/keyboard.cpp In file included from gui/spin_button_picture.cpp:22: ./gui/spin_button_picture.h:56:19: warning: 'SpinButtonWithPicture::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i &/*mousePosition*/, uint /*button*... ^ ./gui/widget.h:96:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ In file included from gui/spin_button_picture.cpp:22: In file included from ./gui/spin_button_picture.h:26: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/tabs.cpp:25: In file included from ./graphic/colors.h:25: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 6 warnings generated. 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o loading_screen.o `test -f 'interface/loading_screen.cpp' || echo './'`interface/loading_screen.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o man_machine_interface.o `test -f 'interface/man_machine_interface.cpp' || echo './'`interface/man_machine_interface.cpp In file included from gui/spin_button_picture.cpp:21: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/tabs.cpp:29: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from In file included from gui/tabs.cppgui/talk_box.cpp::2922: : ./gui/box.hIn file included from :./graphic/text.h46::248: :In file included from ./graphic/colors.hwarning:: 25'Box::SetBorder': ./graphic/color.hhides: 48overloaded: 3virtual: functionwarning : definition[-Woverloaded-virtual] of implicit copy void SetBorder(uint b) { border_size = b; };assignment ^operator forgui/widget.h :'Color'114 :is16 :deprecated notebecause: hiddenit overloadedhas virtuala functionuser-declared copy'Widget::SetBorder' constructordeclared here:[-Wdeprecated-copy] different number of parameters (2 vs 1) Color(const Color& other) { value.color = other.value.color; } ^ virtual void SetBorder(const Color & border_color, uint boder_size); ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/text_box.cpp:31: In file included from ./graphic/text.h:24: In file included from ./graphic/colors.h:25: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from gui/talk_box.cpp:25: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/talk_box.cpp:25: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/talk_box.cpp:25: In file included from ./gui/msg_box.h:27: gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ In file included from gui/tabs.cpp:24: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/talk_box.cpp:22: In file included from ./graphic/text.h:25: In file included from ./graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o mouse.o `test -f 'interface/mouse.cpp' || echo './'`interface/mouse.cpp In file included from gui/text_box.cpp:31: In file included from ./graphic/text.h:25: In file included from ./graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/torus_cache.cpp:24: In file included from ./graphic/sprite.h:35: In file included from ./graphic/spritecache.h:31: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ gui/torus_cache.cpp:53:20: note: in implicit copy assignment operator for 'Color' first required here progress_color = LOAD_RES_COLOR("menu/annulus_progress_color"); ^ gui/widget.cpp:69:22: warning: base class 'rectangle' is uninitialized when used here to access 'rectangle::size' [-Wuninitialized] : Rectanglei(0, 0, size.x, size.y) ^ gui/widget.cpp:69:30: warning: base class 'rectangle' is uninitialized when used here to access 'rectangle::size' [-Wuninitialized] : Rectanglei(0, 0, size.x, size.y) ^ In file included from gui/widget.cpp:22: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ gui/widget.cpp:296:18: note: in implicit copy assignment operator for 'Color' first required here border_color = _border_color; ^ In file included from gui/widget_list.cpp:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ 5 warnings generated. In file included from include/constant.cpp:22: In file included from include/constant.h:24: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o mouse_cursor.o `test -f 'interface/mouse_cursor.cpp' || echo './'`interface/mouse_cursor.cpp In file included from gui/widget.cpp:22: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/torus_cache.cpp:22: In file included from ./graphic/polygon.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/widget_list.cpp:24: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 4 warnings generated. 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o move_intention.o `test -f 'interface/move_intention.cpp' || echo './'`interface/move_intention.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o weapon_help.o `test -f 'interface/weapon_help.cpp' || echo './'`interface/weapon_help.cpp In file included from interface/game_msg.cpp:22: In file included from ./interface/game_msg.h:27: In file included from ./graphic/text.h:24: In file included from ./graphic/colors.h:25: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o weapon_menu.o `test -f 'interface/weapon_menu.cpp' || echo './'`interface/weapon_menu.cpp In file included from include/action_handler.cpp:36: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from interface/game_msg.cpp:22: In file included from ./interface/game_msg.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. In file included from interface/interface.cpp:23: In file included from ./interface/interface.h:28: In file included from ./gui/progress_bar.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./gui/progress_bar.h:72:59: note: in implicit copy assignment operator for 'Color' first required here void SetBorderColor(const Color & color) { border_color = color; } ^ In file included from interface/interface.cpp:23: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o main.o main.cpp In file included from include/action_handler.cpp:42: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from interface/keyboard.cpp:22: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ 4 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o camera.o `test -f 'map/camera.cpp' || echo './'`map/camera.cpp In file included from include/action_handler.cpp:49: In file included from ./menu/network_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from include/action_handler.cpp:49: In file included from ./menu/network_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ ./gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from interface/joystick.cpp:22: In file included from ./interface/joystick.h:25: In file included from ./interface/man_machine_interface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from interface/cursor.cpp:22: In file included from ./interface/cursor.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o ground.o `test -f 'map/ground.cpp' || echo './'`map/ground.cpp 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o map.o `test -f 'map/map.cpp' || echo './'`map/map.cpp In file included from interface/man_machine_interface.cpp:23: In file included from ./interface/interface.h:28: In file included from ./gui/progress_bar.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./gui/progress_bar.h:72:59: note: in implicit copy assignment operator for 'Color' first required here void SetBorderColor(const Color & color) { border_color = color; } ^ In file included from interface/man_machine_interface.cpp:23: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from interface/loading_screen.cpp:25: In file included from ./graphic/font.h:26: In file included from ./graphic/colors.h:25: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from include/action_handler.cpp:63: In file included from ./weapon/gnu.h:25: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o maps_list.o `test -f 'map/maps_list.cpp' || echo './'`map/maps_list.cpp In file included from interface/interface.cpp:45: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from interface/keyboard.cpp:22: In file included from ./game/game.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from interface/loading_screen.cpp:22: In file included from ./interface/loading_screen.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from interface/man_machine_interface.cpp:33: In file included from ./menu/options_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from interface/man_machine_interface.cpp:33: In file included from ./menu/options_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ ./gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o random_map.o `test -f 'map/random_map.cpp' || echo './'`map/random_map.cpp In file included from interface/move_intention.cpp:22: In file included from ./interface/move_intention.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. In file included from interface/mouse.cpp:26: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o sky.o `test -f 'map/sky.cpp' || echo './'`map/sky.cpp In file included from interface/mouse.cpp:33: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ 2 warnings generated. In file included from interface/mouse_cursor.cpp:22: In file included from ./interface/mouse_cursor.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o tile.o `test -f 'map/tile.cpp' || echo './'`map/tile.cpp 1 warning generated. In file included from include/action_handler.cpp:26: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:28: In file included from ../lib/warmux/include/WARMUX_player.h:27: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o tileitem.o `test -f 'map/tileitem.cpp' || echo './'`map/tileitem.cpp In file included from interface/interface.cpp:22: In file included from ./include/action_handler.h:28: In file included from ../lib/warmux/include/WARMUX_action_handler.h:27: In file included from ../lib/warmux/include/WARMUX_action.h:29: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from interface/weapon_help.cpp:25: In file included from ./graphic/sprite.h:35: In file included from ./graphic/spritecache.h:31: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./gui/progress_bar.h:72:59: note: in implicit copy assignment operator for 'Color' first required here void SetBorderColor(const Color & color) { border_color = color; } ^ In file included from interface/weapon_help.cpp:27: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from interface/weapon_menu.cpp:26: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from main.cpp:29: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from interface/weapon_menu.cpp:33: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from map/camera.cpp:27: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from main.cpp:39: In file included from ./menu/benchmark_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from main.cpp:39: In file included from ./menu/benchmark_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ ./gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from map/camera.cpp:32: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from interface/mouse.cpp:22: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o water.o `test -f 'map/water.cpp' || echo './'`map/water.cpp In file included from map/camera.cpp:39: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from interface/man_machine_interface.cpp:22: In file included from ./interface/man_machine_interface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from map/map.cpp:23: In file included from ./map/map.h:29: In file included from ./map/water.h:27: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from interface/weapon_help.cpp:22: In file included from ./game/game_time.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from map/ground.cpp:22: In file included from ./map/ground.h:26: In file included from map/tile.h:24: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from map/random_map.cpp:26: In file included from ./map/random_map.h:27: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./map/random_map.h:98:58: note: in implicit copy assignment operator for 'Color' first required here void SetBorderColor(const Color& color) { border_color = color; }; ^ In file included from map/maps_list.cpp:38: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from map/camera.cpp:23: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 3 warnings generated. In file included from map/map.cpp:23: In file included from ./map/map.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o wind.o `test -f 'map/wind.cpp' || echo './'`map/wind.cpp In file included from main.cpp:28: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from map/random_map.cpp:36: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H 1 warning generated. In file included from map/maps_list.cpp:26: In file included from ../lib/warmux/include/WARMUX_action.h:29: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from interface/weapon_menu.cpp:24: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o benchmark_menu.o `test -f 'menu/benchmark_menu.cpp' || echo './'`menu/benchmark_menu.cpp In file included from map/tile.cpp:23: In file included from ./map/tileitem.h:24: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from map/sky.cpp:23: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: 3warning: warnings generated. 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o credits_menu.o `test -f 'menu/credits_menu.cpp' || echo './'`menu/credits_menu.cpp static bool isDigit(int c) { ^ In file included from map/random_map.cpp:26: In file included from ./map/random_map.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ map/tile.cpp:676:30: error: non-constant-expression cannot be narrowed from type 'uint' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] SynchTileInfo info = { i, t->GetSynchsum() }; ^ map/tile.cpp:676:30: note: insert an explicit cast to silence this issue SynchTileInfo info = { i, t->GetSynchsum() }; ^ static_cast( ) In file included from map/tileitem.cpp:23: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 4 warnings generated. 1 warning and 1 error generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I ../src -DINSTALL_DATADIR=\"/usr/share/warmux/\" -DINSTALL_LOCALEDIR=\"/usr/share/locale\" -DFONT_FILE=\"/usr/share/fonts/dejavu/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"11.04\" -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o game_menu.o `test -f 'menu/game_menu.cpp' || echo './'`menu/game_menu.cpp make[2]: *** [Makefile:2369: tile.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from map/water.cpp:26: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./gui/progress_bar.h:72:59: note: in implicit copy assignment operator for 'Color' first required here void SetBorderColor(const Color & color) { border_color = color; } ^ In file included from map/water.cpp:27: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ 1 warning generated. 2 warnings generated. In file included from map/water.cpp:35: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H 6 warnings generated. 4 warnings generated. 3 warnings generated. In file included from map/water.cpp:22: In file included from ./game/game_mode.h:29: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 4 warnings generated. 5 warnings generated. In file included from menu/credits_menu.cpp:22: In file included from ./menu/credits_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/credits_menu.cpp:22: In file included from ./menu/credits_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ ./gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ 3 warnings generated. In file included from menu/credits_menu.cpp:22: In file included from ./menu/credits_menu.h:25: In file included from ./menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from menu/credits_menu.cpp:30: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ 1 warning generated. In file included from menu/benchmark_menu.cpp:23: In file included from ./game/game.h:30: In file included from ./network/chat.h:28: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from map/wind.cpp:35: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H 4 warnings generated. In file included from map/wind.cpp:26: In file included from ./graphic/sprite.h:35: In file included from ./graphic/spritecache.h:31: In file included from ./graphic/surface.h:27: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./gui/progress_bar.h:72:59: note: in implicit copy assignment operator for 'Color' first required here void SetBorderColor(const Color & color) { border_color = color; } ^ In file included from map/wind.cpp:36: In file included from ./interface/interface.h:29: ./weapon/weapon_strength_bar.h:40:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:122:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from menu/benchmark_menu.cpp:30: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/benchmark_menu.cpp:30: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ ./gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/credits_menu.cpp:22: In file included from ./menu/credits_menu.h:25: In file included from ./menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 2 warnings generated. In file included from menu/game_menu.cpp:22: In file included from ./menu/game_menu.h:25: In file included from menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:95:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/game_menu.cpp:22: In file included from ./menu/game_menu.h:25: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:46:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint b) { border_size = b; }; ^ ./gui/widget.h:114:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from map/wind.cpp:22: In file included from ./map/wind.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from menu/game_menu.cpp:25: In file included from ./menu/teams_selection_box.h:27: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ In file included from menu/game_menu.cpp:22: In file included from ./menu/game_menu.h:25: In file included from menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:26: ./graphic/color.h:48:3: warning: definition of implicit copy assignment operator for 'Color' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] Color(const Color& other) { value.color = other.value.color; } ^ ./graphic/text.h:111:11: note: in implicit copy assignment operator for 'Color' first required here color = new_color; ^ In file included from menu/game_menu.cpp:32: ./gui/combo_box.h:59:19: warning: 'ComboBox::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i&, uint) const { return NULL; }; ^ ./gui/widget.h:96:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ In file included from menu/game_menu.cpp:22: In file included from ./menu/game_menu.h:25: In file included from menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 5 warnings generated. In file included from menu/benchmark_menu.cpp:22: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:217:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 6 warnings generated. 4 warnings generated. 4 warnings generated. make[2]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/src' make[1]: *** [Makefile:3995: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04/src' make: *** [Makefile:468: all-recursive] Error 1 * ERROR: games-strategy/warmux-11.04.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-strategy/warmux-11.04.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-strategy/warmux-11.04.1-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/games-strategy/warmux-11.04.1-r1:20200828-062348.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04' * S: '/var/tmp/portage/games-strategy/warmux-11.04.1-r1/work/warmux-11.04'