<86>Sep 14 10:45:32 userdel[838349]: delete user 'rooter' <86>Sep 14 10:45:32 userdel[838349]: removed group 'rooter' owned by 'rooter' <86>Sep 14 10:45:32 userdel[838349]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 14 10:45:32 groupadd[838360]: group added to /etc/group: name=rooter, GID=624 <86>Sep 14 10:45:32 groupadd[838360]: group added to /etc/gshadow: name=rooter <86>Sep 14 10:45:32 groupadd[838360]: new group: name=rooter, GID=624 <86>Sep 14 10:45:32 useradd[838370]: new user: name=rooter, UID=624, GID=624, home=/root, shell=/bin/bash <86>Sep 14 10:45:32 userdel[838382]: delete user 'builder' <86>Sep 14 10:45:32 userdel[838382]: removed group 'builder' owned by 'builder' <86>Sep 14 10:45:32 userdel[838382]: removed shadow group 'builder' owned by 'builder' <86>Sep 14 10:45:32 groupadd[838393]: group added to /etc/group: name=builder, GID=625 <86>Sep 14 10:45:32 groupadd[838393]: group added to /etc/gshadow: name=builder <86>Sep 14 10:45:32 groupadd[838393]: new group: name=builder, GID=625 <86>Sep 14 10:45:32 useradd[838444]: new user: name=builder, UID=625, GID=625, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/scourge-0.21.1-alt6.svn3264.src.rpm: license not found in '/usr/share/license' directory: GPL2 <13>Sep 14 10:46:17 rpmi: libglvnd-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 10:46:17 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Sep 14 10:46:17 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Sep 14 10:46:17 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058888 installed <13>Sep 14 10:46:17 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Sep 14 10:46:17 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Sep 14 10:46:17 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Sep 14 10:46:17 rpmi: libjpeg-2:2.0.6-alt4 sisyphus+284191.100.1.1 1630330787 installed <13>Sep 14 10:46:17 rpmi: xorg-proto-devel-2021.4-alt1 sisyphus+272146.100.1.1 1621424691 installed <13>Sep 14 10:46:17 rpmi: libwayland-server-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 10:46:18 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Sep 14 10:46:18 rpmi: icu-utils-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Sep 14 10:46:19 rpmi: libicu-devel-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Sep 14 10:46:19 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Sep 14 10:46:19 rpmi: libOpenGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 10:46:19 rpmi: libGLES-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 10:46:19 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 10:46:19 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 10:46:19 rpmi: libharfbuzz-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 10:46:19 rpmi: libfreetype-2.11.0-alt1 sisyphus+281294.100.1.1 1627488674 installed <13>Sep 14 10:46:19 rpmi: libharfbuzz-icu-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 10:46:19 rpmi: libharfbuzz-gobject-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 10:46:19 rpmi: libmpg123-1.28.2-alt1 sisyphus+278637.100.1.3 1626108472 installed <13>Sep 14 10:46:19 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080113 installed <13>Sep 14 10:46:19 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Sep 14 10:46:19 rpmi: libwebp7-1.2.1-alt1 sisyphus+282658.100.1.1 1628955707 installed <13>Sep 14 10:46:19 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Sep 14 10:46:19 rpmi: libtiff5-4.2.0-alt1 sisyphus+279102.100.1.1 1626378268 installed <13>Sep 14 10:46:20 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975602 installed <13>Sep 14 10:46:20 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Sep 14 10:46:20 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550766 installed <13>Sep 14 10:46:20 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Sep 14 10:46:20 rpmi: libgpg-error-1.42-alt1 sisyphus+275524.40.1.1 1624455836 installed <13>Sep 14 10:46:20 rpmi: libgcrypt20-1.9.3-alt1 sisyphus+275524.100.1.1 1624456196 installed <13>Sep 14 10:46:20 rpmi: libsystemd-1:249.4-alt2 sisyphus+284628.100.1.1 1630859862 installed <13>Sep 14 10:46:20 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Sep 14 10:46:20 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Sep 14 10:46:20 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080763 installed <13>Sep 14 10:46:20 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 14 10:46:20 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Sep 14 10:46:20 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Sep 14 10:46:20 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Sep 14 10:46:20 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Sep 14 10:46:20 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477167 installed <13>Sep 14 10:46:20 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077624 installed <13>Sep 14 10:46:20 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577012 installed <13>Sep 14 10:46:20 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Sep 14 10:46:20 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Sep 14 10:46:20 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575560 installed <13>Sep 14 10:46:22 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Sep 14 10:46:22 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Sep 14 10:46:22 rpmi: libwayland-client-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 10:46:22 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084208 installed <13>Sep 14 10:46:22 rpmi: libdrm-1:2.4.107-alt2 sisyphus+283492.100.1.3 1629454723 installed <13>Sep 14 10:46:22 rpmi: libGLX-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 10:46:22 rpmi: libGLX-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 10:46:22 rpmi: libGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 10:46:22 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Sep 14 10:46:22 rpmi: libgbm-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 10:46:22 rpmi: libEGL-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 10:46:22 rpmi: libEGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 10:46:22 rpmi: libglvnd-devel-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 10:46:22 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Sep 14 10:46:22 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Sep 14 10:46:22 rpmi: xml-utils-1:2.9.12-alt1 sisyphus+279621.1100.1.1 1626630532 installed <13>Sep 14 10:46:22 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Sep 14 10:46:22 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 14 10:46:23 rpmi: libstdc++11-devel-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 10:46:24 rpmi: gcc11-c++-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 10:46:24 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 10:46:24 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed <13>Sep 14 10:46:24 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 10:46:24 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 10:46:24 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 14 10:46:24 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 14 10:46:24 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 10:46:24 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 10:46:24 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 10:46:24 rpmi: libpython3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 10:46:24 rpmi: python3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 10:46:25 rpmi: python3-base-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 10:46:25 rpmi: glib2-devel-2.68.4-alt1.1 sisyphus+283807.200.2.1 1629993714 installed <13>Sep 14 10:46:25 rpmi: libfreetype-devel-2.11.0-alt1 sisyphus+281294.100.1.1 1627488674 installed <13>Sep 14 10:46:25 rpmi: libharfbuzz-devel-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 10:46:25 rpmi: alsa-ucm-conf-1.2.5.1-alt1 sisyphus+274777.200.1.1 1624089157 installed <13>Sep 14 10:46:25 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Sep 14 10:46:25 rpmi: libalsa-1:1.2.5.1-alt1 sisyphus+279749.100.1.1 1626687314 installed <13>Sep 14 10:46:25 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Sep 14 10:46:25 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Sep 14 10:46:25 rpmi: libSDL_image-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Sep 14 10:46:25 rpmi: libSDL_mixer-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250452 installed <13>Sep 14 10:46:25 rpmi: libSDL_net-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068460 installed <13>Sep 14 10:46:25 rpmi: libSDL_ttf-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250543 installed <13>Sep 14 10:46:25 rpmi: libSDL_ttf-devel-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250543 installed <13>Sep 14 10:46:25 rpmi: libSDL_net-devel-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068460 installed <13>Sep 14 10:46:25 rpmi: libSDL_mixer-devel-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250452 installed <13>Sep 14 10:46:25 rpmi: libSDL_image-devel-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Sep 14 10:46:25 rpmi: gcc-c++-11-alt1 icarus+285089.300.1.1 1631485148 installed <13>Sep 14 10:46:25 rpmi: libGL-devel-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 10:46:25 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847006 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/scourge-0.21.1-alt6.svn3264.nosrc.rpm (w1.gzdio) Installing scourge-0.21.1-alt6.svn3264.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.38773 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + tar xf /usr/src/RPM/SOURCES/scourge-0.21.1.data.tar + cd /usr/src/RPM/BUILD + rm -rf scourge + echo 'Source #0 (scourge-0.21.1.src.tar):' Source #0 (scourge-0.21.1.src.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/scourge-0.21.1.src.tar + cd scourge + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (scourge-0.21.1-alt-build.patch):' Patch #1 (scourge-0.21.1-alt-build.patch): + /usr/bin/patch -p2 patching file src/equip.cpp patching file src/render/map.cpp patching file src/squirrel/sqstate.h patching file src/squirrel/squtils.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38773 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd scourge + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: running: aclocal --force -I m4 aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: configure.in: tracing autoreconf-default: configure.in: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:11: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.in:11: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.in:11: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. configure.in:10: installing './compile' configure.in:11: installing './config.guess' configure.in:11: installing './config.sub' configure.in:6: installing './install-sh' configure.in:6: installing './missing' src/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing './depcomp' automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/common/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/events/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/freetype/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/gui/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/io/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/net/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/render/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/rpg/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/sqbinding/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/sqstdlib/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/squirrel/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/test/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/tools/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + readlink -e -- ./configure + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-data-dir=/usr/share/scourge checking for a BSD-compatible install... /bin/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 i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-alt-linux-gcc -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/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking whether we are using the GNU C Library 2 or newer... yes checking for i586-alt-linux-ranlib... no checking for ranlib... 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... /usr/bin/ld checking if the linker (/usr/bin/ld) 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.6, 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 i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether i586-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of i586-alt-linux-gcc... (cached) none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-ranlib... 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... no checking whether everything is installed to the same prefix... no checking whether binary relocation support should be enabled... no 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-config library... checking for freetype-config... /usr/bin/freetype-config Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found 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 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 ~/RPM/BUILD/scourge/po ~/RPM/BUILD/scourge make scourge.pot-update make[1]: Entering directory '/usr/src/RPM/BUILD/scourge/po' make[1]: *** No rule to make target '../src/outdoorgenerator.cpp', needed by 'scourge.pot-update'. Stop. make[1]: Leaving directory '/usr/src/RPM/BUILD/scourge/po' make: *** [Makefile:826: update-po] Error 2 ~/RPM/BUILD/scourge cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/en.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/hu.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/it.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/fr.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/pl.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/pt_BR.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/pt.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/ru.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/de.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/sv.gmo': No such file or directory cp: cannot stat '/usr/src/RPM/BUILD/scourge/./po/es.gmo': No such file or directory + make make: Entering directory '/usr/src/RPM/BUILD/scourge' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/scourge' Making all in intl make[2]: Entering directory '/usr/src/RPM/BUILD/scourge/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/scourge/intl' Making all in po make[2]: Entering directory '/usr/src/RPM/BUILD/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 '/usr/src/RPM/BUILD/scourge/po' rm -f en.gmo && /usr/bin/msgfmt -c --statistics -o en.gmo en.po en.po:7: warning: header field 'Language' missing in header 6 translated messages, 31 fuzzy translations, 2518 untranslated messages. rm -f hu.gmo && /usr/bin/msgfmt -c --statistics -o hu.gmo hu.po hu.po:7: warning: header field 'Language' missing in header 20 translated messages, 22 fuzzy translations, 2513 untranslated messages. rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po it.po:11: warning: header field 'Language' missing in header 2649 translated messages, 157 fuzzy translations, 129 untranslated messages. rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po fr.po:7: warning: header field 'Language' missing in header 1178 translated messages, 4 fuzzy translations, 1373 untranslated messages. rm -f pl.gmo && /usr/bin/msgfmt -c --statistics -o pl.gmo pl.po pl.po:7: warning: header field 'Language' missing in header 820 translated messages, 43 fuzzy translations, 1692 untranslated messages. rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics -o pt_BR.gmo pt_BR.po pt_BR.po:7: warning: header field 'Language' missing in header 1613 translated messages, 2 fuzzy translations, 940 untranslated messages. rm -f pt.gmo && /usr/bin/msgfmt -c --statistics -o pt.gmo pt.po pt.po:7: warning: header field 'Language' missing in header 289 translated messages, 9 fuzzy translations, 2257 untranslated messages. rm -f ru.gmo && /usr/bin/msgfmt -c --statistics -o ru.gmo ru.po ru.po:7: warning: header field 'Language' missing in header 16 translated messages, 2539 untranslated messages. rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po de.po:11: warning: header field 'Language' missing in header 2933 translated messages. rm -f sv.gmo && /usr/bin/msgfmt -c --statistics -o sv.gmo sv.po sv.po:2: warning: header field 'Language' missing in header 2504 translated messages, 1 fuzzy translation, 50 untranslated messages. rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po es.po:7: warning: header field 'Language' missing in header 2935 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/po' touch stamp-po make[2]: Leaving directory '/usr/src/RPM/BUILD/scourge/po' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/scourge/src' Making all in common make[3]: Entering directory '/usr/src/RPM/BUILD/scourge/src/common' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o binreloc.o binreloc.c i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o constants.o constants.cpp In file included from constants.h:93, from constants.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from constants.h:93, from constants.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from constants.cpp:18: constants.cpp:83:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | N_( "Infamy awaits in the dungeons of Scourge!" ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:83:17: note: in expansion of macro 'N_' 83 | N_( "Infamy awaits in the dungeons of Scourge!" ), | ^~ constants.cpp:84:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | N_( "Another day, another sewer! Welcome to Scourge!" ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:84:17: note: in expansion of macro 'N_' 84 | N_( "Another day, another sewer! Welcome to Scourge!" ), | ^~ constants.cpp:85:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | N_( "Happy hunting; welcome to Scourge!" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:85:17: note: in expansion of macro 'N_' 85 | N_( "Happy hunting; welcome to Scourge!" )}, | ^~ constants.cpp:86:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | { N_( "That item is out of your reach" ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:86:11: note: in expansion of macro 'N_' 86 | { N_( "That item is out of your reach" ), | ^~ constants.cpp:87:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | N_( "You can't touch that" ), | ^~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:87:11: note: in expansion of macro 'N_' 87 | N_( "You can't touch that" ), | ^~ constants.cpp:88:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | N_( "You have to be closer to get that" ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:88:11: note: in expansion of macro 'N_' 88 | N_( "You have to be closer to get that" ), | ^~ constants.cpp:89:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | N_( "You are too far to reach it" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:89:11: note: in expansion of macro 'N_' 89 | N_( "You are too far to reach it" )}, | ^~ constants.cpp:90:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | { N_( "The door is blocked" ), | ^~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:90:11: note: in expansion of macro 'N_' 90 | { N_( "The door is blocked" ), | ^~ constants.cpp:91:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | N_( "Something is blocking that door" ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:91:11: note: in expansion of macro 'N_' 91 | N_( "Something is blocking that door" ), | ^~ constants.cpp:92:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | N_( "You can't use that door; something is in the way" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:92:11: note: in expansion of macro 'N_' 92 | N_( "You can't use that door; something is in the way" )}, | ^~ constants.cpp:93:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | { N_( "You are now in single-step mode" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:93:11: note: in expansion of macro 'N_' 93 | { N_( "You are now in single-step mode" )}, | ^~ constants.cpp:94:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | { N_( "You are now in group mode" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:94:11: note: in expansion of macro 'N_' 94 | { N_( "You are now in group mode" )}, | ^~ constants.cpp:95:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | { N_( "Paused: you have entered turn-based mode" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:95:11: note: in expansion of macro 'N_' 95 | { N_( "Paused: you have entered turn-based mode" )}, | ^~ constants.cpp:96:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | { N_( "Un-paused: you are in real-time mode" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:96:11: note: in expansion of macro 'N_' 96 | { N_( "Un-paused: you are in real-time mode" )}, | ^~ constants.cpp:97:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | { N_( "Close" )}, | ^~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:97:11: note: in expansion of macro 'N_' 97 | { N_( "Close" )}, | ^~ constants.cpp:98:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | { N_( "Drop Item" )}, | ^~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:98:11: note: in expansion of macro 'N_' 98 | { N_( "Drop Item" )}, | ^~ constants.cpp:99:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | { N_( "Open Item" )}, | ^~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:99:11: note: in expansion of macro 'N_' 99 | { N_( "Open Item" )}, | ^~ constants.cpp:100:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | { N_( "Drag items to/from the list, Right click for info" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:100:11: note: in expansion of macro 'N_' 100 | { N_( "Drag items to/from the list, Right click for info" )}, | ^~ constants.cpp:101:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | { N_( "Play Mission" )}, | ^~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:101:11: note: in expansion of macro 'N_' 101 | { N_( "Play Mission" )}, | ^~ constants.cpp:102:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | { N_( "Do you really want to exit this mission?" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:102:11: note: in expansion of macro 'N_' 102 | { N_( "Do you really want to exit this mission?" )}, | ^~ constants.cpp:103:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | { N_( "Teleport back to base?" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:103:11: note: in expansion of macro 'N_' 103 | { N_( "Teleport back to base?" )}, | ^~ constants.cpp:104:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | { N_( "OK" )}, | ^~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:104:11: note: in expansion of macro 'N_' 104 | { N_( "OK" )}, | ^~ constants.cpp:105:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | { N_( "Cancel" )}, | ^~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:105:11: note: in expansion of macro 'N_' 105 | { N_( "Cancel" )}, | ^~ constants.cpp:106:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | { N_( "Yes" )}, | ^~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:106:11: note: in expansion of macro 'N_' 106 | { N_( "Yes" )}, | ^~ constants.cpp:107:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | { N_( "No" )}, | ^~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:107:11: note: in expansion of macro 'N_' 107 | { N_( "No" )}, | ^~ constants.cpp:108:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | { N_( "Select a character who is alive and has leveled up." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:108:11: note: in expansion of macro 'N_' 108 | { N_( "Select a character who is alive and has leveled up." )}, | ^~ constants.cpp:109:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | { N_( "No skill points available." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:109:11: note: in expansion of macro 'N_' 109 | { N_( "No skill points available." )}, | ^~ constants.cpp:110:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | { N_( "Select a skill first." )}, | ^~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:110:11: note: in expansion of macro 'N_' 110 | { N_( "Select a skill first." )}, | ^~ constants.cpp:111:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | { N_( "S.C.O.U.R.G.E. dialog" )}, | ^~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:111:11: note: in expansion of macro 'N_' 111 | { N_( "S.C.O.U.R.G.E. dialog" )}, | ^~ constants.cpp:112:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | { N_( "Use gate to descend a level?" ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:112:11: note: in expansion of macro 'N_' 112 | { N_( "Use gate to descend a level?" ), | ^~ constants.cpp:113:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | N_( "Use gate to ascend a level?" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:113:11: note: in expansion of macro 'N_' 113 | N_( "Use gate to ascend a level?" )}, | ^~ constants.cpp:114:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | { N_( "A dead character cannot perform this action." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:114:11: note: in expansion of macro 'N_' 114 | { N_( "A dead character cannot perform this action." )}, | ^~ constants.cpp:115:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 115 | { N_( "hp:" )}, | ^~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:115:11: note: in expansion of macro 'N_' 115 | { N_( "hp:" )}, | ^~ constants.cpp:116:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | { N_( "ac:" )}, | ^~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:116:11: note: in expansion of macro 'N_' 116 | { N_( "ac:" )}, | ^~ constants.cpp:117:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | { N_( "Your magic fizzles and dies." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:117:11: note: in expansion of macro 'N_' 117 | { N_( "Your magic fizzles and dies." ), | ^~ constants.cpp:118:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | N_( "Only the roaches are impressed by your mumbled words." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:118:11: note: in expansion of macro 'N_' 118 | N_( "Only the roaches are impressed by your mumbled words." ), | ^~ constants.cpp:119:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | N_( "The silence is broken only by some crickets nearby." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:119:11: note: in expansion of macro 'N_' 119 | N_( "The silence is broken only by some crickets nearby." ), | ^~ constants.cpp:120:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | N_( "Bazzoomm! A small cloud of smoke rises to the ceiling." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:120:11: note: in expansion of macro 'N_' 120 | N_( "Bazzoomm! A small cloud of smoke rises to the ceiling." )}, | ^~ constants.cpp:121:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { N_( "Your character cannot equip that item." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:121:11: note: in expansion of macro 'N_' 121 | { N_( "Your character cannot equip that item." )}, | ^~ constants.cpp:122:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | { N_( "Fill out the server details, first." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:122:11: note: in expansion of macro 'N_' 122 | { N_( "Fill out the server details, first." )}, | ^~ constants.cpp:123:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | { N_( "Unable to connect to server." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:123:11: note: in expansion of macro 'N_' 123 | { N_( "Unable to connect to server." )}, | ^~ constants.cpp:124:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | { N_( "You hear a very loud, metallic sound nearby." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:124:11: note: in expansion of macro 'N_' 124 | { N_( "You hear a very loud, metallic sound nearby." ), | ^~ constants.cpp:125:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | N_( "Something clicks." ), | ^~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:125:11: note: in expansion of macro 'N_' 125 | N_( "Something clicks." ), | ^~ constants.cpp:126:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | N_( "The loud twang doesn't help; this is freaky enough already." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:126:11: note: in expansion of macro 'N_' 126 | N_( "The loud twang doesn't help; this is freaky enough already." )}, | ^~ constants.cpp:127:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | { N_( "A muffled, metalic, grating noise echoes from the dark." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:127:11: note: in expansion of macro 'N_' 127 | { N_( "A muffled, metalic, grating noise echoes from the dark." ), | ^~ constants.cpp:128:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | N_( "You've done something... you're not sure what but you hope it's had dinner." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:128:11: note: in expansion of macro 'N_' 128 | N_( "You've done something... you're not sure what but you hope it's had dinner." )}, | ^~ constants.cpp:129:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | { N_( "You feel the resonance of an almost sub-tonal bass note." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:129:11: note: in expansion of macro 'N_' 129 | { N_( "You feel the resonance of an almost sub-tonal bass note." ), | ^~ constants.cpp:130:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 130 | N_( "An omnious sound floats from a distant corner." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:130:11: note: in expansion of macro 'N_' 130 | N_( "An omnious sound floats from a distant corner." )}, | ^~ constants.cpp:131:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | { N_( "Suck! It is locked shut!" ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:131:11: note: in expansion of macro 'N_' 131 | { N_( "Suck! It is locked shut!" ), | ^~ constants.cpp:132:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | N_( "Try as you might, you can't open it." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:132:11: note: in expansion of macro 'N_' 132 | N_( "Try as you might, you can't open it." ), | ^~ constants.cpp:133:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | N_( "Perhaps it's locked." )}, | ^~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:133:11: note: in expansion of macro 'N_' 133 | N_( "Perhaps it's locked." )}, | ^~ constants.cpp:134:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | { N_( "This teleporter is off-line." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:134:11: note: in expansion of macro 'N_' 134 | { N_( "This teleporter is off-line." ), | ^~ constants.cpp:135:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | N_( "Nothing happens." ), | ^~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:135:11: note: in expansion of macro 'N_' 135 | N_( "Nothing happens." ), | ^~ constants.cpp:136:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | N_( "The teleporter blinks unimpressively." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:136:11: note: in expansion of macro 'N_' 136 | N_( "The teleporter blinks unimpressively." )}, | ^~ constants.cpp:137:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | { N_( "Information" )}, | ^~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:137:11: note: in expansion of macro 'N_' 137 | { N_( "Information" )}, | ^~ constants.cpp:138:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | { N_( "Delete old saved game?" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:138:11: note: in expansion of macro 'N_' 138 | { N_( "Delete old saved game?" )}, | ^~ constants.cpp:139:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | { N_( "You're not experienced enough to equip it yet." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:139:11: note: in expansion of macro 'N_' 139 | { N_( "You're not experienced enough to equip it yet." )}, | ^~ constants.cpp:140:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | { N_( "Change key" )}, | ^~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:140:11: note: in expansion of macro 'N_' 140 | { N_( "Change key" )}, | ^~ constants.cpp:141:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | { N_( "Waiting for new key (Esc to cancel)" )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:141:11: note: in expansion of macro 'N_' 141 | { N_( "Waiting for new key (Esc to cancel)" )}, | ^~ constants.cpp:142:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | { N_( "Conversation" )}, | ^~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:142:11: note: in expansion of macro 'N_' 142 | { N_( "Conversation" )}, | ^~ constants.cpp:143:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | { N_( "Trade" )}, | ^~~~~~~ constants.h:144:20: note: in expansion of macro 'gettext_noop' 144 | #define N_(String) gettext_noop (String) | ^~~~~~~~~~~~ constants.cpp:143:11: note: in expansion of macro 'N_' 143 | { N_( "Trade" )}, | ^~ constants.cpp:144:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | { N_( "Train" )}, | ^~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:144:11: note: in expansion of macro 'N_' 144 | { N_( "Train" )}, | ^~ constants.cpp:145:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | { N_( "Healing Services" )}, | ^~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:145:11: note: in expansion of macro 'N_' 145 | { N_( "Healing Services" )}, | ^~ constants.cpp:146:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | { N_( "Donate to Temple" )}, | ^~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:146:11: note: in expansion of macro 'N_' 146 | { N_( "Donate to Temple" )}, | ^~ constants.cpp:147:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | { N_( "You don't meet the prerequisites for this capability." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:147:11: note: in expansion of macro 'N_' 147 | { N_( "You don't meet the prerequisites for this capability." )}, | ^~ constants.cpp:148:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | { N_( "You cannot activate an automatic capability." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:148:11: note: in expansion of macro 'N_' 148 | { N_( "You cannot activate an automatic capability." )}, | ^~ constants.cpp:149:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | { N_( "A two handed item requires two free hands." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:149:11: note: in expansion of macro 'N_' 149 | { N_( "A two handed item requires two free hands." )}, | ^~ constants.cpp:150:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 150 | { N_( "TRAIN" )}, | ^~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:150:11: note: in expansion of macro 'N_' 150 | { N_( "TRAIN" )}, | ^~ constants.cpp:151:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | { N_( "SKILL" )}, | ^~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:151:11: note: in expansion of macro 'N_' 151 | { N_( "SKILL" )}, | ^~ constants.cpp:152:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | { N_( "A magical force turns the lock's tumbles to open." ), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:152:11: note: in expansion of macro 'N_' 152 | { N_( "A magical force turns the lock's tumbles to open." ), | ^~ constants.cpp:153:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | N_( "Some kind of summoned energy opens the lock." )}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:153:11: note: in expansion of macro 'N_' 153 | N_( "Some kind of summoned energy opens the lock." )}, | ^~ constants.cpp:154:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | { N_( "Killed by" ), | ^~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:154:11: note: in expansion of macro 'N_' 154 | { N_( "Killed by" ), | ^~ constants.cpp:155:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | N_( "Annihilated by" ), | ^~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:155:11: note: in expansion of macro 'N_' 155 | N_( "Annihilated by" ), | ^~ constants.cpp:156:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | N_( "Slain by" ), | ^~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:156:11: note: in expansion of macro 'N_' 156 | N_( "Slain by" ), | ^~ constants.cpp:157:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | N_( "Brought low by" ), | ^~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:157:11: note: in expansion of macro 'N_' 157 | N_( "Brought low by" ), | ^~ constants.cpp:158:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | N_( "Dropped by" ), | ^~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:158:11: note: in expansion of macro 'N_' 158 | N_( "Dropped by" ), | ^~ constants.cpp:159:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | N_( "Ruined by" ), | ^~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:159:11: note: in expansion of macro 'N_' 159 | N_( "Ruined by" ), | ^~ constants.cpp:160:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | N_( "Extinguished by" ), | ^~~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:160:11: note: in expansion of macro 'N_' 160 | N_( "Extinguished by" ), | ^~ constants.cpp:161:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | N_( "Laid low by" )}, | ^~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:161:11: note: in expansion of macro 'N_' 161 | N_( "Laid low by" )}, | ^~ constants.cpp:162:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | { N_( "Uncurse items" )}, | ^~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:162:11: note: in expansion of macro 'N_' 162 | { N_( "Uncurse items" )}, | ^~ constants.cpp:163:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | { N_( "Recharge items" )}, | ^~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:163:11: note: in expansion of macro 'N_' 163 | { N_( "Recharge items" )}, | ^~ constants.cpp:164:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | { N_( "Identify items" )}, | ^~~~~~~~~~~~~~~~ constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ constants.cpp:164:11: note: in expansion of macro 'N_' 164 | { N_( "Identify items" )}, | ^~ rm -f libScourgeCommon.a ar cru libScourgeCommon.a binreloc.o constants.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libScourgeCommon.a make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/src/common' Making all in freetype make[3]: Entering directory '/usr/src/RPM/BUILD/scourge/src/freetype' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fontmgr.o fontmgr.cpp In file included from ../common/constants.h:93, from fontmgr.cpp:28: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from fontmgr.cpp:28: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from fontmgr.cpp:29: fontmgr.h: In constructor 'FontMgr::FontMgr(TTF_Font*, int, int)': fontmgr.h:68:19: warning: 'FontMgr::ttfFont' will be initialized after [-Wreorder] 68 | TTF_Font *ttfFont; | ^~~~~~~ fontmgr.h:66:13: warning: 'int FontMgr::shadowX' [-Wreorder] 66 | int shadowX, shadowY; | ^~~~~~~ fontmgr.cpp:42:1: warning: when initialized here [-Wreorder] 42 | FontMgr::FontMgr( TTF_Font *font, int shadowX, int shadowY ) : | ^~~~~~~ rm -f libScourgeFreeType.a ar cru libScourgeFreeType.a fontmgr.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libScourgeFreeType.a make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/src/freetype' Making all in gui make[3]: Entering directory '/usr/src/RPM/BUILD/scourge/src/gui' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o guitheme.o guitheme.cpp In file included from ../common/constants.h:93, from guitheme.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from guitheme.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o widget.o widget.cpp In file included from ../common/constants.h:93, from widget.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from widget.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o slider.o slider.cpp In file included from ../common/constants.h:93, from slider.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from slider.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o textfield.o textfield.cpp In file included from ../common/constants.h:93, from textfield.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from textfield.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o widgetview.o widgetview.cpp In file included from ../common/constants.h:93, from widgetview.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from widgetview.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o canvas.o canvas.cpp In file included from ../common/constants.h:93, from canvas.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from canvas.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o button.o button.cpp In file included from ../common/constants.h:93, from button.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from button.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o label.o label.cpp In file included from ../common/constants.h:93, from label.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from label.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o checkbox.o checkbox.cpp In file included from ../common/constants.h:93, from checkbox.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from checkbox.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cardcontainer.o cardcontainer.cpp In file included from ../common/constants.h:93, from cardcontainer.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from cardcontainer.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o draganddrop.o draganddrop.cpp In file included from ../common/constants.h:93, from draganddrop.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from draganddrop.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o multiplelabel.o multiplelabel.cpp In file included from ../common/constants.h:93, from multiplelabel.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from multiplelabel.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from multiplelabel.cpp:18: multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o scrollinglist.o scrollinglist.cpp In file included from ../common/constants.h:93, from scrollinglist.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from scrollinglist.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o scrollinglabel.o scrollinglabel.cpp In file included from ../common/constants.h:93, from scrollinglabel.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from scrollinglabel.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o window.o window.cpp In file included from ../common/constants.h:93, from window.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from window.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o confirmdialog.o confirmdialog.cpp In file included from ../common/constants.h:93, from confirmdialog.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from confirmdialog.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o textdialog.o textdialog.cpp In file included from ../common/constants.h:93, from textdialog.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from textdialog.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | textdialog.cpp: In constructor 'TextDialog::TextDialog(ScourgeGui*, const char*)': textdialog.cpp:45:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | "" ); | ^~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o progress.o progress.cpp In file included from ../common/constants.h:93, from progress.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from progress.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o eventhandler.o eventhandler.cpp In file included from ../common/constants.h:93, from eventhandler.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from eventhandler.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I/.. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gui.o gui.cpp In file included from ../common/constants.h:93, from gui.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from gui.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | 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 gui.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libScourgeGui.a make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/src/gui' Making all in test make[3]: Entering directory '/usr/src/RPM/BUILD/scourge/src/test' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o combattest.o combattest.cpp In file included from ../common/constants.h:93, from combattest.h:21, from combattest.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from combattest.h:21, from combattest.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../rpg/rpglib.h:27, from combattest.cpp:18: ../rpg/character.h: In static member function 'static int Characters::getRootCount()': ../rpg/character.h:66:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 66 | return NULL; | ^~~~ In file included from ../rpg/monster.h:26, from ../rpg/rpglib.h:28, from combattest.cpp:18: ../rpg/spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': ../rpg/spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ ../rpg/spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from ../creature.h:37, from combattest.cpp:19: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ In file included from combattest.cpp:19: ../creature.h: In member function 'void Creature::setThirst(int)': ../creature.h:614:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 614 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; thirst = n; evalSpecialSkills(); | ^~ ../creature.h:614:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 614 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; thirst = n; evalSpecialSkills(); | ^~ ../creature.h: In member function 'void Creature::setHunger(int)': ../creature.h:623:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 623 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; hunger = n; evalSpecialSkills(); | ^~ ../creature.h:623:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 623 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; hunger = n; evalSpecialSkills(); | ^~ In file included from combattest.cpp:20: ../item.h: In member function 'void Item::setWeight(float)': ../item.h:160:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 160 | if ( f < 0.0f )f = 0.1f; weight = f; | ^~ ../item.h:160:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 160 | if ( f < 0.0f )f = 0.1f; weight = f; | ^~~~~~ combattest.cpp: In static member function 'static bool CombatTest::executeTests(Session*, const char*)': combattest.cpp:65:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | Creature *attacker = createCharacter( session, "RA", "Attacker", 1 ); | ^~~~~~~~~~ combattest.cpp:71:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | Creature *defender = createCharacter( session, "RA", "Defender", 1 ); | ^~~~~~~~~~ rm -f libScourgeTest.a ar cru libScourgeTest.a combattest.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libScourgeTest.a make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/src/test' Making all in rpg make[3]: Entering directory '/usr/src/RPM/BUILD/scourge/src/rpg' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o character.o character.cpp In file included from ../common/constants.h:93, from character.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from character.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from character.cpp:19: character.h: In static member function 'static int Characters::getRootCount()': character.h:66:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 66 | return NULL; | ^~~~ In file included from character.cpp:22: spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rpg.o rpg.cpp In file included from ../common/constants.h:93, from rpg.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from rpg.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from rpgitem.h:25, from rpg.cpp:19: character.h: In static member function 'static int Characters::getRootCount()': character.h:66:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 66 | return NULL; | ^~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rpgitem.o rpgitem.cpp In file included from ../common/constants.h:93, from rpgitem.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from rpgitem.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from rpgitem.h:25, from rpgitem.cpp:18: character.h: In static member function 'static int Characters::getRootCount()': character.h:66:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 66 | return NULL; | ^~~~ In file included from rpgitem.cpp:19: spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from rpgitem.cpp:21: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ In file included from rpgitem.cpp:17: rpgitem.cpp: At global scope: rpgitem.cpp:49:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | N_( "Slashing" ), | ^~~~~~~~~~ ../common/constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ rpgitem.cpp:49:9: note: in expansion of macro 'N_' 49 | N_( "Slashing" ), | ^~ rpgitem.cpp:50:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | N_( "Piercing" ), | ^~~~~~~~~~ ../common/constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ rpgitem.cpp:50:9: note: in expansion of macro 'N_' 50 | N_( "Piercing" ), | ^~ rpgitem.cpp:51:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | N_( "Crushing" ) | ^~~~~~~~~~ ../common/constants.h:143:30: note: in definition of macro 'gettext_noop' 143 | #define gettext_noop(String) String | ^~~~~~ rpgitem.cpp:51:9: note: in expansion of macro 'N_' 51 | N_( "Crushing" ) | ^~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monster.o monster.cpp In file included from ../common/constants.h:93, from monster.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from monster.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from rpgitem.h:25, from monster.h:25, from monster.cpp:18: character.h: In static member function 'static int Characters::getRootCount()': character.h:66:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 66 | return NULL; | ^~~~ In file included from monster.h:26, from monster.cpp:18: spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o spell.o spell.cpp In file included from ../common/constants.h:93, from spell.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from spell.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from spell.cpp:18: spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ In file included from spell.cpp:18: spell.h: In constructor 'Spell::Spell(const char*, const char*, const char*, int, int, int, int, const char*, int, int, int, int, bool, bool, bool, bool, bool, MagicSchool*, int, int, bool, int)': spell.h:79:14: warning: 'Spell::action' will be initialized after [-Wreorder] 79 | Dice action; | ^~~~~~ spell.h:74:21: warning: 'std::string Spell::sound' [-Wreorder] 74 | std::string sound; | ^~~~~ spell.cpp:277:1: warning: when initialized here [-Wreorder] 277 | Spell::Spell( char const* name, char const* displayName, char const* symbol, int level, int mp, int exp, int failureRate, char const* action, | ^~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o specialskill.o specialskill.cpp In file included from ../common/constants.h:93, from specialskill.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from specialskill.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | rm -f libScourgeRpg.a ar cru libScourgeRpg.a character.o rpg.o rpgitem.o monster.o spell.o specialskill.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libScourgeRpg.a make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/src/rpg' Making all in events make[3]: Entering directory '/usr/src/RPM/BUILD/scourge/src/events' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o event.o event.cpp In file included from ../common/constants.h:93, from event.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from event.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o thirsthungerevent.o thirsthungerevent.cpp In file included from ../common/constants.h:93, from thirsthungerevent.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from thirsthungerevent.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../optionsmenu.h:33, from ../scourge.h:29, from thirsthungerevent.h:22, from thirsthungerevent.cpp:19: ../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ In file included from ../rpg/rpglib.h:27, from ../creature.h:36, from thirsthungerevent.cpp:21: ../rpg/character.h: In static member function 'static int Characters::getRootCount()': ../rpg/character.h:66:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 66 | return NULL; | ^~~~ In file included from ../rpg/monster.h:26, from ../rpg/rpglib.h:28, from ../creature.h:36, from thirsthungerevent.cpp:21: ../rpg/spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': ../rpg/spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ ../rpg/spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ In file included from thirsthungerevent.cpp:21: ../creature.h: In member function 'void Creature::setThirst(int)': ../creature.h:614:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 614 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; thirst = n; evalSpecialSkills(); | ^~ ../creature.h:614:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 614 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; thirst = n; evalSpecialSkills(); | ^~ ../creature.h: In member function 'void Creature::setHunger(int)': ../creature.h:623:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 623 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; hunger = n; evalSpecialSkills(); | ^~ ../creature.h:623:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 623 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; hunger = n; evalSpecialSkills(); | ^~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o potionexpirationevent.o potionexpirationevent.cpp In file included from ../common/constants.h:93, from potionexpirationevent.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from potionexpirationevent.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../rpg/rpglib.h:27, from potionexpirationevent.cpp:20: ../rpg/character.h: In static member function 'static int Characters::getRootCount()': ../rpg/character.h:66:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 66 | return NULL; | ^~~~ In file included from ../rpg/monster.h:26, from ../rpg/rpglib.h:28, from potionexpirationevent.cpp:20: ../rpg/spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': ../rpg/spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ ../rpg/spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ In file included from ../render/../events/../optionsmenu.h:33, from ../render/../events/../scourge.h:29, from ../render/../events/thirsthungerevent.h:22, from ../render/../party.h:25, from ../render/../session.h:25, from ../render/shapes.h:27, from ../render/glshape.h:25, from ../render/renderlib.h:34, from potionexpirationevent.cpp:21: ../render/../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../render/../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../render/../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ In file included from potionexpirationevent.cpp:22: ../item.h: In member function 'void Item::setWeight(float)': ../item.h:160:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 160 | if ( f < 0.0f )f = 0.1f; weight = f; | ^~ ../item.h:160:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 160 | if ( f < 0.0f )f = 0.1f; weight = f; | ^~~~~~ In file included from potionexpirationevent.cpp:23: ../creature.h: In member function 'void Creature::setThirst(int)': ../creature.h:614:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 614 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; thirst = n; evalSpecialSkills(); | ^~ ../creature.h:614:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 614 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; thirst = n; evalSpecialSkills(); | ^~ ../creature.h: In member function 'void Creature::setHunger(int)': ../creature.h:623:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 623 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; hunger = n; evalSpecialSkills(); | ^~ ../creature.h:623:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 623 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; hunger = n; evalSpecialSkills(); | ^~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o statemodexpirationevent.o statemodexpirationevent.cpp In file included from ../common/constants.h:93, from statemodexpirationevent.cpp:19: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from statemodexpirationevent.cpp:19: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../render/../events/../optionsmenu.h:33, from ../render/../events/../scourge.h:29, from ../render/../events/thirsthungerevent.h:22, from ../render/../party.h:25, from ../render/../session.h:25, from ../render/shapes.h:27, from ../render/glshape.h:25, from ../render/renderlib.h:34, from statemodexpirationevent.cpp:21: ../render/../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../render/../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../render/../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ In file included from ../rpg/rpglib.h:27, from ../creature.h:36, from statemodexpirationevent.cpp:22: ../rpg/character.h: In static member function 'static int Characters::getRootCount()': ../rpg/character.h:66:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 66 | return NULL; | ^~~~ In file included from ../rpg/monster.h:26, from ../rpg/rpglib.h:28, from ../creature.h:36, from statemodexpirationevent.cpp:22: ../rpg/spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': ../rpg/spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ ../rpg/spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ In file included from statemodexpirationevent.cpp:22: ../creature.h: In member function 'void Creature::setThirst(int)': ../creature.h:614:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 614 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; thirst = n; evalSpecialSkills(); | ^~ ../creature.h:614:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 614 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; thirst = n; evalSpecialSkills(); | ^~ ../creature.h: In member function 'void Creature::setHunger(int)': ../creature.h:623:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 623 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; hunger = n; evalSpecialSkills(); | ^~ ../creature.h:623:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 623 | if ( n < 0 )n = 0; if ( n > 10 )n = 10; hunger = n; evalSpecialSkills(); | ^~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o reloadevent.o reloadevent.cpp In file included from ../common/constants.h:93, from reloadevent.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from reloadevent.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from reloadevent.cpp:19: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ rm -f libScourgeEvents.a ar cru libScourgeEvents.a event.o thirsthungerevent.o potionexpirationevent.o statemodexpirationevent.o reloadevent.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libScourgeEvents.a make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/src/events' Making all in net make[3]: Entering directory '/usr/src/RPM/BUILD/scourge/src/net' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o broadcast.o broadcast.cpp In file included from ../common/constants.h:93, from broadcast.cpp:1: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from broadcast.cpp:1: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o client.o client.cpp In file included from ../common/constants.h:93, from client.cpp:1: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from client.cpp:1: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | client.cpp: In member function 'int Client::connect()': client.cpp:193:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 193 | for ( int i = 0; tryToReconnect && RETRY_COUNT <= 0 || i < RETRY_COUNT; i++ ) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o clientinfo.o clientinfo.cpp In file included from ../common/constants.h:93, from clientinfo.cpp:1: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from clientinfo.cpp:1: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | clientinfo.cpp: In destructor 'virtual ClientInfo::~ClientInfo()': clientinfo.cpp:40:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | TCPUtil::send( socket, "CLOSING" ); | ^~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o commands.o commands.cpp In file included from ../common/constants.h:93, from commands.cpp:1: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from commands.cpp:1: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gamestatehandler.o gamestatehandler.cpp In file included from ../common/constants.h:93, from gamestatehandler.cpp:1: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from gamestatehandler.cpp:1: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o server.o server.cpp In file included from ../common/constants.h:93, from server.cpp:1: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from server.cpp:1: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tcputil.o tcputil.cpp In file included from ../common/constants.h:93, from tcputil.cpp:1: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from tcputil.cpp:1: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o testgamestatehandler.o testgamestatehandler.cpp In file included from ../common/constants.h:93, from testgamestatehandler.cpp:1: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from testgamestatehandler.cpp:1: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | rm -f libScourgeNet.a ar cru libScourgeNet.a broadcast.o client.o clientinfo.o commands.o gamestatehandler.o server.o tcputil.o testgamestatehandler.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libScourgeNet.a make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/src/net' Making all in render make[3]: Entering directory '/usr/src/RPM/BUILD/scourge/src/render' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shapes.o shapes.cpp In file included from ../common/constants.h:93, from shapes.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from shapes.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from shapes.cpp:19: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ shapes.cpp: In member function 'GLuint Shapes::getBMPData(const string&, TextureData&, int*, int*)': shapes.cpp:640:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 640 | Constants::checkTexture( "Shapes::loadGLTextures", width, height ); | ^~~~~~~~~~~~~~~~~~~~~~~~ shapes.cpp: At global scope: shapes.cpp:861:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 861 | char *textureDirs[] = { "/textures/", "/cave/default/", "/objects/houses/", "" }; | ^~~~~~~~~~~~ shapes.cpp:861:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 861 | char *textureDirs[] = { "/textures/", "/cave/default/", "/objects/houses/", "" }; | ^~~~~~~~~~~~~~~~ shapes.cpp:861:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 861 | char *textureDirs[] = { "/textures/", "/cave/default/", "/objects/houses/", "" }; | ^~~~~~~~~~~~~~~~~~ shapes.cpp:861:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 861 | char *textureDirs[] = { "/textures/", "/cave/default/", "/objects/houses/", "" }; | ^~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o renderedcreature.o renderedcreature.cpp In file included from ../common/constants.h:93, from renderedcreature.cpp:17: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from renderedcreature.cpp:17: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from renderedcreature.cpp:22: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fog.o fog.cpp In file included from ../common/constants.h:93, from fog.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from fog.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from fog.cpp:20: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ fog.cpp: In member function 'void Fog::draw(int, int, int, int, CFrustum*)': fog.cpp:161:13: warning: variable 'f' set but not used [-Wunused-but-set-variable] 161 | int f[1000]; | ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o maprenderhelper.o maprenderhelper.cpp In file included from ../common/constants.h:93, from maprenderhelper.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from maprenderhelper.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from maprenderhelper.cpp:24: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o map.o map.cpp In file included from ../common/constants.h:93, from map.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from map.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from map.cpp:26: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ In file included from map.cpp:35: ../rpg/spell.h: In member function 'void MagicSchool::addToDeityDescription(char*)': ../rpg/spell.h:300:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~ ../rpg/spell.h:300:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 300 | if ( strlen( deityDescription ) ) strcat( deityDescription, " " ); strcat( deityDescription, s ); | ^~~~~~ map.cpp: In constructor 'Map::Map(MapAdapter*, Preferences*, Shapes*)': map.cpp:226:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 226 | outdoorShadow = adapter->getNamedTexture( "outdoors_shadow" ); | ^~~~~~~~~~~~~~~~~ map.cpp:227:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 227 | outdoorShadowTree = adapter->getNamedTexture( "outdoors_shadow_tree" ); | ^~~~~~~~~~~~~~~~~~~~~~ map.cpp: In member function 'void Map::startEffect(Sint16, Sint16, Sint16, int, GLuint, int, int, GLuint, bool, DisplayInfo*)': map.cpp:1418:55: warning: 'this' pointer is null [-Wnonnull] 1418 | ( ( RenderedCreature* )NULL )->getName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from map.cpp:31: renderedcreature.h:120:23: note: in a call to non-static member function 'virtual char* RenderedCreature::getName()' 120 | virtual char *getName() = 0; | ^~~~~~~ map.cpp: In member function 'void Map::removeEffect(Sint16, Sint16, Sint16)': map.cpp:1456:55: warning: 'this' pointer is null [-Wnonnull] 1456 | ( ( RenderedCreature* )NULL )->getName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from map.cpp:31: renderedcreature.h:120:23: note: in a call to non-static member function 'virtual char* RenderedCreature::getName()' 120 | virtual char *getName() = 0; | ^~~~~~~ map.cpp: In member function 'void Map::getMapXYZAtScreenXY(Uint16*, Uint16*, Uint16*, Location**)': map.cpp:3587:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3587 | adapter->setDebugStr( "map: " ); | ^~~~~~~ map.cpp:3513:13: warning: variable 'res' set but not used [-Wunused-but-set-variable] 3513 | int res = gluUnProject( win_x, win_y, 0.0f, modelview, projection, viewport, &px, &py, &pz ); | ^~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapsettings.o mapsettings.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapmemory.o mapmemory.cpp In file included from ./../common/constants.h:93, from ../rpg/../configlang.h:25, from ../rpg/rpg.h:22, from ../persist.h:22, from render.h:23, from map.h:22, from mapmemory.cpp:19: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ./../common/constants.h:93, from ../rpg/../configlang.h:25, from ../rpg/rpg.h:22, from ../persist.h:22, from render.h:23, from map.h:22, from mapmemory.cpp:19: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from mapmemory.cpp:23: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ mapmemory.cpp: In member function 'Location* MapMemoryManager::newLocation()': mapmemory.cpp:80:25: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 80 | pos->texIndex = NULL; | ^~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o maprender.o maprender.cpp In file included from ../common/constants.h:93, from maprender.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from maprender.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from maprender.cpp:26: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o indoor.o indoor.cpp In file included from ./../common/constants.h:93, from ../rpg/../configlang.h:25, from ../rpg/rpg.h:22, from ../persist.h:22, from render.h:23, from indoor.h:22, from indoor.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ./../common/constants.h:93, from ../rpg/../configlang.h:25, from ../rpg/rpg.h:22, from ../persist.h:22, from render.h:23, from indoor.h:22, from indoor.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from indoor.cpp:26: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ indoor.cpp: In member function 'virtual void Indoor::drawWaterPosition(int, int, float, float, Shape*)': indoor.cpp:423:16: warning: variable 'name' set but not used [-Wunused-but-set-variable] 423 | GLuint name; | ^~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o outdoor.o outdoor.cpp In file included from ./../common/constants.h:93, from ../rpg/../configlang.h:25, from ../rpg/rpg.h:22, from ../persist.h:22, from render.h:23, from outdoor.h:22, from outdoor.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ./../common/constants.h:93, from ../rpg/../configlang.h:25, from ../rpg/rpg.h:22, from ../persist.h:22, from render.h:23, from outdoor.h:22, from outdoor.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from outdoor.cpp:26: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapadapter.o mapadapter.cpp In file included from ../common/constants.h:93, from mapadapter.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from mapadapter.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o frustum.o frustum.cpp In file included from ../common/constants.h:93, from frustum.cpp:15: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from frustum.cpp:15: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from frustum.cpp:18: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o renderedprojectile.o renderedprojectile.cpp In file included from ../common/constants.h:93, from renderedprojectile.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from renderedprojectile.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o projectilerenderer.o projectilerenderer.cpp In file included from ../common/constants.h:93, from projectilerenderer.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from projectilerenderer.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from projectilerenderer.h:23, from projectilerenderer.cpp:19: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o location.o location.cpp In file included from ../common/constants.h:93, from location.cpp:19: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from location.cpp:19: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o renderedlocation.o renderedlocation.cpp In file included from ./../common/constants.h:93, from ../rpg/../configlang.h:25, from ../rpg/rpg.h:22, from ../persist.h:22, from render.h:23, from renderedlocation.h:22, from renderedlocation.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ./../common/constants.h:93, from ../rpg/../configlang.h:25, from ../rpg/rpg.h:22, from ../persist.h:22, from render.h:23, from renderedlocation.h:22, from renderedlocation.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from renderedlocation.cpp:27: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o effect.o effect.cpp In file included from ../common/constants.h:93, from effect.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from effect.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from effect.cpp:20: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ effect.cpp: In constructor 'Effect::Effect(Map*, Preferences*, Shapes*, int, int)': effect.cpp:31:73: warning: unsigned conversion from 'int' to 'Uint8' {aka 'unsigned char'} changes value from '2000' to '208' [-Woverflow] 31 | this->shape = new GLShape( 0, width, height, width, NULL, 0, 0, 2000 ); | ^~~~ effect.cpp: In member function 'void Effect::reset()': effect.cpp:41:46: warning: 'this' pointer is null [-Wnonnull] 41 | ( ( Effect* )NULL )->getShape(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from effect.cpp:19: effect.h:93:25: note: in a call to non-static member function 'GLShape* Effect::getShape()' 93 | inline GLShape *getShape() { | ^~~~~~~~ effect.cpp: In member function 'void Effect::setSize(int, int)': effect.cpp:85:67: warning: unsigned conversion from 'int' to 'Uint8' {aka 'unsigned char'} changes value from '2000' to '208' [-Woverflow] 85 | shape = new GLShape( 0, width, height, width, NULL, 0, 0, 2000 ); | ^~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shape.o shape.cpp In file included from ../common/constants.h:93, from shape.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from shape.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATA_DIR=\"/usr/share/scourge\" -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o glshape.o glshape.cpp In file included from ../common/constants.h:93, from glshape.cpp:18: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from ../common/constants.h:93, from glshape.cpp:18: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from ../events/../optionsmenu.h:33, from ../events/../scourge.h:29, from ../events/thirsthungerevent.h:22, from ../party.h:25, from ../session.h:25, from shapes.h:27, from glshape.h:25, from glshape.cpp:19: ../events/../gui/multiplelabel.h: In member function 'const char* MultipleLabel::getText(int)': ../events/../gui/multiplelabel.h:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~ ../events/../gui/multiplelabel.h:54:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if ( i >= 0 && i < getNbText() ) return vText[i].c_str(); return NULL; | ^~~~~~ glshape.cpp: In static member function 'static void GLShape::createDarkTexture(WallTheme*)': glshape.cpp:498:25: error: reference to 'data' is ambiguous 498 | data[i * LIGHTMAP_SIZE * 3 + j * 3 + 0] = | ^~~~ In file included from /usr/include/c++/11/vector:69, from ../common/constants.h:84, from glshape.cpp:18: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ glshape.cpp:38:22: note: 'unsigned char data [768]' 38 | static unsigned char data[LIGHTMAP_SIZE * LIGHTMAP_SIZE * 3]; | ^~~~ glshape.cpp:500:25: error: reference to 'data' is ambiguous 500 | data[i * LIGHTMAP_SIZE * 3 + j * 3 + 1] = | ^~~~ In file included from /usr/include/c++/11/vector:69, from ../common/constants.h:84, from glshape.cpp:18: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ glshape.cpp:38:22: note: 'unsigned char data [768]' 38 | static unsigned char data[LIGHTMAP_SIZE * LIGHTMAP_SIZE * 3]; | ^~~~ glshape.cpp:502:25: error: reference to 'data' is ambiguous 502 | data[i * LIGHTMAP_SIZE * 3 + j * 3 + 2] = | ^~~~ In file included from /usr/include/c++/11/vector:69, from ../common/constants.h:84, from glshape.cpp:18: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ glshape.cpp:38:22: note: 'unsigned char data [768]' 38 | static unsigned char data[LIGHTMAP_SIZE * LIGHTMAP_SIZE * 3]; | ^~~~ glshape.cpp:526:108: error: reference to 'data' is ambiguous 526 | glTexImage2D( GL_TEXTURE_2D, 0, GL_RGB, LIGHTMAP_SIZE, LIGHTMAP_SIZE, 0, GL_RGB, GL_UNSIGNED_BYTE, data ); | ^~~~ In file included from /usr/include/c++/11/vector:69, from ../common/constants.h:84, from glshape.cpp:18: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ glshape.cpp:38:22: note: 'unsigned char data [768]' 38 | static unsigned char data[LIGHTMAP_SIZE * LIGHTMAP_SIZE * 3]; | ^~~~ glshape.cpp:527:107: error: reference to 'data' is ambiguous 527 | gluBuild2DMipmaps( GL_TEXTURE_2D, GL_RGB, LIGHTMAP_SIZE, LIGHTMAP_SIZE, GL_RGB, GL_UNSIGNED_BYTE, data ); | ^~~~ In file included from /usr/include/c++/11/vector:69, from ../common/constants.h:84, from glshape.cpp:18: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ glshape.cpp:38:22: note: 'unsigned char data [768]' 38 | static unsigned char data[LIGHTMAP_SIZE * LIGHTMAP_SIZE * 3]; | ^~~~ glshape.cpp: At global scope: glshape.cpp:38:22: warning: 'data' defined but not used [-Wunused-variable] make[3]: *** [Makefile:552: glshape.o] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/scourge/src/render' make[2]: *** [Makefile:791: all-recursive] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/scourge/src' make[1]: *** [Makefile:444: all-recursive] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/scourge' make: *** [Makefile:381: all] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/scourge' error: Bad exit status from /usr/src/tmp/rpm-tmp.38773 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.38773 (%build) Command exited with non-zero status 1 102.74user 8.64system 1:51.44elapsed 99%CPU (0avgtext+0avgdata 266792maxresident)k 0inputs+0outputs (0major+3916121minor)pagefaults 0swaps hsh-rebuild: rebuild of `scourge-0.21.1-alt6.svn3264.src.rpm' failed. Command exited with non-zero status 1 130.77user 11.71system 2:52.21elapsed 82%CPU (0avgtext+0avgdata 266792maxresident)k 64inputs+0outputs (0major+4201469minor)pagefaults 0swaps