* Package: games-roguelike/scourge-0.21.1-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux 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/0258a468cd2c37c2287f3ff79449010fa35c4c55 (Thu Aug 27 19:35:33 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, 50385084 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 27 Aug 2020 19:35:32 +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-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 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-roguelike/scourge-0.21.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 scourge-0.21.1.src.tar.gz to /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work >>> Unpacking scourge-0.21.1.data.tar.gz to /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work >>> Source unpacked in /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work >>> Preparing source in /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge ... * Applying scourge-0.21.1-gcc47.patch ... [ ok ] * Applying scourge-0.21.1-gcc6.patch ... [ ok ] * Applying scourge-0.21.1-automake-1.13.patch ... [ ok ] * Applying scourge-0.21.1-freetype_pkgconfig.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge' ... * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: scourge/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge ... * econf: updating scourge/config.sub with /usr/share/gnuconfig/config.sub * econf: updating scourge/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/scourge-0.21.1-r1 --htmldir=/usr/share/doc/scourge-0.21.1-r1/html --libdir=/usr/lib64 --with-data-dir=/usr/share/scourge --localedir=/usr/share/locale 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 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 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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes 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 build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether we are using the GNU C Library 2 or newer... yes checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking for simple visibility declarations... yes checking for inline... inline checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... no checking for inttypes.h... yes checking for unsigned long long... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for shared library run path origin... done checking whether imported symbols can be declared weak... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking for multithread API to use... posix checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for NL_LOCALE_NAME macro... yes checking for bison... bison checking version of bison... 3.7.1, ok checking for signed... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ptrdiff_t... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for wcslen... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc 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 for x86_64-pc-linux-gnu-ranlib... (cached) llvm-ranlib checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for getcwd... (cached) yes checking for gettimeofday... yes checking for strdup... (cached) yes checking for finite... yes checking for isnan... yes checking for _finite... no checking for _isnan... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking for /proc/self/maps... yes checking whether everything is installed to the same prefix... no checking whether binary relocation support should be enabled... no 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 Win32 platform... no checking for Mac OSX platform... no checking for main in -ldl... yes checking for main in -lm... yes checking for deflate in -lz... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.0.1... yes checking for SDL_JoystickOpen... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDLNet_Init in -lSDL_net... yes checking for TTF_Init in -lSDL_ttf... yes checking for IMG_Load in -lSDL_image... yes checking for GL library... yes checking for glXGetProcAddressARB... yes checking for GLU library... yes checking for FREETYPE... yes checking for GL/gl.h... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking for GL/glext.h... yes checking whether glext.h is recent enough... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating src/common/Makefile config.status: creating src/gui/Makefile config.status: creating src/test/Makefile config.status: creating src/rpg/Makefile config.status: creating src/events/Makefile config.status: creating src/freetype/Makefile config.status: creating src/net/Makefile config.status: creating src/render/Makefile config.status: creating src/io/Makefile config.status: creating src/squirrel/Makefile config.status: creating src/sqstdlib/Makefile config.status: creating src/sqbinding/Makefile config.status: creating autopackage/default.apspec config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing translations commands /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge make scourge.pot-update make[1]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed mv t-remove-potcdate.sed remove-potcdate.sed if test -n 'cctorok@yahoo.com' || test '' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='cctorok@yahoo.com'; \ else \ msgid_bugs_address=''; \ fi; \ /usr/bin/xgettext --default-domain=scourge --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='Free Software Foundation, Inc.' \ --msgid-bugs-address="$msgid_bugs_address" src/tools/main.cpp:252: warning: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. /usr/bin/xgettext: warning: file '../scourge_data/config/ui.cfg' extension 'cfg' is unknown; will try C ../scourge_data/config/ui.cfg:66: warning: unterminated character constant ../scourge_data/config/ui.cfg:67: warning: unterminated character constant /usr/bin/xgettext: warning: file '../scourge_data/config/spell.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/armor.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/rpg.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/npc.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/mission.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/climate.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/item.cfg' extension 'cfg' is unknown; will try C ../scourge_data/config/item.cfg:59: warning: unterminated character constant /usr/bin/xgettext: warning: file '../scourge_data/config/scourge.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/otheritem.cfg' extension 'cfg' is unknown; will try C ../scourge_data/config/otheritem.cfg:18: warning: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. ../scourge_data/config/otheritem.cfg:24: warning: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. /usr/bin/xgettext: warning: file '../scourge_data/config/pcmodel.cfg' extension 'cfg' is unknown; will try C ../scourge_data/config/pcmodel.cfg:67: warning: unterminated character constant ../scourge_data/config/pcmodel.cfg:69: warning: unterminated character constant ../scourge_data/config/pcmodel.cfg:70: warning: unterminated character constant ../scourge_data/config/pcmodel.cfg:145: warning: unterminated character constant /usr/bin/xgettext: warning: file '../scourge_data/config/magicitem.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/themes.cfg' extension 'cfg' is unknown; will try C ../scourge_data/config/themes.cfg:9: warning: unterminated character constant /usr/bin/xgettext: warning: file '../scourge_data/config/monster.cfg' extension 'cfg' is unknown; will try C ../scourge_data/config/monster.cfg:2: warning: unterminated character constant /usr/bin/xgettext: warning: file '../scourge_data/config/ability.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/weapon.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/location.cfg' extension 'cfg' is unknown; will try C ../scourge_data/config/location.cfg:5: warning: unterminated character constant /usr/bin/xgettext: warning: file '../scourge_data/config/profession.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/map.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/config/book.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/chapter122.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/library.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/emeril2.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/tree.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/itemsum.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/tower.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/chapter12.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/tower1.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/thuzgol.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/hq1.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/hq.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/invader.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/library1.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/temple.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/library31.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/library3.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/library2.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/chapter121.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/maps/general.cfg' extension 'cfg' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/script/skills.nut' extension 'nut' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/script/terrain.nut' extension 'nut' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/script/map.nut' extension 'nut' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/script/chapter12movie.nut' extension 'nut' is unknown; will try C /usr/bin/xgettext: warning: file '../scourge_data/script/hqmovie.nut' extension 'nut' is unknown; will try C test ! -f scourge.po || { \ if test -f ./scourge.pot; then \ sed -f remove-potcdate.sed < ./scourge.pot > scourge.1po && \ sed -f remove-potcdate.sed < scourge.po > scourge.2po && \ if cmp scourge.1po scourge.2po >/dev/null 2>&1; then \ rm -f scourge.1po scourge.2po scourge.po; \ else \ rm -f scourge.1po scourge.2po ./scourge.pot && \ mv scourge.po ./scourge.pot; \ fi; \ else \ mv scourge.po ./scourge.pot; \ fi; \ } make[1]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' test -z "en.po-update hu.po-update it.po-update fr.po-update pl.po-update pt_BR.po-update pt.po-update ru.po-update de.po-update sv.po-update es.po-update" || make en.po-update hu.po-update it.po-update fr.po-update pl.po-update pt_BR.po-update pt.po-update ru.po-update de.po-update sv.po-update es.po-update make[1]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' en: msgmerge en.po scourge.pot -o en.new.po .................................................................................................................................................................................................................................................................................................................................................................................................................................................... done. hu: msgmerge hu.po scourge.pot -o hu.new.po ........................................................................................................................................................................................................................................................................................................................................................................................................ done. it: msgmerge it.po scourge.pot -o it.new.po ........................................................................................................................................................................................................................................................................................................................... done. fr: msgmerge fr.po scourge.pot -o fr.new.po ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done. fr.po:9541: warning: internationalized messages should not contain the '\r' escape sequence fr.po:424: warning: internationalized messages should not contain the '\r' escape sequence fr.po:8210: warning: internationalized messages should not contain the '\r' escape sequence fr.po:8232: warning: internationalized messages should not contain the '\r' escape sequence fr.po:2899: warning: internationalized messages should not contain the '\r' escape sequence fr.po:3468: warning: internationalized messages should not contain the '\r' escape sequence fr.po:9541: warning: internationalized messages should not contain the '\r' escape sequence fr.po:2941: warning: internationalized messages should not contain the '\r' escape sequence pl: msgmerge pl.po scourge.pot -o pl.new.po .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done. pt_BR: msgmerge pt_BR.po scourge.pot -o pt_BR.new.po .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done. pt: msgmerge pt.po scourge.pot -o pt.new.po ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done. ru: msgmerge ru.po scourge.pot -o ru.new.po ................................................................................................................................................................................................................................................................................................................................................................................................................................................. done. de: msgmerge de.po scourge.pot -o de.new.po ........................................................................................................................................................................................................................................................................................................................ done. sv: msgmerge sv.po scourge.pot -o sv.new.po ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done. es: msgmerge es.po scourge.pot -o es.new.po ..................................................................................................................................................................................................................................................................................................................................................... done. make[1]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' make update-gmo make[1]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' rm -f en.gmo && /usr/bin/gmsgfmt -c --statistics -o en.gmo en.po 5 translated messages, 45 fuzzy translations, 2883 untranslated messages. rm -f hu.gmo && /usr/bin/gmsgfmt -c --statistics -o hu.gmo hu.po 17 translated messages, 40 fuzzy translations, 2876 untranslated messages. rm -f it.gmo && /usr/bin/gmsgfmt -c --statistics -o it.gmo it.po it.po:11: warning: header field 'Language' still has the initial default value 2625 translated messages, 167 fuzzy translations, 141 untranslated messages. rm -f fr.gmo && /usr/bin/gmsgfmt -c --statistics -o fr.gmo fr.po 1138 translated messages, 156 fuzzy translations, 1639 untranslated messages. rm -f pl.gmo && /usr/bin/gmsgfmt -c --statistics -o pl.gmo pl.po 792 translated messages, 161 fuzzy translations, 1980 untranslated messages. rm -f pt_BR.gmo && /usr/bin/gmsgfmt -c --statistics -o pt_BR.gmo pt_BR.po 1571 translated messages, 153 fuzzy translations, 1209 untranslated messages. rm -f pt.gmo && /usr/bin/gmsgfmt -c --statistics -o pt.gmo pt.po 273 translated messages, 76 fuzzy translations, 2584 untranslated messages. rm -f ru.gmo && /usr/bin/gmsgfmt -c --statistics -o ru.gmo ru.po 14 translated messages, 10 fuzzy translations, 2909 untranslated messages. rm -f de.gmo && /usr/bin/gmsgfmt -c --statistics -o de.gmo de.po 2933 translated messages. rm -f sv.gmo && /usr/bin/gmsgfmt -c --statistics -o sv.gmo sv.po sv.po:4: warning: header field 'Language' still has the initial default value 2438 translated messages, 185 fuzzy translations, 310 untranslated messages. rm -f es.gmo && /usr/bin/gmsgfmt -c --statistics -o es.gmo es.po 2910 translated messages, 7 fuzzy translations, 16 untranslated messages. make[1]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge >>> Source configured. >>> Compiling source in /var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge ... make -j16 V=1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge' Making all in intl make[2]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/intl' Making all in po make[2]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' test ! -f ./scourge.pot || \ test -z "en.gmo hu.gmo it.gmo fr.gmo pl.gmo pt_BR.gmo pt.gmo ru.gmo de.gmo sv.gmo es.gmo" || make en.gmo hu.gmo it.gmo fr.gmo pl.gmo pt_BR.gmo pt.gmo ru.gmo de.gmo sv.gmo es.gmo make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' make[3]: 'en.gmo' is up to date. make[3]: 'hu.gmo' is up to date. make[3]: 'it.gmo' is up to date. make[3]: 'fr.gmo' is up to date. make[3]: 'pl.gmo' is up to date. make[3]: 'pt_BR.gmo' is up to date. make[3]: 'pt.gmo' is up to date. make[3]: 'ru.gmo' is up to date. make[3]: 'de.gmo' is up to date. make[3]: 'sv.gmo' is up to date. make[3]: 'es.gmo' is up to date. make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' touch stamp-po make[2]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/po' Making all in src make[2]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src' Making all in common make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/common' x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o binreloc.o binreloc.c x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o constants.o constants.cpp In file included from constants.cpp:18: In file included from ./constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ constants.cpp:83:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Infamy awaits in the dungeons of Scourge!" ), ^ constants.cpp:84:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Another day, another sewer! Welcome to Scourge!" ), ^ constants.cpp:85:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Happy hunting; welcome to Scourge!" )}, ^ constants.cpp:86:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "That item is out of your reach" ), ^ constants.cpp:87:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "You can't touch that" ), ^ constants.cpp:88:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "You have to be closer to get that" ), ^ constants.cpp:89:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "You are too far to reach it" )}, ^ constants.cpp:90:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "The door is blocked" ), ^ constants.cpp:91:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Something is blocking that door" ), ^ constants.cpp:92:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "You can't use that door; something is in the way" )}, ^ constants.cpp:93:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "You are now in single-step mode" )}, ^ constants.cpp:94:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "You are now in group mode" )}, ^ constants.cpp:95:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Paused: you have entered turn-based mode" )}, ^ constants.cpp:96:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Un-paused: you are in real-time mode" )}, ^ constants.cpp:97:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Close" )}, ^ constants.cpp:98:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Drop Item" )}, ^ constants.cpp:99:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Open Item" )}, ^ constants.cpp:100:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Drag items to/from the list, Right click for info" )}, ^ constants.cpp:101:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Play Mission" )}, ^ constants.cpp:102:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Do you really want to exit this mission?" )}, ^ constants.cpp:103:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Teleport back to base?" )}, ^ constants.cpp:104:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "OK" )}, ^ constants.cpp:105:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Cancel" )}, ^ constants.cpp:106:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Yes" )}, ^ constants.cpp:107:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "No" )}, ^ constants.cpp:108:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Select a character who is alive and has leveled up." )}, ^ constants.cpp:109:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "No skill points available." )}, ^ constants.cpp:110:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Select a skill first." )}, ^ constants.cpp:111:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "S.C.O.U.R.G.E. dialog" )}, ^ constants.cpp:112:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Use gate to descend a level?" ), ^ constants.cpp:113:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Use gate to ascend a level?" )}, ^ constants.cpp:114:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "A dead character cannot perform this action." )}, ^ constants.cpp:115:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "hp:" )}, ^ constants.cpp:116:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "ac:" )}, ^ constants.cpp:117:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Your magic fizzles and dies." ), ^ constants.cpp:118:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Only the roaches are impressed by your mumbled words." ), ^ constants.cpp:119:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "The silence is broken only by some crickets nearby." ), ^ constants.cpp:120:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Bazzoomm! A small cloud of smoke rises to the ceiling." )}, ^ constants.cpp:121:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Your character cannot equip that item." )}, ^ constants.cpp:122:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Fill out the server details, first." )}, ^ constants.cpp:123:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Unable to connect to server." )}, ^ constants.cpp:124:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "You hear a very loud, metallic sound nearby." ), ^ constants.cpp:125:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Something clicks." ), ^ constants.cpp:126:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "The loud twang doesn't help; this is freaky enough already." )}, ^ constants.cpp:127:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "A muffled, metalic, grating noise echoes from the dark." ), ^ constants.cpp:128:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "You've done something... you're not sure what but you hop... ^ constants.cpp:129:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "You feel the resonance of an almost sub-tonal bass note." ), ^ constants.cpp:130:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "An omnious sound floats from a distant corner." )}, ^ constants.cpp:131:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Suck! It is locked shut!" ), ^ constants.cpp:132:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Try as you might, you can't open it." ), ^ constants.cpp:133:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Perhaps it's locked." )}, ^ constants.cpp:134:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "This teleporter is off-line." ), ^ constants.cpp:135:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Nothing happens." ), ^ constants.cpp:136:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "The teleporter blinks unimpressively." )}, ^ constants.cpp:137:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Information" )}, ^ constants.cpp:138:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Delete old saved game?" )}, ^ constants.cpp:139:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "You're not experienced enough to equip it yet." )}, ^ constants.cpp:140:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Change key" )}, ^ constants.cpp:141:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Waiting for new key (Esc to cancel)" )}, ^ constants.cpp:142:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Conversation" )}, ^ constants.cpp:143:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Trade" )}, ^ constants.cpp:144:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Train" )}, ^ constants.cpp:145:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Healing Services" )}, ^ constants.cpp:146:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Donate to Temple" )}, ^ constants.cpp:147:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "You don't meet the prerequisites for this capability." )}, ^ constants.cpp:148:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "You cannot activate an automatic capability." )}, ^ constants.cpp:149:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "A two handed item requires two free hands." )}, ^ constants.cpp:150:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "TRAIN" )}, ^ constants.cpp:151:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "SKILL" )}, ^ constants.cpp:152:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "A magical force turns the lock's tumbles to open." ), ^ constants.cpp:153:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Some kind of summoned energy opens the lock." )}, ^ constants.cpp:154:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Killed by" ), ^ constants.cpp:155:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Annihilated by" ), ^ constants.cpp:156:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Slain by" ), ^ constants.cpp:157:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Brought low by" ), ^ constants.cpp:158:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Dropped by" ), ^ constants.cpp:159:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Ruined by" ), ^ constants.cpp:160:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Extinguished by" ), ^ constants.cpp:161:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Laid low by" )}, ^ constants.cpp:162:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Uncurse items" )}, ^ constants.cpp:163:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Recharge items" )}, ^ constants.cpp:164:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { N_( "Identify items" )}, ^ 83 warnings generated. rm -f libScourgeCommon.a ar cru libScourgeCommon.a binreloc.o constants.o llvm-ranlib libScourgeCommon.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/common' Making all in freetype make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/freetype' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fontmgr.o fontmgr.cpp In file included from fontmgr.cpp:28: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 1 warning generated. rm -f libScourgeFreeType.a ar cru libScourgeFreeType.a fontmgr.o llvm-ranlib libScourgeFreeType.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/freetype' Making all in gui make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/gui' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o guitheme.o guitheme.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o widget.o widget.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o slider.o slider.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o textfield.o textfield.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o widgetview.o widgetview.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o canvas.o canvas.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o button.o button.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o label.o label.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o checkbox.o checkbox.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cardcontainer.o cardcontainer.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o draganddrop.o draganddrop.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o multiplelabel.o multiplelabel.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o scrollinglist.o scrollinglist.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o scrollinglabel.o scrollinglabel.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o window.o window.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o confirmdialog.o confirmdialog.cpp In file included from In file included from button.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from guitheme.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from label.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ widget.cppIn file included from widgetview.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ :/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 18/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ : /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from ./../common/constants.h:In file included from multiplelabel.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ 93: In file included from slider.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h/usr/include/SDL/SDL_opengl.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ :116/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from cardcontainer.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ :9:/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from canvas.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here In file included from #define GL_GLEXT_VERSION 20190805checkbox.cpp: ^17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 54:9: note: previous definition isIn file included from scrollinglabel.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ here /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ #define GL_GLEXT_VERSION 20190805 ^ In file included from confirmdialog.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from textfield.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from scrollinglist.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from window.cpp:17: In file included from In file included from ./../common/constants.h:93draganddrop.cpp:: /usr/include/SDL/SDL_opengl.h18: :116In file included from :9./../common/constants.h:: 93warning: : /usr/include/SDL/SDL_opengl.h'GL_GLEXT_VERSION' :116macro :9redefined : [-Wmacro-redefined]warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:/usr/include/GL/glext.h54:9::54 note:9: : previous note: definitionprevious isdefinition is here here #define GL_GLEXT_VERSION 20190805#define GL_GLEXT_VERSION 20190805 ^ ^ label.cpp:37:7: warning: address of array 'this->text' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( text ) { ~~ ^~~~ checkbox.cpp:70:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] checkButton->setLabel( "x" ); ^ checkbox.cpp:72:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] checkButton->setLabel( " " ); ^ window.cpp:295:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ...insideWidget = this->widget[t]->isInside( x - getX(), y - getY() - gutter )... ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ window.cpp:295:25: note: place parentheses around the assignment to silence this warning ...insideWidget = this->widget[t]->isInside( x - getX(), y - getY() - gutter ) ) { ^ ( ) window.cpp:295:25: note: use '==' to turn this assignment into an equality comparison if ( insideWidget = this... ^ == window.cpp:553:8: warning: address of array 'this->title' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( title || ( closeButton && !isLocked() ) ) { ^~~~~ ~~ window.cpp:574:8: warning: address of array 'this->title' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( title ) drawTitle( topY, openHeight ); ~~ ^~~~~ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o textdialog.o textdialog.cpp 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o progress.o progress.cpp 1 warning generated. 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o eventhandler.o eventhandler.cpp 1 warning generated. 3 warnings generated. 1 warning generated. 1 warning generated. 2 warnings generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. In file included from progress.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from textdialog.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from eventhandler.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ textdialog.cpp:39:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] scourgeGui->getHighlightTexture(), "Ok" ); ^ textdialog.cpp:45:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ); ^ 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 4 warnings generated. 3 warnings generated. rm -f libScourgeGui.a ar cru libScourgeGui.a guitheme.o widget.o slider.o textfield.o widgetview.o canvas.o button.o label.o checkbox.o cardcontainer.o draganddrop.o multiplelabel.o scrollinglist.o scrollinglabel.o window.o confirmdialog.o textdialog.o progress.o eventhandler.o llvm-ranlib libScourgeGui.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/gui' Making all in test make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/test' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o combattest.o combattest.cpp In file included from combattest.cpp:17: In file included from ./combattest.h:21: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from combattest.cpp:18: In file included from ./../rpg/rpglib.h:27: ./../rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from combattest.cpp:19: In file included from ./../creature.h:37: In file included from ./../rpg/../session.h:25: In file included from ./../rpg/../party.h:25: In file included from ./../rpg/../events/thirsthungerevent.h:22: In file included from ./../rpg/../scourge.h:34: ./../rpg/../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ combattest.cpp:65:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Creature *attacker = createCharacter( session, "RA", "Attacker", 1 ); ^ combattest.cpp:71:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Creature *defender = createCharacter( session, "RA", "Defender", 1 ); ^ 5 warnings generated. rm -f libScourgeTest.a ar cru libScourgeTest.a combattest.o llvm-ranlib libScourgeTest.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/test' Making all in rpg make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/rpg' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o character.o character.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rpg.o rpg.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rpgitem.o rpgitem.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monster.o monster.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o spell.o spell.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o specialskill.o specialskill.cpp In file included from specialskill.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from character.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from spell.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from monster.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from rpgitem.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from rpg.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from monster.cpp:18: In file included from ./monster.h:25: In file included from ./rpgitem.h:25: ./character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from character.cpp:19: ./character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from rpgitem.cpp:18: In file included from ./rpgitem.h:25: ./character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from rpg.cpp:19: In file included from ./rpgitem.h:25: ./character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from rpgitem.cpp:21: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ rpgitem.cpp:49:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Slashing" ), ^ rpgitem.cpp:50:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Piercing" ), ^ rpgitem.cpp:51:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] N_( "Crushing" ) ^ rpgitem.cpp:247:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf( name, 255, node->getValueAsString( "name" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:247:24: note: treat the string as an argument to avoid this snprintf( name, 255, node->getValueAsString( "name" ) ); ^ "%s", rpgitem.cpp:248:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ...snprintf( displayName, 255, node->getValueAsString( "display_name" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:248:31: note: treat the string as an argument to avoid this snprintf( displayName, 255, node->getValueAsString( "dis... ^ "%s", rpgitem.cpp:250:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf( type, 255, node->getValueAsString( "type" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:250:24: note: treat the string as an argument to avoid this snprintf( type, 255, node->getValueAsString( "type" ) ); ^ "%s", rpgitem.cpp:254:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf( shape, 255, node->getValueAsString( "shape" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:254:25: note: treat the string as an argument to avoid this snprintf( shape, 255, node->getValueAsString( "shape" ) ); ^ "%s", rpgitem.cpp:260:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ...long_description, 500, node->getValueAsString( "description" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:260:36: note: treat the string as an argument to avoid this snprintf( long_description, 500, node->getValueAsString... ^ "%s", rpgitem.cpp:261:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ...short_description, 120, node->getValueAsString( "short_description" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:261:37: note: treat the string as an argument to avoid this snprintf( short_description, 120, node->getValueAsString... ^ "%s", rpgitem.cpp:265:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ...containerTexture, 255, node->getValueAsString( "container_texture" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:265:36: note: treat the string as an argument to avoid this snprintf( containerTexture, 255, node->getValueAsString... ^ "%s", rpgitem.cpp:268:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf( temp, 1000, node->getValueAsString( "icon" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:268:25: note: treat the string as an argument to avoid this snprintf( temp, 1000, node->getValueAsString( "icon" ) ); ^ "%s", rpgitem.cpp:294:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf( temp, 1000, node->getValueAsString( "tags" ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpgitem.cpp:294:25: note: treat the string as an argument to avoid this snprintf( temp, 1000, node->getValueAsString( "tags" ) ); ^ "%s", rpgitem.cpp:548:10: warning: address of stack memory associated with parameter 'tag' returned [-Wreturn-stack-address] return tag.c_str(); ^~~ 1 warning generated. 2 warnings generated. 1 warning generated. 2 warnings generated. 2 warnings generated. 16 warnings generated. rm -f libScourgeRpg.a ar cru libScourgeRpg.a character.o rpg.o rpgitem.o monster.o spell.o specialskill.o llvm-ranlib libScourgeRpg.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/rpg' Making all in events make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/events' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o event.o event.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o thirsthungerevent.o thirsthungerevent.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o potionexpirationevent.o potionexpirationevent.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o statemodexpirationevent.o statemodexpirationevent.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o reloadevent.o reloadevent.cpp In file included from event.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from reloadevent.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from potionexpirationevent.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from thirsthungerevent.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from statemodexpirationevent.cpp:19: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 1 warning generated. In file included from potionexpirationevent.cpp:20: In file included from ./../rpg/rpglib.h:27: ./../rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from statemodexpirationevent.cpp:21: In file included from ./../render/renderlib.h:31: ./../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from reloadevent.cpp:19: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from thirsthungerevent.cpp:19: In file included from ./thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from potionexpirationevent.cpp:21: In file included from ./../render/renderlib.h:31: ./../gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from statemodexpirationevent.cpp:21: In file included from ./../render/renderlib.h:32: In file included from ./../render/glshape.h:25: In file included from ./../render/shapes.h:27: In file included from ./../render/../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from potionexpirationevent.cpp:21: In file included from ./../render/renderlib.h:32: In file included from ./../gui/../render/glshape.h:25: In file included from ./../gui/../render/shapes.h:27: In file included from ./../gui/../render/../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from thirsthungerevent.cpp:20: In file included from ./../render/renderlib.h:31: ./../gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from thirsthungerevent.cpp:20: In file included from ./../render/renderlib.h:38: In file included from ./../gui/../render/md2shape.h:43: ./../gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from statemodexpirationevent.cpp:21: In file included from ./../render/renderlib.h:38: In file included from ./../render/md2shape.h:43: ./../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from thirsthungerevent.cpp:21: In file included from ./../creature.h:36: In file included from ./../rpg/rpglib.h:27: ./../rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from statemodexpirationevent.cpp:22: In file included from ./../creature.h:36: In file included from ./../rpg/rpglib.h:27: ./../rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from potionexpirationevent.cpp:21: In file included from ./../render/renderlib.h:38: In file included from ./../gui/../render/md2shape.h:43: ./../gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 2 warnings generated. 5 warnings generated. 5 warnings generated. 5 warnings generated. rm -f libScourgeEvents.a ar cru libScourgeEvents.a event.o thirsthungerevent.o potionexpirationevent.o statemodexpirationevent.o reloadevent.o llvm-ranlib libScourgeEvents.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/events' Making all in net make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/net' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o broadcast.o broadcast.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o client.o client.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o clientinfo.o clientinfo.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o commands.o commands.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gamestatehandler.o gamestatehandler.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o server.o server.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tcputil.o tcputil.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o testgamestatehandler.o testgamestatehandler.cpp In file included from server.cpp:1: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from gamestatehandler.cpp:1: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from commands.cpp:1: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from tcputil.cpp:1: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from client.cpp:1: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from clientinfo.cpp:1: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 1 warning generated. 1 warning generated. clientinfo.cpp:40:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] TCPUtil::send( socket, "CLOSING" ); ^ In file included from testgamestatehandler.cpp:1: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from broadcast.cpp:1: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 2 warnings generated. rm -f libScourgeNet.a ar cru libScourgeNet.a broadcast.o client.o clientinfo.o commands.o gamestatehandler.o server.o tcputil.o testgamestatehandler.o llvm-ranlib libScourgeNet.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/net' Making all in render make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/render' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shapes.o shapes.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o renderedcreature.o renderedcreature.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fog.o fog.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o maprenderhelper.o maprenderhelper.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o map.o map.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapadapter.o mapadapter.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o frustum.o frustum.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o renderedprojectile.o renderedprojectile.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o projectilerenderer.o projectilerenderer.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o location.o location.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o effect.o effect.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shape.o shape.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o glshape.o glshape.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o glcaveshape.o glcaveshape.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gllocator.o gllocator.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gltorch.o gltorch.cpp In file included from fog.cppIn file included from :frustum.cpp:15: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ 18: In file included from ./../common/constants.h/usr/include/GL/glext.h:93:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ : /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from maprenderhelper.cpp:In file included from 18: In file included from ./../common/constants.h:mapadapter.cpp:9318: : /usr/include/SDL/SDL_opengl.hIn file included from ./../common/constants.h:93:116: /usr/include/SDL/SDL_opengl.h:9:116::9: warning warning: : 'GL_GLEXT_VERSION' 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ #define GL_GLEXT_VERSION 29 ^ In file included from In file included from effect.cppshapes.cpp:18:18: : In file included from In file included from ./../common/constants.h./../common/constants.h::9393: : /usr/include/SDL/SDL_opengl.h/usr/include/SDL/SDL_opengl.h::116116:9::9: warning warning: : In file included from 'GL_GLEXT_VERSION''GL_GLEXT_VERSION' macromacroglcaveshape.cpp :redefined redefined17 : [-Wmacro-redefined]In file included from ./../common/constants.h :93[-Wmacro-redefined]: /usr/include/SDL/SDL_opengl.h#define GL_GLEXT_VERSION 29: ^116:9 #define GL_GLEXT_VERSION 29: ^warning : 'GL_GLEXT_VERSION' macro /usr/include/GL/glext.h:redefined 54:[-Wmacro-redefined]9 : note: previous definition #define GL_GLEXT_VERSION 29 is ^ here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h/usr/include/GL/glext.h:54:9: note: previous definition is here /usr/include/GL/glext.h:54:#define GL_GLEXT_VERSION 201908059: ^ note : previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from renderedprojectile.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 In file included from gllocator.cpp ^: 19: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ :54/usr/include/GL/glext.h:9:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ : note: previous definition is here In file included from location.cpp:19: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ #define GL_GLEXT_VERSION 20190805 ^/usr/include/GL/glext.hIn file included from :54:9gltorch.cpp:: 18note: : previousIn file included from ./../common/constants.h: 93definition : is /usr/include/SDL/SDL_opengl.hhere: 116:9: #define GL_GLEXT_VERSION 20190805warning: 'GL_GLEXT_VERSION' ^ macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from glshape.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from renderedcreature.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: In file included from projectilerenderer.cppwarning: :'GL_GLEXT_VERSION'18 : In file included from macro ./../common/constants.hredefined:93 : [-Wmacro-redefined] /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' #define GL_GLEXT_VERSION 29 macro ^ redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: /usr/include/GL/glext.h:note: previous54: definition9: isnote: previoushere definition is here #define GL_GLEXT_VERSION 20190805 ^ #define GL_GLEXT_VERSION 20190805 ^ In file included from shape.cpp:In file included from 18: In file included from map.cpp:./../common/constants.h:18: 93: In file included from ./../common/constants.h/usr/include/SDL/SDL_opengl.h:93:116: /usr/include/SDL/SDL_opengl.h:9:116: :9warning: : warning'GL_GLEXT_VERSION' : 'GL_GLEXT_VERSION'macro macroredefined redefined [-Wmacro-redefined] [-Wmacro-redefined] #define GL_GLEXT_VERSION 29#define GL_GLEXT_VERSION 29 ^ ^ /usr/include/GL/glext.h/usr/include/GL/glext.h::5454::9: note9: : previousnote : definitionprevious isdefinition here is here #define GL_GLEXT_VERSION 20190805 ^#define GL_GLEXT_VERSION 20190805 ^ In file included from frustum.cpp:17: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from glcaveshape.cpp:18: In file included from ./glcaveshape.h:23: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from gllocator.cpp:20: In file included from ./gllocator.h:23: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from maprenderhelper.cpp:21: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from effect.cpp:20: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from gltorch.cpp:19: In file included from ./gltorch.h:22: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from glshape.cpp:19: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from fog.cpp:20: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from projectilerenderer.cpp:19: In file included from ./projectilerenderer.h:23: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from shape.cpp:19: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from renderedcreature.cpp:21: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from frustum.cpp:18: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from shapes.cpp:19: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from gllocator.cpp:20: In file included from ./gllocator.h:23: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from glcaveshape.cpp:18: In file included from ./glcaveshape.h:23: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from effect.cpp:20: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from gltorch.cpp:19: In file included from ./gltorch.h:22: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from glshape.cpp:19: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from map.cpp:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from projectilerenderer.cpp:19: In file included from ./projectilerenderer.h:23: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from fog.cpp:20: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from maprenderhelper.cpp:23: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o glteleporter.o glteleporter.cpp 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cutscene.o cutscene.cpp In file included from renderedcreature.cpp:21: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from shapes.cpp:20: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from shapes.cpp:24: In file included from ./md2shape.h:43: ./animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ glcaveshape.cpp:92:55: warning: base class 'GLShape' is uninitialized when used here to access 'GLShape::color' [-Wuninitialized] ...: GLShape( texture, width, depth, height, name, 0, color, index ) { ^ In file included from map.cpp:24: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ effect.cpp:31:66: warning: implicit conversion from 'int' to 'Uint8' (aka 'unsigned char') changes value from 2000 to 208 [-Wconstant-conversion] this->shape = new GLShape( 0, width, height, width, NULL, 0, 0, 2000 ); ~~~~~~~ ^~~~ shapes.cpp:398:10: warning: expression result unused [-Wunused-value] assert( theme ); ^~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ effect.cpp:85:60: warning: implicit conversion from 'int' to 'Uint8' (aka 'unsigned char') changes value from 2000 to 208 [-Wconstant-conversion] shape = new GLShape( 0, width, height, width, NULL, 0, 0, 2000 ); ~~~~~~~ ^~~~ 2 warnings generated. shapes.cpp:686:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Constants::checkTexture( "Shapes::loadGLTextures", width, height ); ^ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o animatedshape.o animatedshape.cpp shapes.cpp:907:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *textureDirs[] = { "/textures/", "/cave/default/", "/objects/houses... ^ shapes.cpp:907:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *textureDirs[] = { "/textures/", "/cave/default/", "/objects/houses... ^ shapes.cpp:907:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *textureDirs[] = { "/textures/", "/cave/default/", "/objects/houses... ^ shapes.cpp:907:77: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...= { "/textures/", "/cave/default/", "/objects/houses/", "" }; ^ In file included from map.cpp:27: In file included from ./md2shape.h:43: ./animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ map.cpp:224:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outdoorShadow = adapter->getNamedTexture( "outdoors_shadow" ); ^ map.cpp:225:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outdoorShadowTree = adapter->getNamedTexture( "outdoors_shadow_tree" ); ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o modelwrapper.o modelwrapper.cpp map.cpp:4553:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] adapter->setDebugStr( "map: " ); ^ map.cpp:4602:18: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] pos->texIndex = NULL; ~ ^~~~ 0 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Md2.o Md2.cpp 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o md2shape.o md2shape.cpp In file included from cutscene.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from glteleporter.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Md3.o Md3.cpp In file included from animatedshape.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from glteleporter.cpp:19: In file included from ./glteleporter.h:23: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o md3shape.o md3shape.cpp 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o 3ds.o 3ds.cpp In file included from cutscene.cpp:19: In file included from ./cutscene.h:22: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from modelwrapper.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from animatedshape.cpp:21: In file included from ./animatedshape.h:31: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from glteleporter.cpp:19: In file included from ./glteleporter.h:23: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o 3dsshape.o 3dsshape.cpp In file included from animatedshape.cpp:21: In file included from ./animatedshape.h:31: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from modelwrapper.cpp:21: In file included from ./animatedshape.h:31: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 5 warnings generated. 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o virtualshape.o virtualshape.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o texture.o texture.cpp In file included from animatedshape.cpp:21: ./animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from modelwrapper.cpp:21: In file included from ./animatedshape.h:31: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from Md2.cpp:12: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 3 warnings generated. In file included from md2shape.cpp:28: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from Md3.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from md2shape.cpp:31: In file included from ./md2shape.h:43: In file included from ./animatedshape.h:31: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from modelwrapper.cpp:21: ./animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from Md2.cpp:13: In file included from ./md2shape.h:43: In file included from ./animatedshape.h:31: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from md2shape.cpp:31: In file included from ./md2shape.h:43: In file included from ./animatedshape.h:31: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from md3shape.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from md2shape.cpp:31: In file included from ./md2shape.h:43: ./animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from Md3.cpp:24: In file included from ./md3shape.h:30: In file included from ./animatedshape.h:31: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from Md2.cpp:13: In file included from ./md2shape.h:43: In file included from ./animatedshape.h:31: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from 3ds.cpp:16: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from Md3.cpp:24: In file included from ./md3shape.h:30: In file included from ./animatedshape.h:31: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from 3dsshape.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from md3shape.cpp:22: In file included from ./md3shape.h:30: In file included from ./animatedshape.h:31: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from Md2.cpp:13: In file included from ./md2shape.h:43: ./animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 3 warnings generated. In file included from Md3.cpp:24: In file included from ./md3shape.h:30: ./animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ Md3.cpp:603:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] LinkModel( &m_Lower, &m_Upper, "tag_torso" ); ^ Md3.cpp:606:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] LinkModel( &m_Upper, &m_Head, "tag_head" ); ^ Md3.cpp:726:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] LinkModel( &m_Upper, &m_Weapon, "tag_weapon" ); ^ Md3.cpp:1360:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] animationIndex = getAnimationIndex( "TORSO_STAND", &m_Upper ); ^ Md3.cpp:1362:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] animationIndex = getAnimationIndex( "LEGS_IDLE", &m_Lower ); ^ In file included from md3shape.cpp:22: In file included from ./md3shape.h:30: In file included from ./animatedshape.h:31: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from 3dsshape.cpp:22: In file included from ./3dsshape.h:38: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 4 warnings generated. In file included from virtualshape.cpp:18: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from texture.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 4 warnings generated. 2 warnings generated. In file included from md3shape.cpp:22: In file included from ./md3shape.h:30: ./animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ md3shape.cpp:43:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetTorsoAnimation( "TORSO_STAND", true, this ); ^ md3shape.cpp:44:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetLegsAnimation( "LEGS_IDLE", true, this ); ^ md3shape.cpp:152:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetTorsoAnimation( "TORSO_ATTACK", true, this ); ^ md3shape.cpp:153:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetLegsAnimation( "LEGS_IDLE", true, this ); ^ md3shape.cpp:156:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetTorsoAnimation( "TORSO_STAND", true, this ); ^ md3shape.cpp:157:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetLegsAnimation( "LEGS_IDLE", true, this ); ^ md3shape.cpp:160:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetTorsoAnimation( "TORSO_STAND", true, this ); ^ md3shape.cpp:161:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetLegsAnimation( "LEGS_WALK", true, this ); ^ md3shape.cpp:167:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetTorsoAnimation( "TORSO_STAND", true, this ); ^ md3shape.cpp:168:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetLegsAnimation( "LEGS_IDLE", true, this ); ^ md3shape.cpp:171:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetTorsoAnimation( "TORSO_STAND2", true, this ); ^ md3shape.cpp:172:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetLegsAnimation( "LEGS_IDLE", true, this ); ^ md3shape.cpp:175:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetTorsoAnimation( "TORSO_GESTURE", true, this ); ^ md3shape.cpp:176:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] md3->SetLegsAnimation( "LEGS_IDLE", true, this ); ^ In file included from 3dsshape.cpp:22: In file included from ./3dsshape.h:38: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ 4 warnings generated. In file included from virtualshape.cpp:19: In file included from ./virtualshape.h:22: In file included from ./glshape.h:23: ./shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from texture.cpp:19: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ texture.cpp:165:25: warning: expression result unused [-Wunused-value] assert( _id != INVALID && _id != INPROGRESS ); ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ texture.cpp:319:25: warning: expression result unused [-Wunused-value] assert( _id != INVALID && _id != INPROGRESS ); ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ texture.cpp:353:25: warning: expression result unused [-Wunused-value] assert( _id != INVALID && _id != INPROGRESS ); ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ texture.cpp:383:60: warning: expression result unused [-Wunused-value] ...assert( _surface == NULL && _width == -1 && _height == -1 && _filename.compare( "" ) != 0 ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ texture.cpp:396:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Constants::checkTexture( "Texture::Actual::loadImage", _width, _... ^ texture.cpp:410:19: warning: inequality comparison result unused [-Wunused-comparison] assert( _surface != NULL ); ~~~~~~~~~~~~~~~~~^~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ texture.cpp:410:19: note: use '|=' to turn this inequality comparison into an or-assignment assert( _surface != NULL ); ^~ |= ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ texture.cpp:456:25: warning: expression result unused [-Wunused-value] assert( _id != INVALID && _id != INPROGRESS ); ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from virtualshape.cpp:19: In file included from ./virtualshape.h:22: In file included from ./glshape.h:25: In file included from ./shapes.h:27: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ 1 warning generated. 10 warnings generated. 18 warnings generated. 4 warnings generated. 4 warnings generated. 3 warnings generated. 9 warnings generated. 3 warnings generated. 9 warnings generated. 8 warnings generated. rm -f libScourgeRender.a ar cru libScourgeRender.a shapes.o renderedcreature.o fog.o maprenderhelper.o map.o mapadapter.o frustum.o renderedprojectile.o projectilerenderer.o location.o effect.o shape.o glshape.o glcaveshape.o gllocator.o gltorch.o glteleporter.o cutscene.o animatedshape.o modelwrapper.o Md2.o md2shape.o Md3.o md3shape.o 3ds.o 3dsshape.o virtualshape.o texture.o llvm-ranlib libScourgeRender.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/render' Making all in io make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/io' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o file.o file.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o zipfile.o zipfile.cpp In file included from zipfile.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 1 warning generated. rm -f libScourgeIo.a ar cru libScourgeIo.a file.o zipfile.o llvm-ranlib libScourgeIo.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/io' Making all in squirrel make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/squirrel' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqclass.o sqclass.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqdebug.o sqdebug.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqlexer.o sqlexer.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqtable.o sqtable.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqmem.o sqmem.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstate.o sqstate.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqvm.o sqvm.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqapi.o sqapi.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqfuncstate.o sqfuncstate.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqobject.o sqobject.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqcompiler.o sqcompiler.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqbaselib.o sqbaselib.cpp In file included from sqclass.cpp:6: ./sqtable.h:68:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }while(n = n->next); ~~^~~~~~~~~ ./sqtable.h:68:12: note: place parentheses around the assignment to silence this warning }while(n = n->next); ^ ( ) ./sqtable.h:68:12: note: use '==' to turn this assignment into an equality comparison }while(n = n->next); ^ == In file included from sqlexer.cpp:7: ./sqtable.h:68:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }while(n = n->next); ~~^~~~~~~~~ ./sqtable.h:68:12: note: place parentheses around the assignment to silence this warning }while(n = n->next); ^ ( ) ./sqtable.h:68:12: note: use '==' to turn this assignment into an equality comparison }while(n = n->next); ^ == In file included from sqapi.cpp:7: ./sqtable.h:68:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }while(n = n->next); ~~^~~~~~~~~ ./sqtable.h:68:12: note: place parentheses around the assignment to silence this warning }while(n = n->next); ^ ( ) ./sqtable.h:68:12: note: use '==' to turn this assignment into an equality comparison }while(n = n->next); ^ == In file included from sqfuncstate.cpp:8: ./sqtable.h:68:12: warning: using the In file included from resultsqtable.cpp :of6 : an ./sqtable.hassignment: 68as: 12a: conditionwarning : usingwithout theparentheses result[-Wparentheses] of an assignment as a condition }while(n = n->next); without ~~^~~~~~~~~ parentheses [-Wparentheses] }while(n = n->next); ~~^~~~~~~~~ In file included from sqvm.cpp:12: ./sqtable.h:68:12: warning: using the result of ./sqtable.han: 68assignment: 12as: anote : conditionplace ./sqtable.h parentheses:without 68around: parentheses12the : [-Wparentheses] assignment note : toplace silenceparentheses thisaround thewarning assignment to }while(n = n->next); silence ~~^~~~~~~~~ this warning }while(n = n->next); ^ ( ) }while(n = n->next); ^ ( ) ./sqtable.h:68:12: note./sqtable.h: :use68 :'=='12 :to noteturn: usethis '=='assignment tointo turnan thisequality assignment comparisoninto ./sqtable.h :an68 :equality12 }while(n = n->next); : ^comparisonnote : ==place }while(n = n->next);parentheses ^around ==the assignment to silence this warning }while(n = n->next); ^ ( ) ./sqtable.h:68:12: note: use '==' to turn this assignment into an equality comparison }while(n = n->next); ^ == In file included from sqbaselib.cpp:7: ./sqtable.h:68:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }while(n = n->next); ~~^~~~~~~~~ ./sqtable.h:68:12: note: place parentheses around the assignment to silence this sqfuncstate.cppwarning :75:11: warning: 14 enumeration values not handled }while(n = n->next); in ^ switch: ( ) 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( o ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ ./sqtable.h:68:12: note: use '==' to turn this assignment into an equality comparison }while(n = n->next); ^ == In file included from sqobject.cpp:8: ./sqtable.h:68:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }while(n = n->next); ~~^~~~~~~~~ ./sqtable.h:68:12: note: place parentheses around the assignment to silence this warning }while(n = n->next); ^ ( ) ./sqtable.h:68:12: note: use '==' to turn this assignment into an equality comparison }while(n = n->next); ^ == sqdebug.cpp:16:12: warning: 15 enumeration valuesIn file included from sqstate.cppnot: 10handled: ./sqtable.hin switch: :'OT_USERPOINTER',68 :'OT_NULL',12 :'OT_BOOL'... warning[-Wswitch]: using the result of an assignment as switch ( type( ci._closure ) ) { a ^ condition without./sqobject.h :parentheses96 :[-Wparentheses]19 : note: expanded from }while(n = n->next);macro ~~^~~~~~~~~'type' #define type(obj) ((obj)._type) ^ ./sqtable.h:68:12: note: place parentheses around the assignment to silence this warning }while(n = n->next); ^ ( ) ./sqtable.h:68:12: note: use '==' to turn this assignment into an equality comparison }while(n = n->next); ^ == sqvm.cpp:122:11: warning: 12 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( o ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ sqvm.cpp:151:12: warning: 11 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( o1 ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ sqobject.cpp:25:11: warning: 15 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_BOOL', 'OT_FLOAT'... [-Wswitch] switch ( type( idx ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ sqbaselib.cpp:90:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while ( name = sq_getlocal( v, level, seq ) ) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sqbaselib.cpp:90:16: note: place parentheses around the assignment to silence this warning while ( name = sq_getlocal( v, level, seq ) ) { ^ ( ) sqbaselib.cpp:90:16: note: use '==' to turn this assignment into an equality comparison while ( name = sq_getlocal( v, level, seq ) ) { ^ == sqvm.cpp:474:11: warning: 10 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( o1 ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ sqvm.cpp:554:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( nouters = func->_outervalues.size() ) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sqvm.cpp:554:15: note: place parentheses around the assignment to silence this warning if ( nouters = func->_outervalues.size() ) { ^ ( ) sqvm.cpp:554:15: note: use '==' to turn this assignment into an equality comparison if ( nouters = func->_outervalues.size() ) { ^ == sqstate.cpp:220:11: warning: 8 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( o ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ sqvm.cpp:837:14: warning: 15 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( STK( arg1 ) ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ sqapi.cpp:652:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ sqapi.cpp:659:11: warning: 15 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( self ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ sqapi.cpp:815:12: warning: 15 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( ud ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ sqvm.cpp:1051:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( tcs = nclosure->_typecheck.size() ) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sqvm.cpp:1051:11: note: place parentheses around the assignment to silence this warning if ( tcs = nclosure->_typecheck.size() ) { ^ ( ) sqvm.cpp:1051:11: note: use '==' to turn this assignment into an equality comparison if ( tcs = nclosure->_typecheck.size() ) { ^ == sqvm.cpp:1102:11: warning: 14 enumeration values not handled in switch: 'OT_USERPOINTER', 'OT_NULL', 'OT_BOOL'... [-Wswitch] switch ( type( self ) ) { ^ ./sqobject.h:96:19: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ 1 warning generated. 1 warning generated. 1 warning generated. 2 warnings generated. 2 warnings generated. 2 warnings generated. 2 warnings generated. 1 warning generated. 4 warnings generated. 8 warnings generated. rm -f libSquirrel.a ar cru libSquirrel.a sqclass.o sqdebug.o sqlexer.o sqtable.o sqmem.o sqstate.o sqvm.o sqapi.o sqfuncstate.o sqobject.o sqcompiler.o sqbaselib.o llvm-ranlib libSquirrel.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/squirrel' Making all in sqstdlib make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/sqstdlib' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -I./../squirrel -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstdaux.o sqstdaux.cpp x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -I./../squirrel -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstdrex.o sqstdrex.c x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -I./../squirrel -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstdstream.o sqstdstream.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -I./../squirrel -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstdsystem.o sqstdsystem.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -I./../squirrel -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstdblob.o sqstdblob.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -I./../squirrel -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstdio.o sqstdio.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -I./../squirrel -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstdmath.o sqstdmath.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -I./../squirrel -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqstdstring.o sqstdstring.cpp sqstdaux.cpp:29:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while ( name = sq_getlocal( v, level, seq ) ) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sqstdaux.cpp:29:17: note: place parentheses around the assignment to silence this warning while ( name = sq_getlocal( v, level, seq ) ) { ^ ( ) sqstdaux.cpp:29:17: note: use '==' to turn this assignment into an equality comparison while ( name = sq_getlocal( v, level, seq ) ) { ^ == sqstdaux.cpp:31:14: warning: 4 enumeration values not handled in switch: 'OT_BOOL', 'OT_GENERATOR', 'OT_FUNCPROTO'... [-Wswitch] switch ( sq_gettype( v, -1 ) ) { ^ sqstdrex.c:374:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while ( asd = sqstd_rex_matchnode( exp, temp, asd ) ) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sqstdrex.c:374:16: note: place parentheses around the assignment to silence this warning while ( asd = sqstd_rex_matchnode( exp, temp, asd ) ) { ^ ( ) sqstdrex.c:374:16: note: use '==' to turn this assignment into an equality comparison while ( asd = sqstd_rex_matchnode( exp, temp, asd ) ) { ^ == sqstdrex.c:382:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while ( asd = sqstd_rex_matchnode( exp, temp, asd ) ) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sqstdrex.c:382:16: note: place parentheses around the assignment to silence this warning while ( asd = sqstd_rex_matchnode( exp, temp, asd ) ) { ^ ( ) sqstdrex.c:382:16: note: use '==' to turn this assignment into an equality comparison while ( asd = sqstd_rex_matchnode( exp, temp, asd ) ) { ^ == sqstdrex.c:431:3: warning: expression result unused [-Wunused-value] *str++; ^~~~~~ sqstdrex.c:436:4: warning: expression result unused [-Wunused-value] *str++; ^~~~~~ sqstdrex.c:442:4: warning: expression result unused [-Wunused-value] *str++; ^~~~~~ sqstdrex.c:448:3: warning: expression result unused [-Wunused-value] *str++; ^~~~~~ sqstdrex.c:531:3: warning: expression result unused [-Wunused-value] *text_begin++; ^~~~~~~~~~~~~ sqstdio.cpp:66:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( _handle = sqstd_fopen( filename, mode ) ) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sqstdio.cpp:66:16: note: place parentheses around the assignment to silence this warning if ( _handle = sqstd_fopen( filename, mode ) ) { ^ ( ) sqstdio.cpp:66:16: note: use '==' to turn this assignment into an equality comparison if ( _handle = sqstd_fopen( filename, mode ) ) { ^ == sqstdblob.cpp:229:33: warning: ISO C++11 does not allow conversion from string literal to 'SQChar *' (aka 'char *') [-Wwritable-strings] return declare_stream( v, _SC( "blob" ), ( SQUserPointer )SQSTD_... ^ sqstdblob.cpp:229:86: warning: ISO C++11 does not allow conversion from string literal to 'SQChar *' (aka 'char *') [-Wwritable-strings] ...v, _SC( "blob" ), ( SQUserPointer )SQSTD_BLOB_TYPE_TAG, _SC( "std_blob" ... ^ sqstdio.cpp:372:26: warning: ISO C++11 does not allow conversion from string literal to 'SQChar *' (aka 'char *') [-Wwritable-strings] declare_stream( v, _SC( "file" ), ( SQUserPointer )SQSTD_FILE_TY... ^ sqstdio.cpp:372:79: warning: ISO C++11 does not allow conversion from string literal to 'SQChar *' (aka 'char *') [-Wwritable-strings] ...v, _SC( "file" ), ( SQUserPointer )SQSTD_FILE_TYPE_TAG, _SC( "std_file" ... ^ 2 warnings generated. 3 warnings generated. 2 warnings generated. 7 warnings generated. rm -f libSqstdlib.a ar cru libSqstdlib.a sqstdaux.o sqstdrex.o sqstdstream.o sqstdsystem.o sqstdblob.o sqstdio.o sqstdmath.o sqstdstring.o llvm-ranlib libSqstdlib.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/sqstdlib' Making all in sqbinding make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/sqbinding' x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqbinding.o sqbinding.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqobject.o sqobject.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqgame.o sqgame.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqcreature.o sqcreature.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqmission.o sqmission.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqitem.o sqitem.cpp x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sqspell.o sqspell.cpp In file included from sqmission.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from sqcreature.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from sqspell.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from sqitem.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from sqgame.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from sqobject.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from sqbinding.cpp:17: In file included from ./../common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 1 warning generated. In file included from sqspell.cpp:19: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from sqmission.cpp:19: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from sqgame.cpp:20: In file included from ./../session.h:25: In file included from ./../rpg/../party.h:In file included from 25sqitem.cpp: :In file included from 19./../rpg/../events/thirsthungerevent.h: :In file included from 22./../session.h: :In file included from 25./../rpg/../scourge.h: :In file included from 34./../party.h: :./../rpg/../board.h25:: 267In file included from :./../events/thirsthungerevent.h12::22 : warningIn file included from : ./../scourge.haddress: 34of: array./../board.h :'this->music'267 :will12 :always warning : evaluateaddress toof 'true'array [-Wpointer-bool-conversion]'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from sqbinding.cpp:19: In file included from ./../session.h:25: In file included from ./../party.h:25: In file included from ./../events/thirsthungerevent.h:22: In file included from ./../scourge.h:34: ./../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from sqcreature.cpp:21: In file included from ./../session.h:25: In file included from ./../events/../party.h:25: In file included from ./../events/../events/thirsthungerevent.h:22: In file included from ./../events/../scourge.h:34: ./../events/../board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from sqspell.cpp:20: In file included from ./../rpg/rpglib.h:27: ./../rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from sqmission.cpp:20: In file included from ./../creature.h:36: In file included from ./../rpg/rpglib.h:27: ./../rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from sqgame.cpp:21: In file included from ./../creature.h:36: In file included from ./../rpg/../rpg/rpglib.h:27: ./../rpg/character.h:66:11: warning: implicit In file included from conversionsqitem.cpp :of20 : NULLIn file included from ./../item.hconstant: 28to: In file included from ./../rpg/rpgitem.h'int': 25[-Wnull-conversion]: ./../rpg/character.h:66:11: return NULL;warning : ~~~~~~ ^~~~ implicit 0 conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from sqbinding.cpp:20: In file included from ./../creature.h:36: In file included from ./../rpg/rpglib.h:27: ./../rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from sqcreature.cpp:22: In file included from ./../creature.h:36: In file included from ./../events/../rpg/rpglib.h:27: ./../events/../rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from sqcreature.cpp:24: In file included from ./../render/glshape.h:23: ./../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sqgame.cpp:23: In file included from ./../render/renderlib.h:31: ./../rpg/../gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sqmission.cpp:26: ./../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sqbinding.cpp:34: In file included from ./../render/renderlib.h:31: ./../gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sqgame.cpp:23: In file included from ./../render/renderlib.h:38: In file included from ./../rpg/../gui/../render/md2shape.h:43: ./../rpg/../gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sqbinding.cpp:34: In file included from ./../render/renderlib.h:38: In file included from ./../gui/../render/md2shape.h:43: ./../gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./../common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 3 warnings generated. 3 warnings generated. 4 warnings generated. 5 warnings generated. 4 warnings generated. 5 warnings generated. rm -f libSqbinding.a ar cru libSqbinding.a sqbinding.o sqobject.o sqgame.o sqcreature.o sqmission.o sqitem.o sqspell.o llvm-ranlib libSqbinding.a make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src/sqbinding' make[3]: Entering directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src' x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o configlang.o configlang.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o persist.o persist.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o creature.o creature.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o calendar.o calendar.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o date.o date.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o item.o item.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o terraingenerator.o terraingenerator.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cavemaker.o cavemaker.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dungeongenerator.o dungeongenerator.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mondrian.o mondrian.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o main.o main.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mainmenu.o mainmenu.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapeditor.o mapeditor.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapwidget.o mapwidget.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o netplay.o netplay.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o containerview.o containerview.cpp In file included from In file included from calendar.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from creature.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from dungeongenerator.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ main.cpp/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ :/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from cavemaker.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ 17: In file included from ./common/constants.hIn file included from configlang.cpp/usr/include/GL/glext.h::1754: In file included from :9./common/constants.h:: 93: note: /usr/include/SDL/SDL_opengl.hprevious :116definition :9is : here warning: 'GL_GLEXT_VERSION' macro redefined#define GL_GLEXT_VERSION 20190805 [-Wmacro-redefined] ^ #define GL_GLEXT_VERSION 29 ^ :93: /usr/include/SDL/SDL_opengl.h/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ :116:In file included from netplay.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ 9In file included from terraingenerator.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ :/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from persist.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:/usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 54:9: In file included from mapwidget.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29In file included from item.cpp ^: 18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ In file included from date.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION'In file included from macro redefinedmainmenu.cpp :In file included from 17[-Wmacro-redefined]: mapeditor.cpp In file included from ./common/constants.h:#define GL_GLEXT_VERSION 29: 93 ^ : 18/usr/include/SDL/SDL_opengl.h: :116In file included from ./common/constants.h:9:93: : /usr/include/SDL/SDL_opengl.hwarning: :116'GL_GLEXT_VERSION' :9macro : redefined warning: [-Wmacro-redefined]'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ #define GL_GLEXT_VERSION 29 ^ note: /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ previous/usr/include/GL/glext.h:54:/usr/include/GL/glext.h:954:: note9: : previousnote: definitionprevious isdefinition hereis here #define GL_GLEXT_VERSION 20190805#define GL_GLEXT_VERSION 20190805 ^ ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from mondrian.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from containerview.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from calendar.cpp:21: In file included from ./creature.h:36: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from creature.cpp:19: In file included from ./creature.h:36: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from item.cpp:19: In file included from ./item.h:28: In file included from ./rpg/rpgitem.h:25: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from mainmenu.cpp:19: In file included from ./render/renderlib.h:31: ./render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from cavemaker.cpp:19: In file included from ./render/renderlib.h:31: ./render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from terraingenerator.cpp:19: In file included from ./render/renderlib.h:31: ./render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from dungeongenerator.cpp:20: In file included from ./render/renderlib.h:31: ./render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from persist.cpp:19: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from mondrian.cpp:20: In file included from ./render/renderlib.h:31: ./render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from configlang.cpp:19: In file included from ./session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from mapeditor.cpp:20: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from netplay.cpp:19: In file included from ./netplay.h:24: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from mapwidget.cpp:20: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from item.cpp:20: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from main.cpp:26: In file included from ./session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from containerview.cpp:19: In file included from ./containerview.h:24: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from calendar.cpp:21: In file included from ./creature.h:37: In file included from ./session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from creature.cpp:19: In file included from ./creature.h:37: In file included from ./session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o containergui.o containergui.cpp In file included from mainmenu.cpp:19: In file included from ./render/renderlib.h:32: In file included from ./render/glshape.h:25: In file included from ./render/shapes.h:27: In file included from ./render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from cavemaker.cpp:19: In file included from ./render/renderlib.h:32: In file included from ./render/glshape.h:25: In file included from ./render/shapes.h:27: In file included from ./render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from terraingenerator.cpp:19: In file included from ./render/renderlib.h:32: In file included from ./render/glshape.h:25: In file included from ./render/shapes.h:27: In file included from ./render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from mondrian.cpp:20: In file included from ./render/renderlib.h:32: In file included from ./render/glshape.h:25: In file included from ./render/shapes.h:27: In file included from ./render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from mapeditor.cpp:20: In file included from ./render/renderlib.h:32: In file included from ./gui/../render/glshape.h:25: In file included from ./gui/../render/shapes.h:27: In file included from ./gui/../render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from dungeongenerator.cpp:20: In file included from ./render/renderlib.h:32: In file included from ./render/glshape.h:25: In file included from ./render/shapes.h:27: In file included from ./render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from persist.cpp:19: In file included from ./render/renderlib.h:32: In file included from ./gui/../render/glshape.h:25: In file included from ./gui/../render/shapes.h:27: In file included from ./gui/../render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ configlang.cpp:250:16: warning: expression result unused [-Wunused-value] assert( node ); ^~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ configlang.cpp:318:13: warning: expression result unused [-Wunused-value] assert( node ); ^~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from item.cpp:20: In file included from ./render/renderlib.h:32: In file included from ./gui/../render/glshape.h:25: In file included from ./gui/../render/shapes.h:27: In file included from ./gui/../render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ netplay.cpp:75:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "abc"; ^ In file included from containerview.cpp:20: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from mainmenu.cpp:19: In file included from ./render/renderlib.h:38: In file included from ./render/md2shape.h:43: ./render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from cavemaker.cpp:19: In file included from ./render/renderlib.h:38: In file included from ./render/md2shape.h:43: ./render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from mondrian.cpp:20: In file included from ./render/renderlib.h:38: In file included from ./render/md2shape.h:43: ./render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from terraingenerator.cpp:19: In file included from ./render/renderlib.h:38: In file included from ./render/md2shape.h:43: ./render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from mapeditor.cpp:20: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from dungeongenerator.cpp:20: In file included from ./render/renderlib.h:38: In file included from ./render/md2shape.h:43: ./render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from persist.cpp:19: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from creature.cpp:22: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from cavemaker.cpp:20: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from mondrian.cpp:21: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from terraingenerator.cpp:20: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constantIn file included from item.cppto: 20'int': In file included from ./render/renderlib.h[-Wnull-conversion]: 38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h return NULL;: 122 ~~~~~~ ^~~~: 41 0: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from mapeditor.cpp:21: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from dungeongenerator.cpp:21: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from containerview.cpp:20: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from creature.cpp:22: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from containerview.cpp:21: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from terraingenerator.cpp:30: ./outdoorgenerator.h:84:52: warning: expression result unused [-Wunused-value] ...assert( 0 <= x && x < MAP_STEP_WIDTH && 0 <= y && y < MAP_STEP_DEPTH ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ mondrian.cpp:383:20: warning: relational comparison result unused [-Wunused-comparison] assert( roomCount < 200 ); ~~~~~~~~~~^~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ mondrian.cpp:409:20: warning: relational comparison result unused [-Wunused-comparison] assert( roomCount < 200 ); ~~~~~~~~~~^~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ mondrian.cpp:416:33: warning: expression result unused [-Wunused-value] ( y_start + y ) >= 0 && ~~~~~~~~~~~~~~~~~~~~ ^ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from mapeditor.cppmondrian.cpp:29: :./outdoorgenerator.h:84424::5239: : warningwarning: : expressionexpression resultresult unusedunused [-Wunused-value][-Wunused-value] y_start + ( div - 1 ) >= 0 && ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ...assert( 0 <= x && x < MAP_STEP_WIDTH && 0 <= y && y < MAP_STEP_DEPTH );./common/constants.h ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~:175 :19: ./common/constants.hnote: :expanded 175:from 19:macro note'assert' : expanded from#define assert(x) x; macro ^ 'assert' #define assert(x) x; ^ mondrian.cpp:431:69: warning: expression result unused [-Wunused-value] ...passage_x >= 0 && passage_x < totalWidth && passage_y >= 0 && passage_y < totalHeight ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ mapeditor.cpp:38:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "FLOOR_TILE", N_( "Tile: Passage" ) }, ^ mapeditor.cpp:38:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "FLOOR_TILE", N_( "Tile: Passage" ) }, ^ mapeditor.cpp:39:4: warning: ISO C++11 does mondrian.cppnot allow conversion:453 from: string28: warning literal: expression to result 'char *' unused [-Wwritable-strings] [-Wunused-value] { "ROOM_FLOOR_TILE", N_( "Tile: Room" ) } y + room.y >= 0 && ^ ~~~~~~~~~~~~~~~ ^ mapeditor.cpp./common/constants.h:39:175:27:19: : warning: noteISO : expandedC++11 fromdoes macro not 'assert' allow conversion #define assert(x) x;from ^string literal to 'char *' [-Wwritable-strings] { "ROOM_FLOOR_TILE", N_( "Tile: Room" ) } ^ mapeditor.cpp:310:84: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...newMapWin->createButton( startx + 100, 120, startx + 200, 140, "Outdoors... ^ mapeditor.cpp:313:84: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...newMapWin->createButton( startx + 310, 120, startx + 410, 140, "Dungeon"... ^ mapeditor.cpp:573:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] scourge->runSquirrelConsole( "scourgeGame.reloadNuts();" ); ^ creature.cpp:2856:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "armor", armor ); ^ creature.cpp:2887:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...session->getSquirrel()->setGlobalVariable( "armor", lastArmor[ t ] ); ^ creature.cpp:2889:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...lastArmor[ t ] = session->getSquirrel()->getGlobalVariable( "armor" ); ^ creature.cpp:3090:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "damage", roll ); ^ creature.cpp:3092:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] session->getSquirrel()->setGlobalVariable( "dama... ^ creature.cpp:3094:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] roll = session->getSquirrel()->getGlobalVariable( "damage" ); ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o conversationgui.o conversationgui.cpp In file included from containergui.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o infogui.o infogui.cpp 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o projectile.o projectile.cpp In file included from containergui.cpp:19: In file included from ./containerview.h:24: In file included from ./scourge.h:34: ./board.h:267:3 warnings generated. 12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o session.o session.cpp In file included from containergui.cpp:21: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 4 warnings generated. In file included from x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gameadapter.o gameadapter.cpp containergui.cpp:21: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from conversationgui.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from containergui.cpp:22: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from infogui.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from projectile.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 4 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o scourge.o scourge.cpp In file included from conversationgui.cpp:19: In file included from ./conversationgui.h:25: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o scourgeview.o scourgeview.cpp In file included from session.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o scourgehandler.o scourgehandler.cpp In file included from conversationgui.cpp:20: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 11 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sdleventhandler.o sdleventhandler.cpp In file included from infogui.cpp:19: In file included from ./infogui.h:26: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from projectile.cpp:20: In file included from ./render/renderlib.h:31: ./render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from conversationgui.cpp:20: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from conversationgui.cpp:21: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from infogui.cpp:20: In file included from ./item.h:28: In file included from ./rpg/rpgitem.h:25: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from gameadapter.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sdlhandler.o sdlhandler.cpp In file included from session.cpp:18: In file included from ./session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from projectile.cpp:20: In file included from ./render/renderlib.h:32: In file included from ./render/glshape.h:25: In file included from ./render/shapes.h:27: In file included from ./render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ conversationgui.cpp:73:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] answer = new ScrollingLabel( 10, 25, width - 150, 215, "" ); ^ 4 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sdlscreenview.o sdlscreenview.cpp In file included from projectile.cpp:20: In file included from ./render/renderlib.h:38: In file included from ./render/md2shape.h:43: ./render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from session.cpp:19: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from projectile.cpp:21: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from session.cpp:19: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from gameadapter.cpp:20: In file included from ./session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from session.cpp:20: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from scourge.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from scourgeview.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from gameadapter.cpp:22: In file included from ./item.h:28: In file included from ./rpg/rpgitem.h:25: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from scourgehandler.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ session.cpp:170:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] adapter->setUpdate( "" ); ^ 6 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sound.o sound.cpp 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pcui.o pcui.cpp In file included from sdleventhandler.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from gameadapter.cpp:24: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from scourge.cpp:19: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from gameadapter.cpp:24: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 5 warnings generated. In file included from scourgeview.cpp:19: In file included from ./battle.h:25: In file included from ./session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o textscroller.o textscroller.cpp In file included from sdlhandler.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o equip.o equip.cpp In file included from scourgeview.cpp:20: In file included from ./creature.h:36: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from scourgehandler.cpp:19: In file included from ./containergui.h:24: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from scourge.cpp:22: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sdlscreenview.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from scourge.cpp:22: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from scourge.cpp:23: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 1 warning generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o inven.o inven.cpp In file included from scourgehandler.cpp:22: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from scourgehandler.cpp:22: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sdlhandler.cpp:26: In file included from ./session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from scourgeview.cpp:29: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from scourgeview.cpp:29: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from scourgehandler.cpp:23: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 13 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o portrait.o portrait.cpp In file included from scourge.cpp:56: ./outdoorgenerator.h:84:52: warning: expression result unused [-Wunused-value] ...assert( 0 <= x && x < MAP_STEP_WIDTH && 0 <= y && y < MAP_STEP_DEPTH ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ scourge.cpp:674:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ( lastMission->isCompleted() ? ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scourge.cpp:674:12: note: treat the string as an argument to avoid this ( lastMission->isCompleted() ? ^ "%s", scourge.cpp:993:14: warning: expression result unused [-Wunused-value] assert( cx && cy ); ~~ ^ ~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ scourge.cpp:1008:14: warning: expression result unused [-Wunused-value] assert( cx && cy ); ~~ ^ ~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sound.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from pcui.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ sdlhandler.cpp:1037:3: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] x, y, w, h ^ sdlhandler.cpp:1037:3: note: insert an explicit cast to silence this issue x, y, w, h ^ static_cast( ) sdlhandler.cpp:1037:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] x, y, w, h ^ sdlhandler.cpp:1037:6: note: insert an explicit cast to silence this issue x, y, w, h ^ static_cast( ) sdlhandler.cpp:1037:9: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] x, y, w, h ^ sdlhandler.cpp:1037:9: note: insert an explicit cast to silence this issue x, y, w, h ^ static_cast( ) sdlhandler.cpp:1037:12: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] x, y, w, h ^ sdlhandler.cpp:1037:12: note: insert an explicit cast to silence this issue x, y, w, h ^ static_cast( ) sdlhandler.cpp:1040:3: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] x2, y2, w2, h2 ^~ sdlhandler.cpp:1040:3: note: insert an explicit cast to silence this issue x2, y2, w2, h2 ^~ static_cast( ) sdlhandler.cpp:1040:7: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] x2, y2, w2, h2 ^~ sdlhandler.cpp:1040:7: note: insert an explicit cast to silence this issue x2, y2, w2, h2 ^~ static_cast( ) sdlhandler.cpp:1040:11: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] x2, y2, w2, h2 ^~ sdlhandler.cpp:1040:11: note: insert an explicit cast to silence this issue x2, y2, w2, h2 ^~ static_cast( ) sdlhandler.cpp:1040:15: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] x2, y2, w2, h2 ^~ sdlhandler.cpp:1040:15: note: insert an explicit cast to silence this issue x2, y2, w2, h2 ^~ static_cast( ) scourge.cpp:1632:88: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...ScrollingLabel( 5, 0, getSDLHandler()->getScreen()->w - 220, 145, "" ); ^ scourge.cpp:2007:35: warning: unsequenced modification and access to 'containerGuiCount' [-Wunsequenced] ...++] = new ContainerGui( this, 10 + containerGuiCount * 15, 10 + containe... ^ ~~~~~~~~~~~~~~~~~ scourge.cpp:2180:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...= cards->createButton( 8, 0, offsetX, offsetX - 2, "", 0, false ); ^ scourge.cpp:2184:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...cards->createButton( 8, offsetX, offsetX, 2 * offsetX - 6, "", 0, false ); ^ scourge.cpp:2194:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", 0, false, ^ scourge.cpp:2201:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", 0, false, ^ scourge.cpp:2209:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", 0, true, ^ scourge.cpp:2248:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ scourge.cpp:2266:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", 0, true, ^ scourgehandler.cpp:346:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] scourge->runSquirrelConsole( "scourgeGame.reloadNuts();" ); ^ scourge.cpp:2872:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] colHeight - 5, "" ); ^ In file included from textscroller.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ scourge.cpp:3601:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if( getSession()->getSquirrel()->getValue( "gameCompleted" ) != NULL ) { ^ scourge.cpp:3917:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] getSession()->getSquirrel()->setValue( "gameCompleted", "true" ); ^ scourge.cpp:3917:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] getSession()->getSquirrel()->setValue( "gameCompleted", "true" ); ^ scourge.cpp:3931:85: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...getSession()->getSquirrel()->getValue( "gameCompleted" ) ); ^ scourge.cpp:3955:85: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ...getSession()->getSquirrel()->getValue( "gameCompleted" ) ); ^ scourge.cpp:3965:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if( getSession()->getSquirrel()->getValue( "gameCompleted" ) == NULL ) { ^ In file included from pcui.cpp:20: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 scourge.cpp:4112:36: warning: expression result unused [-Wunused-value] assert( keyX > -1 || keyY > -1 || keyZ > -1 ); ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ scourge.cpp:4114:13: warning: expression result unused [-Wunused-value] assert( b ); ^ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ scourge.cpp:4212:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] getSession()->setInterruptFunction( "" ); ^ scourge.cpp:4219:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] getSDLHandler()->setContinueAt( "", 0 ); // clear continue at ^ In file included from equip.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from sound.cpp:20: In file included from ./sound.h:27: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from pcui.cpp:24: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from inven.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from textscroller.cpp:19: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from equip.cpp:20: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 6 warnings generated. 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shapepalette.o shapepalette.cpp x86_64-pc-linux-gnu-clang++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I./gui -I./events -I./rpg -I../intl -I../intl -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -DDATA_DIR=\"/usr/share/scourge\" -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o util.o util.cpp In file included from sound.cpp:22: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 2 warnings and 8 errors generated. In file included from portrait.cpp:17: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ make[3]: *** [Makefile:776: sdlhandler.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from equip.cpp:20: In file included from ./render/renderlib.h:32: In file included from ./gui/../render/glshape.h:25: In file included from ./gui/../render/shapes.h:27: In file included from ./gui/../render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from sound.cpp:22: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from sound.cpp:23: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from inven.cpp:18: In file included from ./inven.h:28: In file included from ./containerview.h:24: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ sound.cpp:39:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *Sound::TELEPORT = "teleport"; ^ sound.cpp:40:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *Sound::OPEN_DOOR = "open door"; ^ sound.cpp:41:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *Sound::OPEN_BOX = "open box"; ^ In file included from equip.cpp:20: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 5 warnings generated. In file included from equip.cpp:21: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from portrait.cpp:19: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from inven.cpp:19: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 5 warnings generated. In file included from inven.cpp:19: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from util.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ equip.cpp:53:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ equip.cpp:53:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ equip.cpp:53:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ equip.cpp:53:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ equip.cpp:53:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ equip.cpp:53:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ In file included from inven.cpp:20: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from portrait.cpp:19: In file included from ./render/renderlib.h:32: In file included from ./gui/../render/glshape.h:25: In file included from ./gui/../render/shapes.h:27: In file included from ./gui/../render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ equip.cpp:546:15: warning: self-comparison always evaluates to true [-Wtautological-compare] yy >= yy && my < yy + SPELL_SIZE ) { ^ equip.cpp:691:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] description = new ScrollingLabel( x, y, w, h - 95, "" ); ^ In file included from util.cpp:20: In file included from ./render/renderlib.h:31: ./gui/../render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from portrait.cpp:19: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from portrait.cpp:20: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 In file included from shapepalette.cpp:18: In file included from ./common/constants.h:93: /usr/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/include/GL/glext.h:54:9: note: previous definition is here #define GL_GLEXT_VERSION 20190805 ^ In file included from util.cpp:20: In file included from ./render/renderlib.h:32: In file included from ./gui/../render/glshape.h:25: In file included from ./gui/../render/shapes.h:27: In file included from ./gui/../render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ In file included from util.cpp:20: In file included from ./render/renderlib.h:38: In file included from ./gui/../render/md2shape.h:43: ./gui/../render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ util.cpp:93:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case GL_NO_ERROR : return "GL_NO_ERROR"; ^ util.cpp:94:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case GL_INVALID_ENUM : return "GL_INVALID_ENUM"; ^ util.cpp:95:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case GL_INVALID_VALUE : return "GL_INVALID_VALUE"; ^ util.cpp:96:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case GL_INVALID_OPERATION : return "GL_INVALID_OPERATION"; ^ util.cpp:97:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case GL_STACK_OVERFLOW : return "GL_STACK_OVERFLOW"; ^ util.cpp:98:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case GL_OUT_OF_MEMORY : return "GL_OUT_OF_MEMORY"; ^ util.cpp:101:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "Unknown error"; ^ util.cpp:428:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned long y; ^~~~~~~~~ util.cpp:431:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long k; ^~~~~~~~~ portrait.cpp:57:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ portrait.cpp:57:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ portrait.cpp:57:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ portrait.cpp:57:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ portrait.cpp:57:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ portrait.cpp:57:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "nature", "divine", "life", "history", "tricks", "confrontation" ^ In file included from shapepalette.cpp:19: In file included from ./shapepalette.h:25: In file included from ./render/shapes.h:27: In file included from ./render/../session.h:25: In file included from ./party.h:25: In file included from ./events/thirsthungerevent.h:22: In file included from ./scourge.h:34: ./board.h:267:12: warning: address of array 'this->music' will always evaluate to 'true' [-Wpointer-bool-conversion] return ( music && music[0] ) ? music : NULL; ^~~~~ ~~ 6 warnings generated. 6 warnings generated. In file included from shapepalette.cpp:21: In file included from ./rpg/rpglib.h:27: ./rpg/character.h:66:11: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion] return NULL; ~~~~~~ ^~~~ 0 5 warnings generated. In file included from shapepalette.cpp:22: In file included from ./render/renderlib.h:31: ./render/shape.h:131:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ In file included from shapepalette.cpp:22: In file included from ./render/renderlib.h:38: In file included from ./render/md2shape.h:43: ./render/animatedshape.h:122:41: warning: expression result unused [-Wunused-value] assert( x >= 0 && x < width && y >= 0 && y < depth ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ ./common/constants.h:175:19: note: expanded from macro 'assert' #define assert(x) x; ^ 3 warnings generated. 13 warnings generated. 2 warnings generated. 11 warnings generated. 5 warnings generated. 13 warnings generated. 8 warnings generated. 11 warnings generated. 29 warnings generated. 5 warnings generated. make[3]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src' make[2]: *** [Makefile:792: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge/src' make[1]: *** [Makefile:447: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge' make: *** [Makefile:384: all] Error 2 * ERROR: games-roguelike/scourge-0.21.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-roguelike/scourge-0.21.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-roguelike/scourge-0.21.1-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/games-roguelike/scourge-0.21.1-r1:20200827-204851.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge' * S: '/var/tmp/portage/games-roguelike/scourge-0.21.1-r1/work/scourge'