<86>Sep 14 11:20:39 userdel[4012954]: delete user 'rooter' <86>Sep 14 11:20:39 groupadd[4012962]: group added to /etc/group: name=rooter, GID=639 <86>Sep 14 11:20:39 groupadd[4012962]: group added to /etc/gshadow: name=rooter <86>Sep 14 11:20:39 groupadd[4012962]: new group: name=rooter, GID=639 <86>Sep 14 11:20:39 useradd[4012979]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Sep 14 11:20:39 userdel[4013213]: delete user 'builder' <86>Sep 14 11:20:39 userdel[4013213]: removed group 'builder' owned by 'builder' <86>Sep 14 11:20:39 userdel[4013213]: removed shadow group 'builder' owned by 'builder' <86>Sep 14 11:20:39 groupadd[4013470]: group added to /etc/group: name=builder, GID=640 <86>Sep 14 11:20:39 groupadd[4013470]: group added to /etc/gshadow: name=builder <86>Sep 14 11:20:39 groupadd[4013470]: new group: name=builder, GID=640 <86>Sep 14 11:20:39 useradd[4013527]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/cube3d-2005.08.29-alt2.qa3.src.rpm: license not found in '/usr/share/license' directory: license <13>Sep 14 11:20:42 rpmi: libglvnd-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:20:42 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Sep 14 11:20:42 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058888 installed <13>Sep 14 11:20:42 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Sep 14 11:20:42 rpmi: libjpeg-2:2.0.6-alt4 sisyphus+284191.100.1.1 1630330787 installed <13>Sep 14 11:20:42 rpmi: xorg-proto-devel-2021.4-alt1 sisyphus+272146.100.1.1 1621424691 installed <13>Sep 14 11:20:42 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Sep 14 11:20:42 rpmi: libwayland-server-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 11:20:42 rpmi: libGLES-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:20:42 rpmi: libOpenGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:20:42 rpmi: libmpg123-1.28.2-alt1 sisyphus+278637.100.1.3 1626108472 installed <13>Sep 14 11:20:42 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080113 installed <13>Sep 14 11:20:43 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Sep 14 11:20:43 rpmi: libwebp7-1.2.1-alt1 sisyphus+282658.100.1.1 1628955707 installed <13>Sep 14 11:20:43 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Sep 14 11:20:43 rpmi: libtiff5-4.2.0-alt1 sisyphus+279102.100.1.1 1626378268 installed <13>Sep 14 11:20:43 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Sep 14 11:20:43 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975602 installed <13>Sep 14 11:20:43 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Sep 14 11:20:43 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550766 installed <13>Sep 14 11:20:43 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Sep 14 11:20:43 rpmi: libgpg-error-1.42-alt1 sisyphus+275524.40.1.1 1624455836 installed <13>Sep 14 11:20:43 rpmi: libgcrypt20-1.9.3-alt1 sisyphus+275524.100.1.1 1624456196 installed <13>Sep 14 11:20:43 rpmi: libsystemd-1:249.4-alt2 sisyphus+284628.100.1.1 1630859862 installed <13>Sep 14 11:20:43 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Sep 14 11:20:43 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Sep 14 11:20:43 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080763 installed <13>Sep 14 11:20:43 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 14 11:20:43 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Sep 14 11:20:43 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Sep 14 11:20:43 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Sep 14 11:20:43 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Sep 14 11:20:43 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Sep 14 11:20:43 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477167 installed <13>Sep 14 11:20:43 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077624 installed <13>Sep 14 11:20:43 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577012 installed <13>Sep 14 11:20:43 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Sep 14 11:20:43 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Sep 14 11:20:43 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575560 installed <13>Sep 14 11:20:45 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Sep 14 11:20:45 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Sep 14 11:20:45 rpmi: libwayland-client-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 11:20:45 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084208 installed <13>Sep 14 11:20:45 rpmi: libdrm-1:2.4.107-alt2 sisyphus+283492.100.1.3 1629454723 installed <13>Sep 14 11:20:45 rpmi: libGLX-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 11:20:45 rpmi: libGLX-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:20:45 rpmi: libGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:20:45 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Sep 14 11:20:45 rpmi: libgbm-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 11:20:45 rpmi: libEGL-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 11:20:45 rpmi: libEGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:20:45 rpmi: libglvnd-devel-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:20:45 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Sep 14 11:20:45 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 14 11:20:45 rpmi: libstdc++11-devel-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 11:20:46 rpmi: gcc11-c++-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 11:20:47 rpmi: alsa-ucm-conf-1.2.5.1-alt1 sisyphus+274777.200.1.1 1624089157 installed <13>Sep 14 11:20:47 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Sep 14 11:20:47 rpmi: libalsa-1:1.2.5.1-alt1 sisyphus+279749.100.1.1 1626687314 installed <13>Sep 14 11:20:47 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Sep 14 11:20:47 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Sep 14 11:20:47 rpmi: libSDL_image-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Sep 14 11:20:47 rpmi: libSDL_mixer-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250452 installed <13>Sep 14 11:20:47 rpmi: libSDL_mixer-devel-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250452 installed <13>Sep 14 11:20:47 rpmi: libSDL_image-devel-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Sep 14 11:20:47 rpmi: gcc-c++-11-alt1 icarus+285089.300.1.1 1631485148 installed <13>Sep 14 11:20:47 rpmi: desktop-file-utils-0.23-alt2 sisyphus+275054.100.2.1 1624901116 installed <13>Sep 14 11:20:47 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/cube3d-2005.08.29-alt2.qa3.nosrc.rpm (w1.gzdio) Installing cube3d-2005.08.29-alt2.qa3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.32553 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf cube-src-2005.08.29 + echo 'Source #0 (cube-src-2005.08.29.tar):' Source #0 (cube-src-2005.08.29.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/cube-src-2005.08.29.tar + cd cube-src-2005.08.29 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (cube3d-2005.08.29-alt-DSO.patch):' Patch #0 (cube3d-2005.08.29-alt-DSO.patch): + /usr/bin/patch -p2 patching file src/Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.32553 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cube-src-2005.08.29 + cd ./enet + touch NEWS AUTHORS ChangeLog + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: running: aclocal --force aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: configure.in: tracing 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: configure.in: not using Autoheader autoreconf-default: running: automake --add-missing --force-missing automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:2: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:4: installing './compile' configure.in:2: installing './install-sh' configure.in:2: installing './missing' Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Makefile.am: installing './INSTALL' Makefile.am: installing './COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file to the version control system Makefile.am: for your code, to avoid questions about which license your project uses automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' Makefile.am: installing './depcomp' 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 + readlink -e -- ./configure + xargs -ri dirname -- '{}' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./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 configure: WARNING: unrecognized options: --without-included-gettext 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 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 whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for gethostbyaddr_r... yes checking for gethostbyname_r... yes checking for poll... yes checking for fcntl... yes checking for struct msghdr.msg_flags... yes checking for socklen_t... yes 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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/enet/Makefile config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -j8 Making all in include Making all in enet make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' i586-alt-linux-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"7-18-2005\" -DPACKAGE_STRING=\"libenet\ 7-18-2005\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"7-18-2005\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude/ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o list.o list.c make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' i586-alt-linux-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"7-18-2005\" -DPACKAGE_STRING=\"libenet\ 7-18-2005\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"7-18-2005\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude/ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o win32.o win32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' i586-alt-linux-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"7-18-2005\" -DPACKAGE_STRING=\"libenet\ 7-18-2005\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"7-18-2005\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude/ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o packet.o packet.c make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' i586-alt-linux-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"7-18-2005\" -DPACKAGE_STRING=\"libenet\ 7-18-2005\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"7-18-2005\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude/ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o callbacks.o callbacks.c make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' i586-alt-linux-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"7-18-2005\" -DPACKAGE_STRING=\"libenet\ 7-18-2005\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"7-18-2005\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude/ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o host.o host.c make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' i586-alt-linux-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"7-18-2005\" -DPACKAGE_STRING=\"libenet\ 7-18-2005\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"7-18-2005\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude/ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o peer.o peer.c peer.c: In function 'enet_peer_reset': peer.c:383:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 383 | memset (peer -> unsequencedWindow, 0, sizeof (peer -> unsequencedWindow)); | ^~~~~~ peer.c:7:1: note: include '' or provide a declaration of 'memset' 6 | #include "enet/enet.h" +++ |+#include 7 | peer.c:383:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 383 | memset (peer -> unsequencedWindow, 0, sizeof (peer -> unsequencedWindow)); | ^~~~~~ peer.c:383:5: note: include '' or provide a declaration of 'memset' peer.c: In function 'enet_peer_queue_incoming_command': peer.c:631:8: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 631 | memset (incomingCommand -> fragments, 0, (fragmentCount + 31) / 32 * sizeof (enet_uint32)); | ^~~~~~ peer.c:631:8: note: include '' or provide a declaration of 'memset' make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' i586-alt-linux-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"7-18-2005\" -DPACKAGE_STRING=\"libenet\ 7-18-2005\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"7-18-2005\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude/ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o unix.o unix.c make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' i586-alt-linux-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"7-18-2005\" -DPACKAGE_STRING=\"libenet\ 7-18-2005\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"7-18-2005\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude/ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o protocol.o protocol.c make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' rm -f libenet.a ar cru libenet.a host.o list.o callbacks.o packet.o peer.o protocol.o unix.o win32.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libenet.a make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' + cd ../src + make -j8 'CXXOPTFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char' 'CXX=g++ -L/usr/lib' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make -C ../enet all make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' Making all in include make[2]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet/include' Making all in enet make[3]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet/include/enet' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet/include/enet' make[3]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet/include' make[2]: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make[1]: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/enet' make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o clientextras.o clientextras.cpp In file included from cube.h:284, from clientextras.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ clientextras.cpp: In function 'void renderclients()': clientextras.cpp:47:128: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | loopv(players) if((d = players[i]) && (!demoplayback || i!=democlientnum)) renderclient(d, isteam(player1->team, d->team), "monster/ogro", false, 1.0f); | ^~~~~~~~~~~~~~ clientextras.cpp: In function 'void renderscores()': clientextras.cpp:104:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | menumanual(0, scorelines.length(), ""); | ^~ In file included from clientextras.cpp:3: clientextras.cpp: At global scope: clientextras.cpp:155:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | COMMAND(sendmap, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientextras.cpp:155:1: note: in expansion of macro 'COMMAND' 155 | COMMAND(sendmap, ARG_1STR); | ^~~~~~~ clientextras.cpp:156:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | COMMAND(getmap, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientextras.cpp:156:1: note: in expansion of macro 'COMMAND' 156 | COMMAND(getmap, ARG_NONE); | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o clientgame.o clientgame.cpp In file included from cube.h:284, from clientgame.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from clientgame.cpp:3: clientgame.cpp:6:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6 | VAR(gamemode, 1, 0, 0); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ clientgame.cpp:9:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | COMMAND(mode, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp:9:1: note: in expansion of macro 'COMMAND' 9 | COMMAND(mode, ARG_1INT); | ^~~~~~~ clientgame.cpp:16:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | VARP(sensitivity, 0, 10, 10000); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ clientgame.cpp:17:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | VARP(sensitivityscale, 1, 1, 10000); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ clientgame.cpp:18:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 18 | VARP(invmouse, 0, 0, 1); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ clientgame.cpp:215:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 215 | COMMANDN(sleep, sleepf, ARG_2STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp: In function 'void attack(bool)': clientgame.cpp:312:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 312 | else if(player1->attacking = on) respawn(); | ~~~~~~~~~~~~~~~~~~~^~~~ In file included from clientgame.cpp:3: clientgame.cpp: At global scope: clientgame.cpp:317:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 317 | COMMAND(backward, ARG_DOWN); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp:317:1: note: in expansion of macro 'COMMAND' 317 | COMMAND(backward, ARG_DOWN); | ^~~~~~~ clientgame.cpp:318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | COMMAND(forward, ARG_DOWN); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp:318:1: note: in expansion of macro 'COMMAND' 318 | COMMAND(forward, ARG_DOWN); | ^~~~~~~ clientgame.cpp:319:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 319 | COMMAND(left, ARG_DOWN); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp:319:1: note: in expansion of macro 'COMMAND' 319 | COMMAND(left, ARG_DOWN); | ^~~~~~~ clientgame.cpp:320:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 320 | COMMAND(right, ARG_DOWN); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp:320:1: note: in expansion of macro 'COMMAND' 320 | COMMAND(right, ARG_DOWN); | ^~~~~~~ clientgame.cpp:321:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 321 | COMMANDN(jump, jumpn, ARG_DOWN); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp:322:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 322 | COMMAND(attack, ARG_DOWN); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp:322:1: note: in expansion of macro 'COMMAND' 322 | COMMAND(attack, ARG_DOWN); | ^~~~~~~ clientgame.cpp:323:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 323 | COMMAND(showscores, ARG_DOWN); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ clientgame.cpp:323:1: note: in expansion of macro 'COMMAND' 323 | COMMAND(showscores, ARG_DOWN); | ^~~~~~~ clientgame.cpp: In function 'dynent* getclient(int)': clientgame.cpp:420:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 420 | neterr("clientnum"); | ^~~~~~~~~~~ clientgame.cpp: In function 'void startmap(char*)': clientgame.cpp:446:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 446 | setvar("gamespeed", 100); | ^~~~~~~~~~~ clientgame.cpp:447:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 447 | setvar("fog", 180); | ^~~~~ clientgame.cpp:448:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 448 | setvar("fogcolour", 0x8099B3); | ^~~~~~~~~~~ In file included from clientgame.cpp:3: clientgame.cpp: At global scope: clientgame.cpp:455:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 455 | COMMANDN(map, changemap, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o console.o console.cpp In file included from cube.h:284, from console.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from console.cpp:3: console.cpp:22:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | COMMANDN(conskip, setconskip, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ console.cpp: In function 'void conline(const char*, bool)': console.cpp:27:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | cl.cref = conlines.length()>100 ? conlines.pop().cref : newstringbuf(""); // constrain the buffer size | ^~ In file included from console.cpp:3: console.cpp: At global scope: console.cpp:88:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | COMMAND(keymap, ARG_3STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ console.cpp:88:1: note: in expansion of macro 'COMMAND' 88 | COMMAND(keymap, ARG_3STR); | ^~~~~~~ console.cpp:101:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | COMMANDN(bind, bindkey, ARG_2STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ console.cpp: In function 'void saycommand(char*)': console.cpp:107:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | if(!init) init = ""; | ^~ In file included from console.cpp:3: console.cpp: At global scope: console.cpp:113:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | COMMAND(saycommand, ARG_VARI); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ console.cpp:113:1: note: in expansion of macro 'COMMAND' 113 | COMMAND(saycommand, ARG_VARI); | ^~~~~~~ console.cpp:114:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | COMMAND(mapmsg, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ console.cpp:114:1: note: in expansion of macro 'COMMAND' 114 | COMMAND(mapmsg, ARG_1STR); | ^~~~~~~ console.cpp:168:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | COMMAND(history, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ console.cpp:168:1: note: in expansion of macro 'COMMAND' 168 | COMMAND(history, ARG_1INT); | ^~~~~~~ console.cpp: In function 'void keypress(int, bool, int)': console.cpp:206:49: warning: narrowing conversion of 'cooked' from 'int' to 'char' [-Wnarrowing] 206 | if(cooked) { char add[] = { cooked, 0 }; strcat_s(commandbuf, add); }; | ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o client.o client.cpp In file included from cube.h:284, from client.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from client.cpp:3: client.cpp:28:114: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | VARF(rate, 0, 0, 25000, if(clienthost && (!rate || rate>1000)) enet_host_bandwidth_limit (clienthost, rate, rate)); | ^ cube.h:257:89: note: in definition of macro 'VARF' 257 | #define VARF(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, false); void var_##name() { body; } | ^~~~ client.cpp:32:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | VARF(throttle_interval, 0, 5, 30, throttle()); | ^ cube.h:257:89: note: in definition of macro 'VARF' 257 | #define VARF(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, false); void var_##name() { body; } | ^~~~ client.cpp:33:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | VARF(throttle_accel, 0, 2, 32, throttle()); | ^ cube.h:257:89: note: in definition of macro 'VARF' 257 | #define VARF(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, false); void var_##name() { body; } | ^~~~ client.cpp:34:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | VARF(throttle_decel, 0, 2, 32, throttle()); | ^ cube.h:257:89: note: in definition of macro 'VARF' 257 | #define VARF(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, false); void var_##name() { body; } | ^~~~ client.cpp:46:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | COMMANDN(team, newteam, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ client.cpp:47:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | COMMANDN(name, newname, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ client.cpp:137:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | COMMAND(echo, ARG_VARI); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ client.cpp:137:1: note: in expansion of macro 'COMMAND' 137 | COMMAND(echo, ARG_VARI); | ^~~~~~~ client.cpp:138:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | COMMANDN(say, toserver, ARG_VARI); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ client.cpp:139:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | COMMANDN(connect, connects, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ client.cpp:140:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | COMMANDN(disconnect, trydisconnect, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ client.cpp: In function 'void addmsg(int, int, int, ...)': client.cpp:149:131: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | if(num!=msgsizelookup(type)) { sprintf_sd(s)("inconsistant msg size for %d (%d != %d)", type, num, msgsizelookup(type)); fatal(s); }; | ~~~~~^~~ In file included from client.cpp:3: client.cpp: At global scope: client.cpp:173:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | COMMAND(password, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ client.cpp:173:1: note: in expansion of macro 'COMMAND' 173 | COMMAND(password, ARG_1STR); | ^~~~~~~ client.cpp: In function 'void initclientnet()': client.cpp:182:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 182 | newname("unnamed"); | ^~~~~~~~~ client.cpp:183:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | newteam("red"); | ^~~~~ client.cpp: In function 'void gets2c()': client.cpp:289:11: warning: enumeration value 'ENET_EVENT_TYPE_NONE' not handled in switch [-Wswitch] 289 | switch(event.type) | ^ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o clients2c.o clients2c.cpp In file included from cube.h:284, from clients2c.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ clients2c.cpp: In function 'void localservertoclient(uchar*, int)': clients2c.cpp:54:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | if(ENET_NET_TO_HOST_16(*(ushort *)buf)!=len) neterr("packet length"); | ^~~~~~~~~~~~~~~ clients2c.cpp:259:31: warning: narrowing conversion of 'ents.vector::operator[](((int)i)).entity::.persistent_entity::x' from 'short int' to 'float' [-Wnarrowing] 259 | vec v = { ents[i].x, ents[i].y, ents[i].z }; clients2c.cpp:259:42: warning: narrowing conversion of 'ents.vector::operator[](((int)i)).entity::.persistent_entity::y' from 'short int' to 'float' [-Wnarrowing] 259 | vec v = { ents[i].x, ents[i].y, ents[i].z }; clients2c.cpp:259:53: warning: narrowing conversion of 'ents.vector::operator[](((int)i)).entity::.persistent_entity::z' from 'short int' to 'float' [-Wnarrowing] 259 | vec v = { ents[i].x, ents[i].y, ents[i].z }; clients2c.cpp:352:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | neterr("type"); | ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o editing.o editing.cpp In file included from cube.h:284, from editing.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ editing.cpp:12:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 12 | variable("selx", 0, 0, 4096, &sel.x, NULL, false), | ^~~~~~ editing.cpp:13:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 13 | variable("sely", 0, 0, 4096, &sel.y, NULL, false), | ^~~~~~ editing.cpp:14:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 14 | variable("selxs", 0, 0, 4096, &sel.xs, NULL, false), | ^~~~~~~ editing.cpp:15:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 15 | variable("selys", 0, 0, 4096, &sel.ys, NULL, false), | ^~~~~~~ In file included from editing.cpp:3: editing.cpp:33:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | VAR(editing,0,0,1); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ editing.cpp:56:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | COMMANDN(edittoggle, toggleedit, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:101:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | VAR(flrceil,0,0,2); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ editing.cpp: In function 'void cursorupdate()': editing.cpp:161:16: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 161 | if(!(ix+1&GRIDM)) line(ix+1, iy, h2, ix+1, iy+1, h3); | ~~^~ editing.cpp:163:16: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 163 | if(!(iy+1&GRIDM)) line(ix, iy+1, h4, ix+1, iy+1, h3); | ~~^~ In file included from editing.cpp:3: editing.cpp: At global scope: editing.cpp:185:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | VARP(undomegs, 0, 1, 10); // bounded by n megs | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ editing.cpp: In function 'void editdrag(bool)': editing.cpp:253:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 253 | if(dragging = isdown) | ~~~~~~~~~^~~~~~~~ In file included from editing.cpp:3: editing.cpp: At global scope: editing.cpp:290:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 290 | COMMAND(editheight, ARG_2INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:290:1: note: in expansion of macro 'COMMAND' 290 | COMMAND(editheight, ARG_2INT); | ^~~~~~~ editing.cpp: In function 'void edittype(int)': editing.cpp:343:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 343 | if(type==CORNER && (sel.xs!=sel.ys || sel.xs==3 || sel.xs>4 && sel.xs!=8 | ~~~~~~~~~^~~~~~~~~~~~ In file included from editing.cpp:3: editing.cpp: At global scope: editing.cpp:354:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 354 | COMMAND(heightfield, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:354:1: note: in expansion of macro 'COMMAND' 354 | COMMAND(heightfield, ARG_1INT); | ^~~~~~~ editing.cpp:355:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 355 | COMMAND(solid, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:355:1: note: in expansion of macro 'COMMAND' 355 | COMMAND(solid, ARG_1INT); | ^~~~~~~ editing.cpp:356:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 356 | COMMAND(corner, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:356:1: note: in expansion of macro 'COMMAND' 356 | COMMAND(corner, ARG_NONE); | ^~~~~~~ editing.cpp:381:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 381 | COMMAND(equalize, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:381:1: note: in expansion of macro 'COMMAND' 381 | COMMAND(equalize, ARG_1INT); | ^~~~~~~ editing.cpp:459:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 459 | ); | ^ cube.h:257:89: note: in definition of macro 'VARF' 257 | #define VARF(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, false); void var_##name() { body; } | ^~~~ editing.cpp:473:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 473 | COMMANDN(select, selectpos, ARG_4INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:474:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 474 | COMMAND(edittag, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:474:1: note: in expansion of macro 'COMMAND' 474 | COMMAND(edittag, ARG_1INT); | ^~~~~~~ editing.cpp:475:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 475 | COMMAND(replace, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:475:1: note: in expansion of macro 'COMMAND' 475 | COMMAND(replace, ARG_NONE); | ^~~~~~~ editing.cpp:476:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 476 | COMMAND(archvertex, ARG_3INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:476:1: note: in expansion of macro 'COMMAND' 476 | COMMAND(archvertex, ARG_3INT); | ^~~~~~~ editing.cpp:477:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 477 | COMMAND(arch, ARG_2INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:477:1: note: in expansion of macro 'COMMAND' 477 | COMMAND(arch, ARG_2INT); | ^~~~~~~ editing.cpp:478:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 478 | COMMAND(slope, ARG_2INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:478:1: note: in expansion of macro 'COMMAND' 478 | COMMAND(slope, ARG_2INT); | ^~~~~~~ editing.cpp:479:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 479 | COMMANDN(vdelta, setvdelta, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:480:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 480 | COMMANDN(undo, editundo, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:481:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 481 | COMMAND(copy, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:481:1: note: in expansion of macro 'COMMAND' 481 | COMMAND(copy, ARG_NONE); | ^~~~~~~ editing.cpp:482:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 482 | COMMAND(paste, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:482:1: note: in expansion of macro 'COMMAND' 482 | COMMAND(paste, ARG_NONE); | ^~~~~~~ editing.cpp:483:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 483 | COMMAND(edittex, ARG_2INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:483:1: note: in expansion of macro 'COMMAND' 483 | COMMAND(edittex, ARG_2INT); | ^~~~~~~ editing.cpp:484:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 484 | COMMAND(newent, ARG_5STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:484:1: note: in expansion of macro 'COMMAND' 484 | COMMAND(newent, ARG_5STR); | ^~~~~~~ editing.cpp:485:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 485 | COMMAND(perlin, ARG_3INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ editing.cpp:485:1: note: in expansion of macro 'COMMAND' 485 | COMMAND(perlin, ARG_3INT); | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o command.o command.cpp In file included from cube.h:284, from command.cpp:4: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from command.cpp:4: command.cpp:41:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | COMMAND(alias, ARG_2STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:41:1: note: in expansion of macro 'COMMAND' 41 | COMMAND(alias, ARG_2STR); | ^~~~~~~ command.cpp: In function 'int execute(char*, bool)': command.cpp:136:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | w[i] = ""; | ^~ command.cpp:139:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | if(!s) { numargs = i; s = ""; }; | ^~ In file included from command.cpp:4: command.cpp: At global scope: command.cpp:303:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 303 | COMMAND(writecfg, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:303:1: note: in expansion of macro 'COMMAND' 303 | COMMAND(writecfg, ARG_NONE); | ^~~~~~~ command.cpp: In function 'void loopa(char*, char*)': command.cpp:311:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 311 | void loopa(char *times, char *body) { int t = atoi(times); loopi(t) { intset("i", i); execute(body); }; }; | ^~~ command.cpp: In function 'void concat(char*)': command.cpp:315:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 315 | void concat(char *s) { alias("s", s); }; | ^~~ command.cpp: In function 'void concatword(char*)': command.cpp:319:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 319 | for(char *a = s, *b = s; *a = *b; b++) if(*a!=' ') a++; | ~~~^~~~ In file included from command.cpp:4: command.cpp: At global scope: command.cpp:339:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 339 | COMMANDN(loop, loopa, ARG_2STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:340:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 340 | COMMANDN(while, whilea, ARG_2STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:341:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 341 | COMMANDN(if, ifthen, ARG_3STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:342:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 342 | COMMAND(onrelease, ARG_DWN1); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:342:1: note: in expansion of macro 'COMMAND' 342 | COMMAND(onrelease, ARG_DWN1); | ^~~~~~~ command.cpp:343:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 343 | COMMAND(exec, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:343:1: note: in expansion of macro 'COMMAND' 343 | COMMAND(exec, ARG_1STR); | ^~~~~~~ command.cpp:344:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 344 | COMMAND(concat, ARG_VARI); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:344:1: note: in expansion of macro 'COMMAND' 344 | COMMAND(concat, ARG_VARI); | ^~~~~~~ command.cpp:345:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 345 | COMMAND(concatword, ARG_VARI); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:345:1: note: in expansion of macro 'COMMAND' 345 | COMMAND(concatword, ARG_VARI); | ^~~~~~~ command.cpp:346:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 346 | COMMAND(at, ARG_2STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:346:1: note: in expansion of macro 'COMMAND' 346 | COMMAND(at, ARG_2STR); | ^~~~~~~ command.cpp:347:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | COMMAND(listlen, ARG_1EST); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:347:1: note: in expansion of macro 'COMMAND' 347 | COMMAND(listlen, ARG_1EST); | ^~~~~~~ command.cpp:349:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 349 | int add(int a, int b) { return a+b; }; COMMANDN(+, add, ARG_2EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:350:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 350 | int mul(int a, int b) { return a*b; }; COMMANDN(*, mul, ARG_2EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:351:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 351 | int sub(int a, int b) { return a-b; }; COMMANDN(-, sub, ARG_2EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:352:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | int divi(int a, int b) { return b ? a/b : 0; }; COMMANDN(div, divi, ARG_2EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:353:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 353 | int mod(int a, int b) { return b ? a%b : 0; }; COMMAND(mod, ARG_2EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:353:50: note: in expansion of macro 'COMMAND' 353 | int mod(int a, int b) { return b ? a%b : 0; }; COMMAND(mod, ARG_2EXP); | ^~~~~~~ command.cpp:354:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 354 | int equal(int a, int b) { return (int)(a==b); }; COMMANDN(=, equal, ARG_2EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:355:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 355 | int lt(int a, int b) { return (int)(ab); }; COMMANDN(>, gt, ARG_2EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:358:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 358 | int strcmpa(char *a, char *b) { return strcmp(a,b)==0; }; COMMANDN(strcmp, strcmpa, ARG_2EST); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:360:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 360 | int rndn(int a) { return a>0 ? rnd(a) : 0; }; COMMANDN(rnd, rndn, ARG_1EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ command.cpp:362:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 362 | int explastmillis() { return lastmillis; }; COMMANDN(millis, explastmillis, ARG_1EXP); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ In file included from cube.h:3, from command.cpp:4: tools.h: In instantiation of 'T* hashtable::access(char*, T*) [with T = ident]': command.cpp:27:30: required from here tools.h:247:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 247 | for(int i = 0, k; k = key[i]; i++) h = ((h<<5)+h)^k; // bernstein k=33 xor | ~~^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o entities.o entities.cpp In file included from cube.h:284, from entities.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ entities.cpp:9:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | "shells", "bullets", "rockets", "rrounds", "health", "boost", | ^~~~~~~~ entities.cpp:9:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | "shells", "bullets", "rockets", "rrounds", "health", "boost", | ^~~~~~~~~ entities.cpp:9:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | "shells", "bullets", "rockets", "rrounds", "health", "boost", | ^~~~~~~~~ entities.cpp:9:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | "shells", "bullets", "rockets", "rrounds", "health", "boost", | ^~~~~~~~~ entities.cpp:9:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | "shells", "bullets", "rockets", "rrounds", "health", "boost", | ^~~~~~~~ entities.cpp:9:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | "shells", "bullets", "rockets", "rrounds", "health", "boost", | ^~~~~~~ entities.cpp:10:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 10 | "g_armour", "y_armour", "quad", "teleporter", | ^~~~~~~~~~ entities.cpp:10:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 10 | "g_armour", "y_armour", "quad", "teleporter", | ^~~~~~~~~~ entities.cpp:10:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 10 | "g_armour", "y_armour", "quad", "teleporter", | ^~~~~~ entities.cpp:10:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 10 | "g_armour", "y_armour", "quad", "teleporter", | ^~~~~~~~~~~~ entities.cpp: In function 'void renderentities()': entities.cpp:29:17: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] 29 | if(!&mmi) continue; | ^~~~ entities.cpp:50:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | renderent(e, "carrot", (float)(1+sin(lastmillis/100.0+e.x+e.y)/20), lastmillis/(e.attr2 ? 1.0f : 10.0f)); | ^~~~~~~~ entities.cpp:53:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | case 4: renderent(e, "switch2", 3, (float)e.attr3*90, (!e.spawned && !triggertime) ? 1 : 0, (e.spawned || !triggertime) ? 1 : 2, triggertime, 1050.0f); break; | ^~~~~~~~~ entities.cpp:54:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | case 5: renderent(e, "switch1", -0.15f, (float)e.attr3*90, (!e.spawned && !triggertime) ? 30 : 0, (e.spawned || !triggertime) ? 1 : 30, triggertime, 35.0f); break; | ^~~~~~~~~ entities.cpp: In function 'void checkitems()': entities.cpp:216:21: warning: narrowing conversion of 'e.entity::.persistent_entity::x' from 'short int' to 'float' [-Wnarrowing] 216 | vec v = { e.x, e.y, S(e.x, e.y)->floor+player1->eyeheight }; | ~~^ entities.cpp:216:26: warning: narrowing conversion of 'e.entity::.persistent_entity::y' from 'short int' to 'float' [-Wnarrowing] 216 | vec v = { e.x, e.y, S(e.x, e.y)->floor+player1->eyeheight }; | ~~^ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o main.o main.cpp In file included from cube.h:284, from main.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ main.cpp: In function 'void* alloc(int)': main.cpp:41:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | if(!b) fatal("out of memory!"); | ^~~~~~~~~~~~~~~~ main.cpp:41:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | if(!b) fatal("out of memory!"); | ~~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void screenshot()': main.cpp:53:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 53 | if(image = SDL_CreateRGBSurface(SDL_SWSURFACE, scr_w, scr_h, 24, 0x0000FF, 0x00FF00, 0xFF0000, 0)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:55:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 55 | if(temp = SDL_CreateRGBSurface(SDL_SWSURFACE, scr_w, scr_h, 24, 0x0000FF, 0x00FF00, 0xFF0000, 0)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main.cpp:3: main.cpp: At global scope: main.cpp:72:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | COMMAND(screenshot, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ main.cpp:72:1: note: in expansion of macro 'COMMAND' 72 | COMMAND(screenshot, ARG_NONE); | ^~~~~~~ main.cpp:73:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | COMMAND(quit, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ main.cpp:73:1: note: in expansion of macro 'COMMAND' 73 | COMMAND(quit, ARG_NONE); | ^~~~~~~ main.cpp:81:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | VARF(gamespeed, 10, 100, 1000, if(multiplayer()) gamespeed = 100); | ^ cube.h:257:89: note: in definition of macro 'VARF' 257 | #define VARF(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, false); void var_##name() { body; } | ^~~~ main.cpp:82:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | VARP(minmillis, 0, 5, 1000); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ main.cpp: In function 'int main(int, char**)': main.cpp:91:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; | ^~ main.cpp:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; | ^~ main.cpp:91:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; | ^~ main.cpp:122:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | if(SDL_Init(SDL_INIT_TIMER|SDL_INIT_VIDEO|par)<0) fatal("Unable to initialize SDL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:122:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | if(SDL_Init(SDL_INIT_TIMER|SDL_INIT_VIDEO|par)<0) fatal("Unable to initialize SDL"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:125:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | if(enet_initialize()<0) fatal("Unable to initialise network module"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:125:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | if(enet_initialize()<0) fatal("Unable to initialise network module"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:134:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | if(SDL_InitSubSystem(SDL_INIT_VIDEO)<0) fatal("Unable to initialize SDL Video"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:134:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | if(SDL_InitSubSystem(SDL_INIT_VIDEO)<0) fatal("Unable to initialize SDL Video"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:138:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | if(SDL_SetVideoMode(scr_w, scr_h, 0, SDL_OPENGL|fs)==NULL) fatal("Unable to create OpenGL screen"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:138:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | if(SDL_SetVideoMode(scr_w, scr_h, 0, SDL_OPENGL|fs)==NULL) fatal("Unable to create OpenGL screen"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:151:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | if(!installtex(2, path(newstring("data/newchars.png")), xs, ys) || | ^~~~~~~~~~~~~~~~~~~ main.cpp:152:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | !installtex(3, path(newstring("data/martin/base.png")), xs, ys) || | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:153:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | !installtex(6, path(newstring("data/martin/ball1.png")), xs, ys) || | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:154:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | !installtex(7, path(newstring("data/martin/smoke.png")), xs, ys) || | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:155:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | !installtex(8, path(newstring("data/martin/ball2.png")), xs, ys) || | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:156:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | !installtex(9, path(newstring("data/martin/ball3.png")), xs, ys) || | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:157:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | !installtex(4, path(newstring("data/explosion.jpg")), xs, ys) || | ^~~~~~~~~~~~~~~~~~~~ main.cpp:158:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | !installtex(5, path(newstring("data/items.png")), xs, ys) || | ^~~~~~~~~~~~~~~~ main.cpp:159:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | !installtex(1, path(newstring("data/crosshair.png")), xs, ys)) fatal("could not find core textures (hint: run cube from the parent of the bin directory)"); | ^~~~~~~~~~~~~~~~~~~~ main.cpp:159:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | !installtex(1, path(newstring("data/crosshair.png")), xs, ys)) fatal("could not find core textures (hint: run cube from the parent of the bin directory)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:159:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | !installtex(1, path(newstring("data/crosshair.png")), xs, ys)) fatal("could not find core textures (hint: run cube from the parent of the bin directory)"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:165:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | newmenu("frags\tpj\tping\tteam\tname"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:166:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | newmenu("ping\tplr\tserver"); | ^~~~~~~~~~~~~~~~~~~ main.cpp:167:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | exec("data/keymap.cfg"); | ^~~~~~~~~~~~~~~~~ main.cpp:168:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | exec("data/menus.cfg"); | ^~~~~~~~~~~~~~~~ main.cpp:169:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | exec("data/prefabs.cfg"); | ^~~~~~~~~~~~~~~~~~ main.cpp:170:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 170 | exec("data/sounds.cfg"); | ^~~~~~~~~~~~~~~~~ main.cpp:171:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | exec("servers.cfg"); | ^~~~~~~~~~~~~ main.cpp:172:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | if(!execfile("config.cfg")) execfile("data/defaults.cfg"); | ^~~~~~~~~~~~ main.cpp:172:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | if(!execfile("config.cfg")) execfile("data/defaults.cfg"); | ^~~~~~~~~~~~~~~~~~~ main.cpp:173:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | exec("autoexec.cfg"); | ^~~~~~~~~~~~~~ main.cpp:177:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 177 | changemap("metl3"); // if this map is changed, also change depthcorrect() | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o menus.o menus.cpp In file included from cube.h:284, from menus.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ menus.cpp: In function 'void menumanual(int, int, char*)': menus.cpp:99:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | mitem.action = ""; | ^~ In file included from menus.cpp:3: menus.cpp: At global scope: menus.cpp:110:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | COMMAND(menuitem, ARG_2STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ menus.cpp:110:1: note: in expansion of macro 'COMMAND' 110 | COMMAND(menuitem, ARG_2STR); | ^~~~~~~ menus.cpp:111:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | COMMAND(showmenu, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ menus.cpp:111:1: note: in expansion of macro 'COMMAND' 111 | COMMAND(showmenu, ARG_1STR); | ^~~~~~~ menus.cpp:112:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | COMMAND(newmenu, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ menus.cpp:112:1: note: in expansion of macro 'COMMAND' 112 | COMMAND(newmenu, ARG_1STR); | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o monster.o monster.cpp In file included from cube.h:284, from monster.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from monster.cpp:3: monster.cpp:8:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 8 | VARF(skill, 1, 3, 10, conoutf("skill is now %d", skill)); | ^ cube.h:257:89: note: in definition of macro 'VARF' 257 | #define VARF(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, false); void var_##name() { body; } | ^~~~ monster.cpp:25:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | { GUN_FIREBALL, 15, 100, 3, 0, 100, 800, 1, 10, 10, S_PAINO, S_DIE1, "an ogre", "monster/ogro" }, | ^~~~~~~~~ monster.cpp:25:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | { GUN_FIREBALL, 15, 100, 3, 0, 100, 800, 1, 10, 10, S_PAINO, S_DIE1, "an ogre", "monster/ogro" }, | ^~~~~~~~~~~~~~ monster.cpp:26:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 26 | { GUN_CG, 18, 70, 2, 70, 10, 400, 2, 8, 9, S_PAINR, S_DEATHR, "a rhino", "monster/rhino" }, | ^~~~~~~~~ monster.cpp:26:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 26 | { GUN_CG, 18, 70, 2, 70, 10, 400, 2, 8, 9, S_PAINR, S_DEATHR, "a rhino", "monster/rhino" }, | ^~~~~~~~~~~~~~~ monster.cpp:27:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | { GUN_SG, 14, 120, 1, 100, 300, 400, 4, 14, 14, S_PAINE, S_DEATHE, "ratamahatta", "monster/rat" }, | ^~~~~~~~~~~~~ monster.cpp:27:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | { GUN_SG, 14, 120, 1, 100, 300, 400, 4, 14, 14, S_PAINE, S_DEATHE, "ratamahatta", "monster/rat" }, | ^~~~~~~~~~~~~ monster.cpp:28:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | { GUN_RIFLE, 15, 200, 1, 80, 300, 300, 4, 18, 18, S_PAINS, S_DEATHS, "a slith", "monster/slith" }, | ^~~~~~~~~ monster.cpp:28:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | { GUN_RIFLE, 15, 200, 1, 80, 300, 300, 4, 18, 18, S_PAINS, S_DEATHS, "a slith", "monster/slith" }, | ^~~~~~~~~~~~~~~ monster.cpp:29:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | { GUN_RL, 13, 500, 1, 0, 100, 200, 6, 24, 24, S_PAINB, S_DEATHB, "bauul", "monster/bauul" }, | ^~~~~~~ monster.cpp:29:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | { GUN_RL, 13, 500, 1, 0, 100, 200, 6, 24, 24, S_PAINB, S_DEATHB, "bauul", "monster/bauul" }, | ^~~~~~~~~~~~~~~ monster.cpp:30:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | { GUN_BITE, 22, 50, 3, 0, 100, 400, 1, 12, 15, S_PAINP, S_PIGGR2, "a hellpig", "monster/hellpig" }, | ^~~~~~~~~~~ monster.cpp:30:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | { GUN_BITE, 22, 50, 3, 0, 100, 400, 1, 12, 15, S_PAINP, S_PIGGR2, "a hellpig", "monster/hellpig" }, | ^~~~~~~~~~~~~~~~~ monster.cpp:31:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | { GUN_ICEBALL, 12, 250, 1, 0, 10, 400, 6, 18, 18, S_PAINH, S_DEATHH, "a knight", "monster/knight" }, | ^~~~~~~~~~ monster.cpp:31:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | { GUN_ICEBALL, 12, 250, 1, 0, 10, 400, 6, 18, 18, S_PAINH, S_DEATHH, "a knight", "monster/knight" }, | ^~~~~~~~~~~~~~~~ monster.cpp:32:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | { GUN_SLIMEBALL, 15, 100, 1, 0, 200, 400, 2, 13, 10, S_PAIND, S_DEATHD, "a goblin", "monster/goblin" }, | ^~~~~~~~~~ monster.cpp:32:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | { GUN_SLIMEBALL, 15, 100, 1, 0, 200, 400, 2, 13, 10, S_PAIND, S_DEATHD, "a goblin", "monster/goblin" }, | ^~~~~~~~~~~~~~~~ monster.cpp: In function 'void monsterthink()': monster.cpp:314:21: warning: narrowing conversion of 'e.entity::.persistent_entity::x' from 'short int' to 'float' [-Wnarrowing] 314 | vec v = { e.x, e.y, S(e.x, e.y)->floor }; | ~~^ monster.cpp:314:26: warning: narrowing conversion of 'e.entity::.persistent_entity::y' from 'short int' to 'float' [-Wnarrowing] 314 | vec v = { e.x, e.y, S(e.x, e.y)->floor }; | ~~^ monster.cpp:314:42: warning: narrowing conversion of '(world + ((sizetype)(((unsigned int)((((int)e.entity::.persistent_entity::y) * ssize) + ((int)e.entity::.persistent_entity::x))) * 14)))->sqr::floor' from 'char' to 'float' [-Wnarrowing] 314 | vec v = { e.x, e.y, S(e.x, e.y)->floor }; make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o renderextras.o renderextras.cpp In file included from cube.h:284, from renderextras.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ renderextras.cpp: In function 'void renderspheres(int)': renderextras.cpp:110:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 110 | for(sphere *p, **pp = &slist; p = *pp;) | ~~^~~~~ renderextras.cpp: At global scope: renderextras.cpp:144:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | "none?", "light", "playerstart", | ^~~~~~~ renderextras.cpp:144:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | "none?", "light", "playerstart", | ^~~~~~~ renderextras.cpp:144:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | "none?", "light", "playerstart", | ^~~~~~~~~~~~~ renderextras.cpp:145:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | "shells", "bullets", "rockets", "riflerounds", | ^~~~~~~~ renderextras.cpp:145:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | "shells", "bullets", "rockets", "riflerounds", | ^~~~~~~~~ renderextras.cpp:145:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | "shells", "bullets", "rockets", "riflerounds", | ^~~~~~~~~ renderextras.cpp:145:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | "shells", "bullets", "rockets", "riflerounds", | ^~~~~~~~~~~~~ renderextras.cpp:146:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | "health", "healthboost", "greenarmour", "yellowarmour", "quaddamage", | ^~~~~~~~ renderextras.cpp:146:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | "health", "healthboost", "greenarmour", "yellowarmour", "quaddamage", | ^~~~~~~~~~~~~ renderextras.cpp:146:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | "health", "healthboost", "greenarmour", "yellowarmour", "quaddamage", | ^~~~~~~~~~~~~ renderextras.cpp:146:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | "health", "healthboost", "greenarmour", "yellowarmour", "quaddamage", | ^~~~~~~~~~~~~~ renderextras.cpp:146:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | "health", "healthboost", "greenarmour", "yellowarmour", "quaddamage", | ^~~~~~~~~~~~ renderextras.cpp:147:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | "teleport", "teledest", | ^~~~~~~~~~ renderextras.cpp:147:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | "teleport", "teledest", | ^~~~~~~~~~ renderextras.cpp:148:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | "mapmodel", "monster", "trigger", "jumppad", | ^~~~~~~~~~ renderextras.cpp:148:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | "mapmodel", "monster", "trigger", "jumppad", | ^~~~~~~~~ renderextras.cpp:148:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | "mapmodel", "monster", "trigger", "jumppad", | ^~~~~~~~~ renderextras.cpp:148:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | "mapmodel", "monster", "trigger", "jumppad", | ^~~~~~~~~ renderextras.cpp:149:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | "?", "?", "?", "?", "?", | ^~~ renderextras.cpp:149:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | "?", "?", "?", "?", "?", | ^~~ renderextras.cpp:149:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | "?", "?", "?", "?", "?", | ^~~ renderextras.cpp:149:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | "?", "?", "?", "?", "?", | ^~~ renderextras.cpp:149:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | "?", "?", "?", "?", "?", | ^~~ renderextras.cpp: In function 'void renderents()': renderextras.cpp:160:21: warning: narrowing conversion of 'e.entity::.persistent_entity::x' from 'short int' to 'float' [-Wnarrowing] 160 | vec v = { e.x, e.y, e.z }; | ~~^ renderextras.cpp:160:26: warning: narrowing conversion of 'e.entity::.persistent_entity::y' from 'short int' to 'float' [-Wnarrowing] 160 | vec v = { e.x, e.y, e.z }; | ~~^ renderextras.cpp:160:31: warning: narrowing conversion of 'e.entity::.persistent_entity::z' from 'short int' to 'float' [-Wnarrowing] 160 | vec v = { e.x, e.y, e.z }; | ~~^ renderextras.cpp:167:152: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | sprintf_s(closeent)("closest entity = %s (%d, %d, %d, %d), selection = (%d, %d)", entnames[c.type], c.attr1, c.attr2, c.attr3, c.attr4, getvar("selxs"), getvar("selys")); | ^~~~~~~ renderextras.cpp:167:169: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | sprintf_s(closeent)("closest entity = %s (%d, %d, %d, %d), selection = (%d, %d)", entnames[c.type], c.attr1, c.attr2, c.attr3, c.attr4, getvar("selxs"), getvar("selys")); | ^~~~~~~ renderextras.cpp: In function 'void loadsky(char*)': renderextras.cpp:175:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | char *side[] = { "ft", "bk", "lf", "rt", "dn", "up" }; | ^~~~ renderextras.cpp:175:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | char *side[] = { "ft", "bk", "lf", "rt", "dn", "up" }; | ^~~~ renderextras.cpp:175:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | char *side[] = { "ft", "bk", "lf", "rt", "dn", "up" }; | ^~~~ renderextras.cpp:175:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | char *side[] = { "ft", "bk", "lf", "rt", "dn", "up" }; | ^~~~ renderextras.cpp:175:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | char *side[] = { "ft", "bk", "lf", "rt", "dn", "up" }; | ^~~~ renderextras.cpp:175:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | char *side[] = { "ft", "bk", "lf", "rt", "dn", "up" }; | ^~~~ In file included from renderextras.cpp:3: renderextras.cpp: At global scope: renderextras.cpp:186:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | COMMAND(loadsky, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ renderextras.cpp:186:1: note: in expansion of macro 'COMMAND' 186 | COMMAND(loadsky, ARG_1STR); | ^~~~~~~ renderextras.cpp:257:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 257 | VARP(crosshairsize, 0, 15, 50); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ renderextras.cpp:262:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 262 | VAR(hidestats, 0, 0, 1); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ renderextras.cpp:263:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | VARP(crosshairfx, 0, 1, 1); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ renderextras.cpp: In function 'void gl_drawhud(int, int, int, int, int, bool)': renderextras.cpp:303:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 303 | if(command) draw_textf("> %s_", 20, 1570, 2, command); | ^~~~~~~ renderextras.cpp:339:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 339 | draw_textf("fps %d", 3200, 2390, 2, curfps); | ^~~~~~~~ renderextras.cpp:340:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 340 | draw_textf("wqd %d", 3200, 2460, 2, nquads); | ^~~~~~~~ renderextras.cpp:341:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 341 | draw_textf("wvt %d", 3200, 2530, 2, curvert); | ^~~~~~~~ renderextras.cpp:342:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 342 | draw_textf("evt %d", 3200, 2600, 2, xtraverts); | ^~~~~~~~ renderextras.cpp:351:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 351 | draw_textf("%d", 90, 827, 2, player1->health); | ^~~~ renderextras.cpp:352:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | if(player1->armour) draw_textf("%d", 390, 827, 2, player1->armour); | ^~~~ renderextras.cpp:353:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 353 | draw_textf("%d", 690, 827, 2, player1->ammo[player1->gunselect]); | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o rendercubes.o rendercubes.cpp In file included from cube.h:284, from rendercubes.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ rendercubes.cpp: In function 'void reallocv()': rendercubes.cpp:20:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | if(!verts) fatal("no vertex memory!"); | ^~~~~~~~~~~~~~~~~~~ rendercubes.cpp:20:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | if(!verts) fatal("no vertex memory!"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from rendercubes.cpp:3: rendercubes.cpp: At global scope: rendercubes.cpp:48:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | COMMAND(showmip, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ rendercubes.cpp:48:1: note: in expansion of macro 'COMMAND' 48 | COMMAND(showmip, ARG_NONE); | ^~~~~~~ rendercubes.cpp:54:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | VAR(lighterror,1,8,100); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ rendercubes.cpp:266:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 266 | VAR(watersubdiv, 1, 4, 64); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ rendercubes.cpp:267:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 267 | VARF(waterlevel, -128, -128, 127, if(!noteditmode()) hdr.waterlevel = waterlevel); | ^ cube.h:257:89: note: in definition of macro 'VARF' 257 | #define VARF(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, false); void var_##name() { body; } | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o physics.o physics.cpp In file included from cube.h:284, from physics.cpp:6: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ physics.cpp: In function 'void mmcollide(dynent*, float&, float&)': physics.cpp:50:13: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] 50 | if(!&mmi || !mmi.h) continue; | ^~~~ physics.cpp: In function 'bool collide(dynent*, bool, float, float)': physics.cpp:92:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 92 | if(x==x1 && y==y1 && cornertest(0, x, y, -1, -1, bx, by, bs) && fx1-bx+fy1-by<=bs | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ physics.cpp:94:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 94 | || x==x1 && y==y2 && cornertest(0, x, y, -1, 1, bx, by, bs) && fx1-bx<=fy2-by | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ physics.cpp:95:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 95 | || x==x2 && y==y2 && cornertest(0, x, y, 1, 1, bx, by, bs) && fx2-bx+fy2-by>=bs) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from physics.cpp:6: physics.cpp: At global scope: physics.cpp:165:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | VARP(maxroll, 0, 3, 20); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o rendermd2.o rendermd2.cpp In file included from cube.h:284, from rendermd2.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ rendermd2.cpp: In function 'void delayedload(md2*)': rendermd2.cpp:203:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 203 | if(!m->load(path(name1))) fatal("loadmodel: ", name1); | ^~~~~~~~~~~~~ rendermd2.cpp: In function 'md2* loadmodel(char*)': rendermd2.cpp:220:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 220 | mapmodelinfo mmi = { 2, 2, 0, 0, "" }; | ^~ In file included from rendermd2.cpp:3: rendermd2.cpp: At global scope: rendermd2.cpp:239:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 239 | COMMAND(mapmodel, ARG_5STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ rendermd2.cpp:239:1: note: in expansion of macro 'COMMAND' 239 | COMMAND(mapmodel, ARG_5STR); | ^~~~~~~ rendermd2.cpp:240:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 240 | COMMAND(mapmodelreset, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ rendermd2.cpp:240:1: note: in expansion of macro 'COMMAND' 240 | COMMAND(mapmodelreset, ARG_NONE); | ^~~~~~~ In file included from cube.h:3, from rendermd2.cpp:3: tools.h: In instantiation of 'T* hashtable::access(char*, T*) [with T = md2*]': rendermd2.cpp:216:33: required from here tools.h:247:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 247 | for(int i = 0, k; k = key[i]; i++) h = ((h<<5)+h)^k; // bernstein k=33 xor | ~~^~~~~~~~ rendermd2.cpp: In member function 'bool md2::load(char*)': rendermd2.cpp:71:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fread(&header, sizeof(md2_header), 1, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rendermd2.cpp:80:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | fread(frames, header.frameSize*header.numFrames, 1, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rendermd2.cpp:91:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | fread(glCommands, header.numGlCommands*sizeof(int), 1, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o rendergl.o rendergl.cpp In file included from cube.h:284, from rendergl.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ rendergl.cpp: In function 'void gl_init(int, int)': rendergl.cpp:56:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | if(!(qsphere = gluNewQuadric())) fatal("glu sphere"); | ^~~~~~~~~~~~ rendergl.cpp:56:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | if(!(qsphere = gluNewQuadric())) fatal("glu sphere"); | ~~~~~^~~~~~~~~~~~~~ rendergl.cpp: In function 'bool installtex(int, char*, int&, int&, bool)': rendergl.cpp:93:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | if(gluBuild2DMipmaps(GL_TEXTURE_2D, GL_RGB, xs, ys, GL_RGB, GL_UNSIGNED_BYTE, scaledimg)) fatal("could not build mipmaps"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ rendergl.cpp:93:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | if(gluBuild2DMipmaps(GL_TEXTURE_2D, GL_RGB, xs, ys, GL_RGB, GL_UNSIGNED_BYTE, scaledimg)) fatal("could not build mipmaps"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rendergl.cpp:3: rendergl.cpp: At global scope: rendergl.cpp:134:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | COMMAND(texturereset, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ rendergl.cpp:134:1: note: in expansion of macro 'COMMAND' 134 | COMMAND(texturereset, ARG_NONE); | ^~~~~~~ rendergl.cpp:135:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | COMMAND(texture, ARG_2STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ rendergl.cpp:135:1: note: in expansion of macro 'COMMAND' 135 | COMMAND(texture, ARG_2STR); | ^~~~~~~ rendergl.cpp: In function 'int lookuptexture(int, int&, int&)': rendergl.cpp:163:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | if(curtex==MAXTEX) fatal("loaded too many textures"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rendergl.cpp:163:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | if(curtex==MAXTEX) fatal("loaded too many textures"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rendergl.cpp:3: rendergl.cpp: At global scope: rendergl.cpp:243:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 243 | }); | ^ cube.h:258:89: note: in definition of macro 'VARFP' 258 | #define VARFP(name, min, cur, max, body) void var_##name(); static int name = variable(#name, min, cur, max, &name, var_##name, true); void var_##name() { body; } | ^~~~ In file included from rendergl.cpp:3: rendergl.cpp:256:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 256 | VARP(fov, 10, 105, 120); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ rendergl.cpp:260:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 260 | VAR(fog, 64, 180, 1024); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ rendergl.cpp:261:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 261 | VAR(fogcolour, 0, 0x8099B3, 0xFFFFFF); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ rendergl.cpp:263:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | VARP(hudgun,0,1,1); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ rendergl.cpp:265:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | char *hudgunnames[] = { "hudguns/fist", "hudguns/shotg", "hudguns/chaing", "hudguns/rocket", "hudguns/rifle" }; | ^~~~~~~~~~~~~~ rendergl.cpp:265:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | char *hudgunnames[] = { "hudguns/fist", "hudguns/shotg", "hudguns/chaing", "hudguns/rocket", "hudguns/rifle" }; | ^~~~~~~~~~~~~~~ rendergl.cpp:265:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | char *hudgunnames[] = { "hudguns/fist", "hudguns/shotg", "hudguns/chaing", "hudguns/rocket", "hudguns/rifle" }; | ^~~~~~~~~~~~~~~~ rendergl.cpp:265:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | char *hudgunnames[] = { "hudguns/fist", "hudguns/shotg", "hudguns/chaing", "hudguns/rocket", "hudguns/rifle" }; | ^~~~~~~~~~~~~~~~ rendergl.cpp:265:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | char *hudgunnames[] = { "hudguns/fist", "hudguns/shotg", "hudguns/chaing", "hudguns/rocket", "hudguns/rifle" }; | ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o renderparticles.o renderparticles.cpp In file included from cube.h:284, from renderparticles.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from renderparticles.cpp:3: renderparticles.cpp:11:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 11 | VARP(maxparticles, 100, 2000, MAXPARTICLES-500); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ renderparticles.cpp:38:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | VAR(demotracking, 0, 0, 1); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ renderparticles.cpp:39:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | VARP(particlesize, 20, 100, 500); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ renderparticles.cpp: In function 'void render_particles(int)': renderparticles.cpp:73:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 73 | for(particle *p, **pp = &parlist; p = *pp;) | ~~^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o rndmap.o rndmap.cpp In file included from cube.h:284, from rndmap.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o rendertext.o rendertext.cpp In file included from cube.h:284, from rendertext.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o savegamedemo.o savegamedemo.cpp In file included from cube.h:284, from savegamedemo.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ savegamedemo.cpp: In function 'void gzcheck(int, int)': savegamedemo.cpp:20:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | void gzcheck(int a, int b) { if(a!=b) fatal("savegame file corrupt (short)"); }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegamedemo.cpp:20:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | void gzcheck(int a, int b) { if(a!=b) fatal("savegame file corrupt (short)"); }; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from savegamedemo.cpp:3: savegamedemo.cpp: At global scope: savegamedemo.cpp:214:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 214 | VAR(demoplaybackspeed, 10, 100, 1000); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ savegamedemo.cpp:239:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 239 | VAR(demodelaymsec, 0, 120, 500); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ savegamedemo.cpp: In function 'void demoplaybackstep()': savegamedemo.cpp:285:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 285 | if(extras = gzget()) // read additional client side state not present in normal network stream | ~~~~~~~^~~~~~~~~ savegamedemo.cpp:297:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 297 | if(bdamage = gzgeti()) damageblend(bdamage); | ~~~~~~~~^~~~~~~~~~ savegamedemo.cpp:298:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 298 | if(ddamage = gzgeti()) { gzgetv(dorig); particle_splash(3, ddamage, 1000, dorig); }; | ~~~~~~~~^~~~~~~~~~ In file included from savegamedemo.cpp:3: savegamedemo.cpp: At global scope: savegamedemo.cpp:355:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 355 | COMMAND(record, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ savegamedemo.cpp:355:1: note: in expansion of macro 'COMMAND' 355 | COMMAND(record, ARG_1STR); | ^~~~~~~ savegamedemo.cpp:356:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 356 | COMMAND(demo, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ savegamedemo.cpp:356:1: note: in expansion of macro 'COMMAND' 356 | COMMAND(demo, ARG_1STR); | ^~~~~~~ savegamedemo.cpp:357:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 357 | COMMANDN(stop, stopn, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ savegamedemo.cpp:359:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 359 | COMMAND(savegame, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ savegamedemo.cpp:359:1: note: in expansion of macro 'COMMAND' 359 | COMMAND(savegame, ARG_1STR); | ^~~~~~~ savegamedemo.cpp:360:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 360 | COMMAND(loadgame, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ savegamedemo.cpp:360:1: note: in expansion of macro 'COMMAND' 360 | COMMAND(loadgame, ARG_1STR); | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o serverbrowser.o serverbrowser.cpp In file included from cube.h:284, from serverbrowser.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from serverbrowser.cpp:3: serverbrowser.cpp:290:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 290 | COMMAND(addserver, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ serverbrowser.cpp:290:1: note: in expansion of macro 'COMMAND' 290 | COMMAND(addserver, ARG_1STR); | ^~~~~~~ serverbrowser.cpp:291:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | COMMAND(servermenu, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ serverbrowser.cpp:291:1: note: in expansion of macro 'COMMAND' 291 | COMMAND(servermenu, ARG_NONE); | ^~~~~~~ serverbrowser.cpp:292:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 292 | COMMAND(updatefrommaster, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ serverbrowser.cpp:292:1: note: in expansion of macro 'COMMAND' 292 | COMMAND(updatefrommaster, ARG_NONE); | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o serverutil.o serverutil.cpp In file included from cube.h:284, from serverutil.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o tools.o tools.cpp tools.cpp: In function 'char* path(char*)': tools.cpp:105:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 105 | for(char *t = s; t = strpbrk(t, "/\\"); *t++ = PATHDIV); | ~~^~~~~~~~~~~~~~~~~~~ tools.cpp: In function 'char* loadfile(char*, int*)': tools.cpp:121:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 121 | if(len!=rlen || len<=0) | ~~~^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o serverms.o serverms.cpp In file included from cube.h:284, from serverms.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ serverms.cpp: In function 'void updatemasterserver(int)': serverms.cpp:65:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | httpgetsend(masterserver, masterbase, path, "cubeserver", "Cube Server"); | ^~~~~~~~~~~~ serverms.cpp:65:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | httpgetsend(masterserver, masterbase, path, "cubeserver", "Cube Server"); | ^~~~~~~~~~~~~ serverms.cpp: In function 'uchar* retrieveservers(uchar*, int)': serverms.cpp:83:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | httpgetsend(masterserver, masterbase, path, "cubeserver", "Cube Server"); | ^~~~~~~~~~~~ serverms.cpp:83:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | httpgetsend(masterserver, masterbase, path, "cubeserver", "Cube Server"); | ^~~~~~~~~~~~~ serverms.cpp: In function 'void servermsinit(const char*, char*, bool)': serverms.cpp:139:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | if(pongsock == ENET_SOCKET_NULL) fatal("could not create server info socket\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serverms.cpp:139:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | if(pongsock == ENET_SOCKET_NULL) fatal("could not create server info socket\n"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o sound.o sound.cpp In file included from cube.h:284, from sound.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from sound.cpp:3: sound.cpp:9:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | VARP(soundvol, 0, 255, 255); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ sound.cpp:10:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 10 | VARP(musicvol, 0, 128, 255); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ sound.cpp:52:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | VAR(soundbufferlen, 128, 1024, 4096); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ sound.cpp: In function 'void music(char*)': sound.cpp:84:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 84 | if(mod = Mix_LoadMUS(path(sn))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from sound.cpp:3: sound.cpp: At global scope: sound.cpp:108:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | COMMAND(music, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ sound.cpp:108:1: note: in expansion of macro 'COMMAND' 108 | COMMAND(music, ARG_1STR); | ^~~~~~~ sound.cpp:126:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | COMMAND(registersound, ARG_1EST); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ sound.cpp:126:1: note: in expansion of macro 'COMMAND' 126 | COMMAND(registersound, ARG_1EST); | ^~~~~~~ sound.cpp:139:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | VAR(stereo, 0, 1, 1); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ sound.cpp:226:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 226 | COMMAND(sound, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ sound.cpp:226:1: note: in expansion of macro 'COMMAND' 226 | COMMAND(sound, ARG_1INT); | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o server.o server.cpp In file included from cube.h:284, from server.cpp:4: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ server.cpp:46:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | char *serverpassword = ""; | ^~ server.cpp: In function 'bool vote(char*, int, int)': server.cpp:144:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | sendservmsg("vote passed"); | ^~~~~~~~~~~~~ server.cpp: In function 'void process(ENetPacket*, int)': server.cpp:156:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | disconnect_client(sender, "packet length"); | ^~~~~~~~~~~~~~~ server.cpp:224:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | disconnect_client(sender, "client num"); | ^~~~~~~~~~~~ server.cpp:254:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 254 | if(size==-1) { disconnect_client(sender, "tag type"); return; }; | ^~~~~~~~~~ server.cpp:259:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 259 | if(p>end) { disconnect_client(sender, "end of packet"); return; }; | ^~~~~~~~~~~~~~~ server.cpp: In function 'void serverslice(int, unsigned int)': server.cpp:384:15: warning: enumeration value 'ENET_EVENT_TYPE_NONE' not handled in switch [-Wswitch] 384 | switch(event.type) | ^ server.cpp:415:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 415 | disconnect_client(lastconnect, "maxclients reached"); | ^~~~~~~~~~~~~~~~~~~~ server.cpp: In function 'void initserver(bool, int, char*, char*, char*, char*, int)': server.cpp:447:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 447 | if(isdedicated = dedicated) | ~~~~~~~~~~~~^~~~~~~~~~~ server.cpp:452:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 452 | if(!serverhost) fatal("could not create server host\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.cpp:452:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 452 | if(!serverhost) fatal("could not create server host\n"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o world.o world.cpp In file included from cube.h:284, from world.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from world.cpp:3: world.cpp:52:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | COMMAND(trigger, ARG_2INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ world.cpp:52:1: note: in expansion of macro 'COMMAND' 52 | COMMAND(trigger, ARG_2INT); | ^~~~~~~ world.cpp: In function 'void remip(block&, int)': world.cpp:63:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | int lighterr = getvar("lighterror")*3; | ^~~~~~~~~~~~ world.cpp: In function 'int closestent()': world.cpp:170:21: warning: narrowing conversion of 'e.entity::.persistent_entity::x' from 'short int' to 'float' [-Wnarrowing] 170 | vec v = { e.x, e.y, e.z }; | ~~^ world.cpp:170:26: warning: narrowing conversion of 'e.entity::.persistent_entity::y' from 'short int' to 'float' [-Wnarrowing] 170 | vec v = { e.x, e.y, e.z }; | ~~^ world.cpp:170:31: warning: narrowing conversion of 'e.entity::.persistent_entity::z' from 'short int' to 'float' [-Wnarrowing] 170 | vec v = { e.x, e.y, e.z }; | ~~^ world.cpp: In function 'entity* newentity(int, int, int, char*, int, int, int, int)': world.cpp:215:29: warning: narrowing conversion of 'x' from 'int' to 'short int' [-Wnarrowing] 215 | persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; | ^ world.cpp:215:32: warning: narrowing conversion of 'y' from 'int' to 'short int' [-Wnarrowing] 215 | persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; | ^ world.cpp:215:35: warning: narrowing conversion of 'z' from 'int' to 'short int' [-Wnarrowing] 215 | persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; | ^ world.cpp:215:38: warning: narrowing conversion of 'v1' from 'int' to 'short int' [-Wnarrowing] 215 | persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; | ^~ world.cpp:215:42: warning: narrowing conversion of 'type' from 'int' to 'uchar' {aka 'unsigned char'} [-Wnarrowing] 215 | persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; | ^~~~ world.cpp:215:48: warning: narrowing conversion of 'v2' from 'int' to 'uchar' {aka 'unsigned char'} [-Wnarrowing] 215 | persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; | ^~ world.cpp:215:52: warning: narrowing conversion of 'v3' from 'int' to 'uchar' {aka 'unsigned char'} [-Wnarrowing] 215 | persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; | ^~ world.cpp:215:56: warning: narrowing conversion of 'v4' from 'int' to 'uchar' {aka 'unsigned char'} [-Wnarrowing] 215 | persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; | ^~ In file included from world.cpp:3: world.cpp: At global scope: world.cpp:252:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 252 | COMMAND(clearents, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ world.cpp:252:1: note: in expansion of macro 'COMMAND' 252 | COMMAND(clearents, ARG_1STR); | ^~~~~~~ world.cpp:280:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | COMMAND(scalelights, ARG_2INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ world.cpp:280:1: note: in expansion of macro 'COMMAND' 280 | COMMAND(scalelights, ARG_2INT); | ^~~~~~~ world.cpp: In function 'void empty_world(int, bool)': world.cpp:355:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 355 | startmap("base/unnamed"); | ^~~~~~~~~~~~~~ world.cpp:360:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 360 | execute("fullbright 1"); | ^~~~~~~~~~~~~~ In file included from world.cpp:3: world.cpp: At global scope: world.cpp:367:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | COMMAND(mapenlarge, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ world.cpp:367:1: note: in expansion of macro 'COMMAND' 367 | COMMAND(mapenlarge, ARG_NONE); | ^~~~~~~ world.cpp:368:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 368 | COMMAND(newmap, ARG_1INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ world.cpp:368:1: note: in expansion of macro 'COMMAND' 368 | COMMAND(newmap, ARG_1INT); | ^~~~~~~ world.cpp:369:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 369 | COMMANDN(recalc, calclight, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ world.cpp:370:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | COMMAND(delent, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ world.cpp:370:1: note: in expansion of macro 'COMMAND' 370 | COMMAND(delent, ARG_NONE); | ^~~~~~~ world.cpp:371:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 371 | COMMAND(entproperty, ARG_2INT); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ world.cpp:371:1: note: in expansion of macro 'COMMAND' 371 | COMMAND(entproperty, ARG_2INT); | ^~~~~~~ In file included from /usr/include/string.h:532, from tools.h:16, from cube.h:3, from world.cpp:3: In function 'strncpy', inlined from 'empty_world(int, bool)' at world.cpp:326:12: /usr/include/bits/string_fortified.h:91:34: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o weapon.o weapon.cpp In file included from cube.h:284, from weapon.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ weapon.cpp:14:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 14 | { S_PUNCH1, 250, 50, 0, 0, 1, "fist" }, | ^~~~~~ weapon.cpp:15:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 15 | { S_SG, 1400, 10, 0, 0, 20, "shotgun" }, // *SGRAYS | ^~~~~~~~~ weapon.cpp:16:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | { S_CG, 100, 30, 0, 0, 7, "chaingun" }, | ^~~~~~~~~~ weapon.cpp:17:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | { S_RLFIRE, 800, 120, 80, 0, 10, "rocketlauncher" }, | ^~~~~~~~~~~~~~~~ weapon.cpp:18:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 18 | { S_RIFLE, 1500, 100, 0, 0, 30, "rifle" }, | ^~~~~~~ weapon.cpp:19:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | { S_FLAUNCH, 200, 20, 50, 4, 1, "fireball" }, | ^~~~~~~~~~ weapon.cpp:20:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | { S_ICEBALL, 200, 40, 30, 6, 1, "iceball" }, | ^~~~~~~~~ weapon.cpp:21:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 21 | { S_SLIMEBALL, 200, 30, 160, 7, 1, "slimeball" }, | ^~~~~~~~~~~ weapon.cpp:22:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | { S_PIGR1, 250, 50, 0, 0, 1, "bite" }, | ^~~~~~ In file included from weapon.cpp:3: weapon.cpp:51:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | COMMAND(weapon, ARG_3STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ weapon.cpp:51:1: note: in expansion of macro 'COMMAND' 51 | COMMAND(weapon, ARG_3STR); | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o worldio.o worldio.cpp In file included from cube.h:284, from worldio.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ worldio.cpp: In function 'void load_world(char*)': worldio.cpp:219:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 219 | if(strncmp(hdr.head, "CUBE", 4)!=0) fatal("while reading map: header malformatted"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worldio.cpp:219:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 219 | if(strncmp(hdr.head, "CUBE", 4)!=0) fatal("while reading map: header malformatted"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worldio.cpp:220:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 220 | if(hdr.version>MAPVERSION) fatal("this map requires a newer version of cube"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worldio.cpp:220:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 220 | if(hdr.version>MAPVERSION) fatal("this map requires a newer version of cube"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worldio.cpp:221:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 221 | if(sfactorLARGEST_FACTOR) fatal("illegal map size"); | ^~~~~~~~~~~~~~~~~~ worldio.cpp:221:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 221 | if(sfactorLARGEST_FACTOR) fatal("illegal map size"); | ~~~~~^~~~~~~~~~~~~~~~~~~~ worldio.cpp:288:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 288 | fatal("while reading map: type out of range: ", t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worldio.cpp:320:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 320 | if(identexists(aliasname)) alias(aliasname, ""); | ^~ worldio.cpp:322:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 322 | execfile("data/default_map_settings.cfg"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from worldio.cpp:3: worldio.cpp: At global scope: worldio.cpp:327:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 327 | COMMANDN(savemap, save_world, ARG_1STR); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o worldocull.o worldocull.cpp In file included from cube.h:284, from worldocull.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from worldocull.cpp:3: worldocull.cpp:13:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 13 | COMMAND(toggleocull, ARG_NONE); | ^ cube.h:253:76: note: in definition of macro 'COMMANDN' 253 | #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) | ^~~~ worldocull.cpp:13:1: note: in expansion of macro 'COMMAND' 13 | COMMAND(toggleocull, ARG_NONE); | ^~~~~~~ worldocull.cpp: In function 'void computeraytable(float, float)': worldocull.cpp:22:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | odist = getvar("fog")*1.5f; | ^~~~~ worldocull.cpp:25:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | float af = getvar("fov")/2+apitch/1.5f+3; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o worldlight.o worldlight.cpp In file included from cube.h:284, from worldlight.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ In file included from worldlight.cpp:3: worldlight.cpp:7:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7 | VAR(lightscale,1,4,100); | ^ cube.h:256:56: note: in definition of macro 'VAR' 256 | #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) | ^~~~ worldlight.cpp: In function 'void calclight()': worldlight.cpp:157:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | setvar("fullbright", 0); | ^~~~~~~~~~~~ In file included from worldlight.cpp:3: worldlight.cpp: At global scope: worldlight.cpp:160:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | VARP(dynlight, 0, 16, 32); | ^ cube.h:255:56: note: in definition of macro 'VARP' 255 | #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) | ^~~~ worldlight.cpp: In function 'void dodynlight(vec&, vec&, int, int, dynent*)': worldlight.cpp:191:29: warning: narrowing conversion of '(int)v->vec::x' from 'int' to 'short int' [-Wnarrowing] 191 | persistent_entity l = { (int)v.x, (int)v.y, (int)v.z, reach, LIGHT, strength, 0, 0 }; | ^~~~~~~~ worldlight.cpp:191:39: warning: narrowing conversion of '(int)v->vec::y' from 'int' to 'short int' [-Wnarrowing] 191 | persistent_entity l = { (int)v.x, (int)v.y, (int)v.z, reach, LIGHT, strength, 0, 0 }; | ^~~~~~~~ worldlight.cpp:191:49: warning: narrowing conversion of '(int)v->vec::z' from 'int' to 'short int' [-Wnarrowing] 191 | persistent_entity l = { (int)v.x, (int)v.y, (int)v.z, reach, LIGHT, strength, 0, 0 }; | ^~~~~~~~ worldlight.cpp:191:59: warning: narrowing conversion of 'reach' from 'int' to 'short int' [-Wnarrowing] 191 | persistent_entity l = { (int)v.x, (int)v.y, (int)v.z, reach, LIGHT, strength, 0, 0 }; | ^~~~~ worldlight.cpp:191:73: warning: narrowing conversion of 'strength' from 'int' to 'uchar' {aka 'unsigned char'} [-Wnarrowing] 191 | persistent_entity l = { (int)v.x, (int)v.y, (int)v.z, reach, LIGHT, strength, 0, 0 }; | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -c -o worldrender.o worldrender.cpp In file included from cube.h:284, from worldrender.cpp:4: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -DSTANDALONE -o standalone.o -c serverutil.cpp In file included from cube.h:284, from serverutil.cpp:3: protos.h:127:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | extern void fatal(char *s, char *o = ""); | ^ serverutil.cpp: In function 'void* alloc(int)': serverutil.cpp:94:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | void *alloc(int s) { void *b = calloc(1,s); if(!b) fatal("no memory!"); return b; }; | ^~~~~~~~~~~~ serverutil.cpp:94:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | void *alloc(int s) { void *b = calloc(1,s); if(!b) fatal("no memory!"); return b; }; | ~~~~~^~~~~~~~~~~~~~ serverutil.cpp: In function 'int main(int, char**)': serverutil.cpp:99:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; | ^~ serverutil.cpp:99:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; | ^~ serverutil.cpp:99:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; | ^~ serverutil.cpp:116:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | if(enet_initialize()<0) fatal("Unable to initialise network module"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serverutil.cpp:116:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | if(enet_initialize()<0) fatal("Unable to initialise network module"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -o cube_server standalone.o serverms.o server.o tools.o -L../enet -lenet make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fsigned-char -I../enet/include `sdl-config --cflags` -o cube_client client.o clientextras.o clientgame.o clients2c.o command.o console.o editing.o entities.o main.o menus.o monster.o physics.o rendercubes.o renderextras.o rendergl.o rendermd2.o renderparticles.o rendertext.o rndmap.o savegamedemo.o server.o serverbrowser.o serverms.o serverutil.o sound.o tools.o weapon.o world.o worldio.o worldlight.o worldocull.o worldrender.o -L../enet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU -lX11 make: Leaving directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.86116 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/cube3d-buildroot + : + /bin/rm -rf -- /usr/src/tmp/cube3d-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd cube-src-2005.08.29 + install -pD -m755 src/cube_client /usr/src/tmp/cube3d-buildroot/usr/games/cube_client + install -pD -m755 src/cube_server /usr/src/tmp/cube3d-buildroot/usr/games/cube_server + install -pD -m755 cube3d.sh /usr/src/tmp/cube3d-buildroot/usr/games/cube3d + install -m755 -d /usr/src/tmp/cube3d-buildroot/usr/share/applications/ + cat + desktop-file-install --dir /usr/src/tmp/cube3d-buildroot/usr/share/applications --remove-category=Action --add-category=ActionGame /usr/src/tmp/cube3d-buildroot/usr/share/applications/cube3d.desktop + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/cube3d-buildroot (auto) Verifying and fixing files in /usr/src/tmp/cube3d-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/cube3d-buildroot/ (default) Compressing files in /usr/src/tmp/cube3d-buildroot (auto) Verifying ELF objects in /usr/src/tmp/cube3d-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/games/cube_server: uses non-LFS functions: fcntl verify-elf: WARNING: ./usr/games/cube_client: uses non-LFS functions: fcntl fopen Processing files: cube3d-2005.08.29-alt2.qa3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.86116 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cube-src-2005.08.29 + DOCDIR=/usr/src/tmp/cube3d-buildroot/usr/share/doc/cube3d + export DOCDIR + /bin/mkdir -p /usr/src/tmp/cube3d-buildroot/usr/share/doc/cube3d + cp -prL readme.txt /usr/src/tmp/cube3d-buildroot/usr/share/doc/cube3d + chmod -R go-w /usr/src/tmp/cube3d-buildroot/usr/share/doc/cube3d + chmod -R a+rX /usr/src/tmp/cube3d-buildroot/usr/share/doc/cube3d + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3nhEOh find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AUrkKj find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: cp ln mkdir Requires: cube3d-data >= 2005, /bin/sh, /lib/ld-linux.so.2, coreutils, libGL.so.1 >= set:pjdsTwt1StpUwWA49a15e0ibi7T24ZJPt4h5zDyo87ZeifjXQcu8HhszmG5PuL1jYfZmHGA5toZnB2Sgg0dK2ocwQ71Rd0M5CrNDIpzFbloewyUDEbxLK2g6Ro2aWdpU2YCMLKPok56OW8CZlePgyZ1sqE9JAX0cMagVoK6BdZqraX9uXb0, libGLU.so.1 >= set:jf2WETbUdzh8jFW1w8HWwpbOL4, libSDL-1.2.so.0 >= set:lgh4FqZ1QGvKkPDX3tJgi1ZG9TREIIGOZEoNbG2I0ZsoL9NKMZF7peBNOnmQB1Z4i92iGjy9iTNeffj0, libSDL_image-1.2.so.0 >= set:jifK3, libSDL_mixer-1.2.so.0 >= set:kgIdCOqKEupQY3CJN8sqedRO7p7WxkxEcp, libX11.so.6 >= set:omNQNN6cW, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.2), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libz.so.1 >= set:khU3OnBq0dZE5LwrS9i18, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KfBX6k Creating cube3d-debuginfo package Processing files: cube3d-debuginfo-2005.08.29-alt2.qa3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.P866Uh find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8ZS1Vl find-requires: running scripts (debuginfo) Requires: cube3d = 2005.08.29-alt2.qa3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libSDL_image-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libX11.so.6), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6), debug(libz.so.1) Wrote: /usr/src/RPM/RPMS/i586/cube3d-2005.08.29-alt2.qa3.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/cube3d-debuginfo-2005.08.29-alt2.qa3.i586.rpm (w2.lzdio) 21.16user 3.07system 0:19.08elapsed 127%CPU (0avgtext+0avgdata 49636maxresident)k 0inputs+0outputs (0major+1088497minor)pagefaults 0swaps /.out/cube3d-2005.08.29-alt2.qa3.i586.rpm: license not found in '/usr/share/license' directory: license /.out/cube3d-debuginfo-2005.08.29-alt2.qa3.i586.rpm: license not found in '/usr/share/license' directory: license 28.90user 6.19system 0:31.65elapsed 110%CPU (0avgtext+0avgdata 101152maxresident)k 13720inputs+0outputs (0major+1396595minor)pagefaults 0swaps --- cube3d-2005.08.29-alt2.qa3.i586.rpm.repo 2012-07-17 11:14:10.000000000 +0000 +++ cube3d-2005.08.29-alt2.qa3.i586.rpm.hasher 2021-09-14 11:21:08.973927976 +0000 @@ -10,3 +10,3 @@ Requires: coreutils -Requires: libGL.so.1 >= set:oinoUyfRmE1XOrZ2QBayvs3O5EgciyAigh0LugUbi7T2kkqhn1AhdCwyklxzfgwYMBXIFohcQnpsDNPZ0FDVedjMxCRhsZH5NddzooIcJ5NZgedkIUb6cht1NUJG4Re4sbWgZnl1r88wyHwTgRNs5BdvjwZow2shSibwwKZ50 +Requires: libGL.so.1 >= set:pjdsTwt1StpUwWA49a15e0ibi7T24ZJPt4h5zDyo87ZeifjXQcu8HhszmG5PuL1jYfZmHGA5toZnB2Sgg0dK2ocwQ71Rd0M5CrNDIpzFbloewyUDEbxLK2g6Ro2aWdpU2YCMLKPok56OW8CZlePgyZ1sqE9JAX0cMagVoK6BdZqraX9uXb0 Requires: rpmlib(SetVersions) @@ -15,3 +15,3 @@ Requires: libSDL_image-1.2.so.0 >= set:jifK3 -Requires: libSDL_mixer-1.2.so.0 >= set:lhS6jpd1ZflSEXOEOfMId6xrPFjJQzI6Wxkx0 +Requires: libSDL_mixer-1.2.so.0 >= set:kgIdCOqKEupQY3CJN8sqedRO7p7WxkxEcp Requires: libX11.so.6 >= set:omNQNN6cW @@ -21,2 +21,3 @@ Requires: libc.so.6(GLIBC_2.1.3) +Requires: libc.so.6(GLIBC_2.28) Requires: libc.so.6(GLIBC_2.3.4) @@ -24,6 +25,8 @@ Requires: libgcc_s.so.1(GCC_3.0) +Requires: libgcc_s.so.1(GCC_3.3.1) Requires: libm.so.6(GLIBC_2.0) Requires: libm.so.6(GLIBC_2.1) -Requires: libpthread.so.0(GLIBC_2.0) -Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libm.so.6(GLIBC_2.29) +Requires: libstdc++.so.6(CXXABI_1.3.8) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4) @@ -34,7 +37,7 @@ File: /usr/games/cube3d 100755 root:root 1d83e4e865b414363c31852f83ded82e -File: /usr/games/cube_client 100755 root:root 312bfd40fa57ee25e7340147810f05c3 -File: /usr/games/cube_server 100755 root:root e768cd0081875eeaf74ce885e86a2b4a -File: /usr/share/applications/cube3d.desktop 100644 root:root 75fc3d3ff5e51648117d24e3bc00ca10 +File: /usr/games/cube_client 100755 root:root 1629d6c3be1c2297f1f8881fcd174e3b +File: /usr/games/cube_server 100755 root:root a77ea58e4ea4cb886630748759a22bf8 +File: /usr/share/applications/cube3d.desktop 100644 root:root 9049525217ff7727734b8afddff06ae8 File: /usr/share/doc/cube3d 40755 root:root File: /usr/share/doc/cube3d/readme.txt 100644 root:root d291368f307f6ef5baf636e8b9b7ad1f -RPMIdentity: 2687675ebcf8c8a78b268c012e41a14cf2bcff34af325065fd645862043cab029f9c7ffaebccb1e386a530ea49c996346c75eca6c34bfa13d6c4cd7918d1925e +RPMIdentity: 17b3555d713f7e02ee947a3236ef39b640f7884036ae04be0cfb06c106f3da47f89d7500dd1f40f7c8f5437ae5cf6254530d1fce9fd54d6848acebd9a1abfd02 --- cube3d-debuginfo-2005.08.29-alt2.qa3.i586.rpm.repo 2012-07-17 11:14:10.000000000 +0000 +++ cube3d-debuginfo-2005.08.29-alt2.qa3.i586.rpm.hasher 2021-09-14 11:21:09.030928543 +0000 @@ -1,7 +1,7 @@ -/usr/lib/debug/.build-id/0e 40755 root:root -/usr/lib/debug/.build-id/0e/f14a6398bd53c3a0efbcda21617f84e87d890d 120777 root:root ../../../../games/cube_client -/usr/lib/debug/.build-id/0e/f14a6398bd53c3a0efbcda21617f84e87d890d.debug 120777 root:root ../../usr/games/cube_client.debug -/usr/lib/debug/.build-id/64 40755 root:root -/usr/lib/debug/.build-id/64/35891b657083dff0304c8ad75ee3961b26f5f0 120777 root:root ../../../../games/cube_server -/usr/lib/debug/.build-id/64/35891b657083dff0304c8ad75ee3961b26f5f0.debug 120777 root:root ../../usr/games/cube_server.debug +/usr/lib/debug/.build-id/51 40755 root:root +/usr/lib/debug/.build-id/51/dbcfa2712be781ad541edd2af957d66995c5be 120777 root:root ../../../../games/cube_server +/usr/lib/debug/.build-id/51/dbcfa2712be781ad541edd2af957d66995c5be.debug 120777 root:root ../../usr/games/cube_server.debug +/usr/lib/debug/.build-id/f3 40755 root:root +/usr/lib/debug/.build-id/f3/41fca9bc2a4ab03d9927d97919c9f342854262 120777 root:root ../../../../games/cube_client +/usr/lib/debug/.build-id/f3/41fca9bc2a4ab03d9927d97919c9f342854262.debug 120777 root:root ../../usr/games/cube_client.debug /usr/lib/debug/usr/games/cube_client.debug 100644 root:root @@ -72,3 +72,2 @@ Requires: debug(libm.so.6) -Requires: debug(libpthread.so.0) Requires: debug(libstdc++.so.6) @@ -77,10 +76,10 @@ Provides: cube3d-debuginfo = 2005.08.29-alt2.qa3 -File: /usr/lib/debug/.build-id/0e 40755 root:root -File: /usr/lib/debug/.build-id/0e/f14a6398bd53c3a0efbcda21617f84e87d890d 120777 root:root ../../../../games/cube_client -File: /usr/lib/debug/.build-id/0e/f14a6398bd53c3a0efbcda21617f84e87d890d.debug 120777 root:root ../../usr/games/cube_client.debug -File: /usr/lib/debug/.build-id/64 40755 root:root -File: /usr/lib/debug/.build-id/64/35891b657083dff0304c8ad75ee3961b26f5f0 120777 root:root ../../../../games/cube_server -File: /usr/lib/debug/.build-id/64/35891b657083dff0304c8ad75ee3961b26f5f0.debug 120777 root:root ../../usr/games/cube_server.debug -File: /usr/lib/debug/usr/games/cube_client.debug 100644 root:root 980e024594cd5be29ca32b0694dc13d3 -File: /usr/lib/debug/usr/games/cube_server.debug 100644 root:root 1e684ab64aa6912cd510fb325f51bdc9 +File: /usr/lib/debug/.build-id/51 40755 root:root +File: /usr/lib/debug/.build-id/51/dbcfa2712be781ad541edd2af957d66995c5be 120777 root:root ../../../../games/cube_server +File: /usr/lib/debug/.build-id/51/dbcfa2712be781ad541edd2af957d66995c5be.debug 120777 root:root ../../usr/games/cube_server.debug +File: /usr/lib/debug/.build-id/f3 40755 root:root +File: /usr/lib/debug/.build-id/f3/41fca9bc2a4ab03d9927d97919c9f342854262 120777 root:root ../../../../games/cube_client +File: /usr/lib/debug/.build-id/f3/41fca9bc2a4ab03d9927d97919c9f342854262.debug 120777 root:root ../../usr/games/cube_client.debug +File: /usr/lib/debug/usr/games/cube_client.debug 100644 root:root 3f0e3fee2778bf8ceb92f0b99e69bd38 +File: /usr/lib/debug/usr/games/cube_server.debug 100644 root:root db47d3dda5847c170d30971724533b2a File: /usr/src/debug/cube-src-2005.08.29 40755 root:root @@ -138,2 +137,2 @@ File: /usr/src/debug/cube-src-2005.08.29/src/worldrender.cpp 100644 root:root 5040fe36bae2be442126701e3d2103b5 -RPMIdentity: 157f767fada869957b05fe18f2763d761dcbd36ed986e554c701ac66b5bcbccc8f59e18b60e4b981a5488b64a78fe638427af0c7daf43a4fd17b985099aea868 +RPMIdentity: a154139146a910518ff2abdb77bb65e043daa83ac7c4117c5868c07051d3b95218f3530a3380a1863746096226813e5ee6700bc5aa7822f202637992b1fbb0fb