<86>Jul 25 11:02:14 userdel[2531655]: delete user 'rooter' <86>Jul 25 11:02:14 userdel[2531655]: removed group 'rooter' owned by 'rooter' <86>Jul 25 11:02:14 groupadd[2531678]: group added to /etc/group: name=rooter, GID=627 <86>Jul 25 11:02:14 groupadd[2531678]: group added to /etc/gshadow: name=rooter <86>Jul 25 11:02:14 groupadd[2531678]: new group: name=rooter, GID=627 <86>Jul 25 11:02:14 useradd[2531695]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Jul 25 11:02:14 userdel[2531721]: delete user 'builder' <86>Jul 25 11:02:14 userdel[2531721]: removed group 'builder' owned by 'builder' <86>Jul 25 11:02:14 userdel[2531721]: removed shadow group 'builder' owned by 'builder' <86>Jul 25 11:02:14 groupadd[2531743]: group added to /etc/group: name=builder, GID=628 <86>Jul 25 11:02:14 groupadd[2531743]: group added to /etc/gshadow: name=builder <86>Jul 25 11:02:14 groupadd[2531743]: new group: name=builder, GID=628 <86>Jul 25 11:02:14 useradd[2531761]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash <13>Jul 25 11:02:16 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300646 installed <13>Jul 25 11:02:16 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:02:16 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586302007 installed <13>Jul 25 11:02:16 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Jul 25 11:02:16 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Jul 25 11:02:16 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Jul 25 11:02:16 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Jul 25 11:02:16 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212861 installed <13>Jul 25 11:02:16 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:02:16 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Jul 25 11:02:16 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jul 25 11:02:16 rpmi: libwebp7-1.0.3-alt1 p9+234901.200.1.1 1563552457 installed <13>Jul 25 11:02:16 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Jul 25 11:02:16 rpmi: libtiff5-4.0.10.0.57.f9fc01c3-alt1 sisyphus+226958.100.1.1 1554850940 installed <13>Jul 25 11:02:16 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Jul 25 11:02:16 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537501 installed <13>Jul 25 11:02:16 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Jul 25 11:02:16 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353719 installed <13>Jul 25 11:02:16 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>Jul 25 11:02:16 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237675 installed <13>Jul 25 11:02:16 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237923 installed <13>Jul 25 11:02:16 rpmi: libsystemd-1:246.14-alt1 p9+279856.100.1.1 1626804758 installed <13>Jul 25 11:02:16 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Jul 25 11:02:16 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jul 25 11:02:16 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Jul 25 11:02:16 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Jul 25 11:02:16 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Jul 25 11:02:16 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jul 25 11:02:16 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jul 25 11:02:16 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924397 installed <13>Jul 25 11:02:16 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jul 25 11:02:17 rpmi: libpulseaudio-14.2-alt5 p9+275574.200.4.1 1625043993 installed <13>Jul 25 11:02:17 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Jul 25 11:02:17 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Jul 25 11:02:17 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Jul 25 11:02:17 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149111 installed <13>Jul 25 11:02:17 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Jul 25 11:02:18 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jul 25 11:02:18 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924397 installed <13>Jul 25 11:02:18 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212861 installed <13>Jul 25 11:02:18 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Jul 25 11:02:18 rpmi: libdrm-1:2.4.105-alt2 p9+271012.100.1.1 1619786697 installed <13>Jul 25 11:02:18 rpmi: libGLX-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:02:18 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:02:18 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:02:18 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>Jul 25 11:02:18 rpmi: libgbm-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:02:18 rpmi: libEGL-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:02:18 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:02:18 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:02:18 rpmi: libGL-devel-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:02:18 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>Jul 25 11:02:18 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jul 25 11:02:18 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:02:19 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:02:19 rpmi: alsa-ucm-conf-1.2.4-alt1 p9+250722.2300.14.1 1614269485 installed <13>Jul 25 11:02:19 rpmi: alsa-topology-conf-1.2.4-alt1 p9+250722.2200.14.1 1614269467 installed <13>Jul 25 11:02:19 rpmi: libalsa-1:1.2.4-alt1 p9+250722.2400.14.1 1614269556 installed <13>Jul 25 11:02:19 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Jul 25 11:02:19 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Jul 25 11:02:19 rpmi: libSDL_image-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Jul 25 11:02:19 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Jul 25 11:02:19 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Jul 25 11:02:19 rpmi: libSDL_image-devel-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Jul 25 11:02:19 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Jul 25 11:02:19 rpmi: desktop-file-utils-0.23-alt2 sisyphus+226879.100.1.1 1554744356 installed <13>Jul 25 11:02:20 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 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.81993 + 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.81993 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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 -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./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 -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 -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 -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 -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 -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 -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 -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] memset (peer -> unsequencedWindow, 0, sizeof (peer -> unsequencedWindow)); ^~~~~~ peer.c:383:5: warning: incompatible implicit declaration of built-in function 'memset' peer.c:383:5: note: include '' or provide a declaration of 'memset' peer.c:7:1: +#include peer.c:383:5: memset (peer -> unsequencedWindow, 0, sizeof (peer -> unsequencedWindow)); ^~~~~~ peer.c: In function 'enet_peer_queue_incoming_command': peer.c:631:8: warning: incompatible implicit declaration of built-in function 'memset' 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 -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 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 -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 -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] extern void fatal(char *s, char *o = ""); ^ clients2c.cpp: In function 'void localservertoclient(uchar*, int)': clients2c.cpp:54:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] vec v = { ents[i].x, ents[i].y, ents[i].z }; clients2c.cpp:352:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from client.cpp:3: cube.h:257:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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:28:1: note: in expansion of macro 'VARF' VARF(rate, 0, 0, 25000, if(clienthost && (!rate || rate>1000)) enet_host_bandwidth_limit (clienthost, rate, rate)); ^~~~ cube.h:257:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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:1: note: in expansion of macro 'VARF' VARF(throttle_interval, 0, 5, 30, throttle()); ^~~~ cube.h:257:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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:1: note: in expansion of macro 'VARF' VARF(throttle_accel, 0, 2, 32, throttle()); ^~~~ cube.h:257:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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:1: note: in expansion of macro 'VARF' VARF(throttle_decel, 0, 2, 32, throttle()); ^~~~ In file included from client.cpp:3: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ client.cpp:46:1: note: in expansion of macro 'COMMANDN' COMMANDN(team, newteam, ARG_1STR); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ client.cpp:47:1: note: in expansion of macro 'COMMANDN' COMMANDN(name, newname, ARG_1STR); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ client.cpp:137:1: note: in expansion of macro 'COMMAND' COMMAND(echo, ARG_VARI); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ client.cpp:138:1: note: in expansion of macro 'COMMANDN' COMMANDN(say, toserver, ARG_VARI); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ client.cpp:139:1: note: in expansion of macro 'COMMANDN' COMMANDN(connect, connects, ARG_1STR); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ client.cpp:140:1: note: in expansion of macro 'COMMANDN' COMMANDN(disconnect, trydisconnect, ARG_NONE); ^~~~~~~~ client.cpp: In function 'void addmsg(int, int, int, ...)': client.cpp:149:133: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ client.cpp:173:1: note: in expansion of macro 'COMMAND' COMMAND(password, ARG_1STR); ^~~~~~~ client.cpp: In function 'void initclientnet()': client.cpp:182:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newname("unnamed"); ^ client.cpp:183:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newteam("red"); ^ client.cpp: In function 'void gets2c()': client.cpp:289:11: warning: enumeration value 'ENET_EVENT_TYPE_NONE' not handled in switch [-Wswitch] 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 -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] extern void fatal(char *s, char *o = ""); ^ entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] entities.cpp: In function 'void renderentities()': entities.cpp:29:18: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] if(!&mmi) continue; ^~~ entities.cpp:29:18: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] entities.cpp:50:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderent(e, "carrot", (float)(1+sin(lastmillis/100.0+e.x+e.y)/20), lastmillis/(e.attr2 ? 1.0f : 10.0f)); ^ entities.cpp:53:173: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:171: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from clientgame.cpp:3: cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ clientgame.cpp:6:1: note: in expansion of macro 'VAR' VAR(gamemode, 1, 0, 0); ^~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientgame.cpp:9:1: note: in expansion of macro 'COMMAND' COMMAND(mode, ARG_1INT); ^~~~~~~ cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ clientgame.cpp:16:1: note: in expansion of macro 'VARP' VARP(sensitivity, 0, 10, 10000); ^~~~ cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ clientgame.cpp:17:1: note: in expansion of macro 'VARP' VARP(sensitivityscale, 1, 1, 10000); ^~~~ cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ clientgame.cpp:18:1: note: in expansion of macro 'VARP' VARP(invmouse, 0, 0, 1); ^~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ clientgame.cpp:215:1: note: in expansion of macro 'COMMANDN' COMMANDN(sleep, sleepf, ARG_2STR); ^~~~~~~~ clientgame.cpp: In function 'void attack(bool)': clientgame.cpp:312:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(player1->attacking = on) respawn(); ~~~~~~~~~~~~~~~~~~~^~~~ In file included from clientgame.cpp:3: clientgame.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientgame.cpp:317:1: note: in expansion of macro 'COMMAND' COMMAND(backward, ARG_DOWN); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientgame.cpp:318:1: note: in expansion of macro 'COMMAND' COMMAND(forward, ARG_DOWN); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientgame.cpp:319:1: note: in expansion of macro 'COMMAND' COMMAND(left, ARG_DOWN); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientgame.cpp:320:1: note: in expansion of macro 'COMMAND' COMMAND(right, ARG_DOWN); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ clientgame.cpp:321:1: note: in expansion of macro 'COMMANDN' COMMANDN(jump, jumpn, ARG_DOWN); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientgame.cpp:322:1: note: in expansion of macro 'COMMAND' COMMAND(attack, ARG_DOWN); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientgame.cpp:323:1: note: in expansion of macro 'COMMAND' COMMAND(showscores, ARG_DOWN); ^~~~~~~ clientgame.cpp: In function 'dynent* getclient(int)': clientgame.cpp:420:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] neterr("clientnum"); ^ clientgame.cpp: In function 'void startmap(char*)': clientgame.cpp:446:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setvar("gamespeed", 100); ^ clientgame.cpp:447:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setvar("fog", 180); ^ clientgame.cpp:448:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setvar("fogcolour", 0x8099B3); ^ In file included from clientgame.cpp:3: clientgame.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ clientgame.cpp:455:1: note: in expansion of macro 'COMMANDN' COMMANDN(map, changemap, 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 -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] extern void fatal(char *s, char *o = ""); ^ clientextras.cpp: In function 'void renderclients()': clientextras.cpp:47:155: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menumanual(0, scorelines.length(), ""); ^ In file included from clientextras.cpp:3: clientextras.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientextras.cpp:155:1: note: in expansion of macro 'COMMAND' COMMAND(sendmap, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ clientextras.cpp:156:1: note: in expansion of macro 'COMMAND' 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from console.cpp:3: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ console.cpp:22:1: note: in expansion of macro 'COMMANDN' COMMANDN(conskip, setconskip, ARG_1INT); ^~~~~~~~ console.cpp: In function 'void conline(const char*, bool)': console.cpp:27:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ console.cpp:88:1: note: in expansion of macro 'COMMAND' COMMAND(keymap, ARG_3STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ console.cpp:101:1: note: in expansion of macro 'COMMANDN' COMMANDN(bind, bindkey, ARG_2STR); ^~~~~~~~ console.cpp: In function 'void saycommand(char*)': console.cpp:107:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!init) init = ""; ^~ In file included from console.cpp:3: console.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ console.cpp:113:1: note: in expansion of macro 'COMMAND' COMMAND(saycommand, ARG_VARI); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ console.cpp:114:1: note: in expansion of macro 'COMMAND' COMMAND(mapmsg, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ console.cpp:168:1: note: in expansion of macro 'COMMAND' COMMAND(history, ARG_1INT); ^~~~~~~ console.cpp: In function 'void keypress(int, bool, int)': console.cpp:206:59: warning: narrowing conversion of 'cooked' from 'int' to 'char' inside { } [-Wnarrowing] 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 -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] extern void fatal(char *s, char *o = ""); ^ editing.cpp:12:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variable("selx", 0, 0, 4096, &sel.x, NULL, false), ^ editing.cpp:13:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variable("sely", 0, 0, 4096, &sel.y, NULL, false), ^ editing.cpp:14:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variable("selxs", 0, 0, 4096, &sel.xs, NULL, false), ^ editing.cpp:15:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] variable("selys", 0, 0, 4096, &sel.ys, NULL, false), ^ In file included from editing.cpp:3: cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ editing.cpp:33:1: note: in expansion of macro 'VAR' VAR(editing,0,0,1); ^~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ editing.cpp:56:1: note: in expansion of macro 'COMMANDN' COMMANDN(edittoggle, toggleedit, ARG_NONE); ^~~~~~~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ editing.cpp:101:1: note: in expansion of macro 'VAR' VAR(flrceil,0,0,2); ^~~ editing.cpp: In function 'void cursorupdate()': editing.cpp:161:16: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 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] 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: cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ editing.cpp:185:1: note: in expansion of macro 'VARP' VARP(undomegs, 0, 1, 10); // bounded by n megs ^~~~ editing.cpp: In function 'void editdrag(bool)': editing.cpp:253:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(dragging = isdown) ~~~~~~~~~^~~~~~~~ In file included from editing.cpp:3: editing.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:290:1: note: in expansion of macro 'COMMAND' COMMAND(editheight, ARG_2INT); ^~~~~~~ editing.cpp: In function 'void edittype(int)': editing.cpp:343:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:354:1: note: in expansion of macro 'COMMAND' COMMAND(heightfield, ARG_1INT); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:355:1: note: in expansion of macro 'COMMAND' COMMAND(solid, ARG_1INT); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:356:1: note: in expansion of macro 'COMMAND' COMMAND(corner, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:381:1: note: in expansion of macro 'COMMAND' COMMAND(equalize, ARG_1INT); ^~~~~~~ In file included from editing.cpp:3: cube.h:257:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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:453:1: note: in expansion of macro 'VARF' VARF(fullbright, 0, 0, 1, ^~~~ In file included from editing.cpp:3: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ editing.cpp:473:1: note: in expansion of macro 'COMMANDN' COMMANDN(select, selectpos, ARG_4INT); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:474:1: note: in expansion of macro 'COMMAND' COMMAND(edittag, ARG_1INT); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:475:1: note: in expansion of macro 'COMMAND' COMMAND(replace, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:476:1: note: in expansion of macro 'COMMAND' COMMAND(archvertex, ARG_3INT); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:477:1: note: in expansion of macro 'COMMAND' COMMAND(arch, ARG_2INT); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:478:1: note: in expansion of macro 'COMMAND' COMMAND(slope, ARG_2INT); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ editing.cpp:479:1: note: in expansion of macro 'COMMANDN' COMMANDN(vdelta, setvdelta, ARG_1INT); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ editing.cpp:480:1: note: in expansion of macro 'COMMANDN' COMMANDN(undo, editundo, ARG_NONE); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:481:1: note: in expansion of macro 'COMMAND' COMMAND(copy, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:482:1: note: in expansion of macro 'COMMAND' COMMAND(paste, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:483:1: note: in expansion of macro 'COMMAND' COMMAND(edittex, ARG_2INT); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:484:1: note: in expansion of macro 'COMMAND' COMMAND(newent, ARG_5STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ editing.cpp:485:1: note: in expansion of macro 'COMMAND' 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 -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] 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] for(sphere *p, **pp = &slist; p = *pp;) ~~^~~~~ renderextras.cpp: At global scope: renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp: In function 'void renderents()': renderextras.cpp:160:21: warning: narrowing conversion of '(& e)->entity::.persistent_entity::x' from 'short int' to 'float' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] vec v = { e.x, e.y, e.z }; ~~^ renderextras.cpp:167:159: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:176: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *side[] = { "ft", "bk", "lf", "rt", "dn", "up" }; ^ renderextras.cpp:175:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:175:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:175:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:175:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] renderextras.cpp:175:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from renderextras.cpp:3: renderextras.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ renderextras.cpp:186:1: note: in expansion of macro 'COMMAND' COMMAND(loadsky, ARG_1STR); ^~~~~~~ cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ renderextras.cpp:257:1: note: in expansion of macro 'VARP' VARP(crosshairsize, 0, 15, 50); ^~~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ renderextras.cpp:262:1: note: in expansion of macro 'VAR' VAR(hidestats, 0, 0, 1); ^~~ cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ renderextras.cpp:263:1: note: in expansion of macro 'VARP' VARP(crosshairfx, 0, 1, 1); ^~~~ renderextras.cpp: In function 'void gl_drawhud(int, int, int, int, int, bool)': renderextras.cpp:303:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(command) draw_textf("> %s_", 20, 1570, 2, command); ^ renderextras.cpp:339:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] draw_textf("fps %d", 3200, 2390, 2, curfps); ^ renderextras.cpp:340:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] draw_textf("wqd %d", 3200, 2460, 2, nquads); ^ renderextras.cpp:341:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] draw_textf("wvt %d", 3200, 2530, 2, curvert); ^ renderextras.cpp:342:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] draw_textf("evt %d", 3200, 2600, 2, xtraverts); ^ renderextras.cpp:351:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] draw_textf("%d", 90, 827, 2, player1->health); ^ renderextras.cpp:352:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(player1->armour) draw_textf("%d", 390, 827, 2, player1->armour); ^ renderextras.cpp:353:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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 -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] extern void fatal(char *s, char *o = ""); ^ main.cpp: In function 'void* alloc(int)': main.cpp:41:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!b) fatal("out of memory!"); ^ main.cpp:41:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp: In function 'void screenshot()': main.cpp:53:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ main.cpp:72:1: note: in expansion of macro 'COMMAND' COMMAND(screenshot, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ main.cpp:73:1: note: in expansion of macro 'COMMAND' COMMAND(quit, ARG_NONE); ^~~~~~~ In file included from main.cpp:3: cube.h:257:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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:81:1: note: in expansion of macro 'VARF' VARF(gamespeed, 10, 100, 1000, if(multiplayer()) gamespeed = 100); ^~~~ In file included from main.cpp:3: cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ main.cpp:82:1: note: in expansion of macro 'VARP' VARP(minmillis, 0, 5, 1000); ^~~~ main.cpp: In function 'int main(int, char**)': main.cpp:91:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; ^~ main.cpp:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; ^~ main.cpp:91:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; ^~ main.cpp:122:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(SDL_Init(SDL_INIT_TIMER|SDL_INIT_VIDEO|par)<0) fatal("Unable to initialize SDL"); ^ main.cpp:122:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:125:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(enet_initialize()<0) fatal("Unable to initialise network module"); ^ main.cpp:125:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:134:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(SDL_InitSubSystem(SDL_INIT_VIDEO)<0) fatal("Unable to initialize SDL Video"); ^ main.cpp:134:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:138:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(SDL_SetVideoMode(scr_w, scr_h, 0, SDL_OPENGL|fs)==NULL) fatal("Unable to create OpenGL screen"); ^ main.cpp:138:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:151:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!installtex(2, path(newstring("data/newchars.png")), xs, ys) || ^ main.cpp:152:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !installtex(3, path(newstring("data/martin/base.png")), xs, ys) || ^ main.cpp:153:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !installtex(6, path(newstring("data/martin/ball1.png")), xs, ys) || ^ main.cpp:154:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !installtex(7, path(newstring("data/martin/smoke.png")), xs, ys) || ^ main.cpp:155:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !installtex(8, path(newstring("data/martin/ball2.png")), xs, ys) || ^ main.cpp:156:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !installtex(9, path(newstring("data/martin/ball3.png")), xs, ys) || ^ main.cpp:157:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !installtex(4, path(newstring("data/explosion.jpg")), xs, ys) || ^ main.cpp:158:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !installtex(5, path(newstring("data/items.png")), xs, ys) || ^ main.cpp:159:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !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:162: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] !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:162: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:165:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newmenu("frags\tpj\tping\tteam\tname"); ^ main.cpp:166:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newmenu("ping\tplr\tserver"); ^ main.cpp:167:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] exec("data/keymap.cfg"); ^ main.cpp:168:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] exec("data/menus.cfg"); ^ main.cpp:169:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] exec("data/prefabs.cfg"); ^ main.cpp:170:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] exec("data/sounds.cfg"); ^ main.cpp:171:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] exec("servers.cfg"); ^ main.cpp:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!execfile("config.cfg")) execfile("data/defaults.cfg"); ^ main.cpp:172:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!execfile("config.cfg")) execfile("data/defaults.cfg"); ^ main.cpp:173:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] exec("autoexec.cfg"); ^ main.cpp:177:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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 -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] 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] mitem.action = ""; ^~ In file included from menus.cpp:3: menus.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ menus.cpp:110:1: note: in expansion of macro 'COMMAND' COMMAND(menuitem, ARG_2STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ menus.cpp:111:1: note: in expansion of macro 'COMMAND' COMMAND(showmenu, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ menus.cpp:112:1: note: in expansion of macro 'COMMAND' 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 -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] extern void fatal(char *s, char *o = ""); ^ rendergl.cpp: In function 'void gl_init(int, int)': rendergl.cpp:56:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!(qsphere = gluNewQuadric())) fatal("glu sphere"); ^ rendergl.cpp:56:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] rendergl.cpp: In function 'bool installtex(int, char*, int&, int&, bool)': rendergl.cpp:93:126: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(gluBuild2DMipmaps(GL_TEXTURE_2D, GL_RGB, xs, ys, GL_RGB, GL_UNSIGNED_BYTE, scaledimg)) fatal("could not build mipmaps"); ^ rendergl.cpp:93:126: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from rendergl.cpp:3: rendergl.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ rendergl.cpp:134:1: note: in expansion of macro 'COMMAND' COMMAND(texturereset, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ rendergl.cpp:135:1: note: in expansion of macro 'COMMAND' COMMAND(texture, ARG_2STR); ^~~~~~~ rendergl.cpp: In function 'int lookuptexture(int, int&, int&)': rendergl.cpp:163:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(curtex==MAXTEX) fatal("loaded too many textures"); ^ rendergl.cpp:163:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from rendergl.cpp:3: rendergl.cpp: At global scope: cube.h:258:133: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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; } ^ rendergl.cpp:235:1: note: in expansion of macro 'VARFP' VARFP(gamma, 30, 100, 300, ^~~~~ In file included from rendergl.cpp:3: cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ rendergl.cpp:256:1: note: in expansion of macro 'VARP' VARP(fov, 10, 105, 120); ^~~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ rendergl.cpp:260:1: note: in expansion of macro 'VAR' VAR(fog, 64, 180, 1024); ^~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ rendergl.cpp:261:1: note: in expansion of macro 'VAR' VAR(fogcolour, 0, 0x8099B3, 0xFFFFFF); ^~~ cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ rendergl.cpp:263:1: note: in expansion of macro 'VARP' VARP(hudgun,0,1,1); ^~~~ rendergl.cpp:265:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *hudgunnames[] = { "hudguns/fist", "hudguns/shotg", "hudguns/chaing", "hudguns/rocket", "hudguns/rifle" }; ^ rendergl.cpp:265:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] rendergl.cpp:265:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] rendergl.cpp:265:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] rendergl.cpp:265:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from monster.cpp:3: cube.h:257:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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:8:1: note: in expansion of macro 'VARF' VARF(skill, 1, 3, 10, conoutf("skill is now %d", skill)); ^~~~ monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] monster.cpp: In function 'void monsterthink()': monster.cpp:314:21: warning: narrowing conversion of '(& e)->entity::.persistent_entity::x' from 'short int' to 'float' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] 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 -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] extern void fatal(char *s, char *o = ""); ^ physics.cpp: In function 'void mmcollide(dynent*, float&, float&)': physics.cpp:50:14: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] if(!&mmi || !mmi.h) continue; ^~~ physics.cpp:50:14: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] physics.cpp: In function 'bool collide(dynent*, bool, float, float)': physics.cpp:92:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] || 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] || 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: cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ physics.cpp:165:1: note: in expansion of macro 'VARP' VARP(maxroll, 0, 3, 20); ^~~~ 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 -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] extern void fatal(char *s, char *o = ""); ^ rendermd2.cpp: In function 'void delayedload(md2*)': rendermd2.cpp:203:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!m->load(path(name1))) fatal("loadmodel: ", name1); ^ rendermd2.cpp: In function 'md2* loadmodel(char*)': rendermd2.cpp:220:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mapmodelinfo mmi = { 2, 2, 0, 0, "" }; ^ In file included from rendermd2.cpp:3: rendermd2.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ rendermd2.cpp:239:1: note: in expansion of macro 'COMMAND' COMMAND(mapmodel, ARG_5STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ rendermd2.cpp:240:1: note: in expansion of macro 'COMMAND' 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:38: required from here tools.h:247:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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] 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] 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 -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] 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from renderparticles.cpp:3: cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ renderparticles.cpp:11:1: note: in expansion of macro 'VARP' VARP(maxparticles, 100, 2000, MAXPARTICLES-500); ^~~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ renderparticles.cpp:38:1: note: in expansion of macro 'VAR' VAR(demotracking, 0, 0, 1); ^~~ cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ renderparticles.cpp:39:1: note: in expansion of macro 'VARP' VARP(particlesize, 20, 100, 500); ^~~~ renderparticles.cpp: In function 'void render_particles(int)': renderparticles.cpp:73:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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 -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] 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from command.cpp:4: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:41:1: note: in expansion of macro 'COMMAND' 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] w[i] = ""; ^~ command.cpp:139:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!s) { numargs = i; s = ""; }; ^~ In file included from command.cpp:4: command.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:303:1: note: in expansion of macro 'COMMAND' COMMAND(writecfg, ARG_NONE); ^~~~~~~ command.cpp: In function 'void loopa(char*, char*)': command.cpp:311:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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] for(char *a = s, *b = s; *a = *b; b++) if(*a!=' ') a++; ~~~^~~~ In file included from command.cpp:4: command.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:339:1: note: in expansion of macro 'COMMANDN' COMMANDN(loop, loopa, ARG_2STR); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:340:1: note: in expansion of macro 'COMMANDN' COMMANDN(while, whilea, ARG_2STR); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:341:1: note: in expansion of macro 'COMMANDN' COMMANDN(if, ifthen, ARG_3STR); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:342:1: note: in expansion of macro 'COMMAND' COMMAND(onrelease, ARG_DWN1); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:343:1: note: in expansion of macro 'COMMAND' COMMAND(exec, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:344:1: note: in expansion of macro 'COMMAND' COMMAND(concat, ARG_VARI); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:345:1: note: in expansion of macro 'COMMAND' COMMAND(concatword, ARG_VARI); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:346:1: note: in expansion of macro 'COMMAND' COMMAND(at, ARG_2STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:347:1: note: in expansion of macro 'COMMAND' COMMAND(listlen, ARG_1EST); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:349:50: note: in expansion of macro 'COMMANDN' int add(int a, int b) { return a+b; }; COMMANDN(+, add, ARG_2EXP); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:350:50: note: in expansion of macro 'COMMANDN' int mul(int a, int b) { return a*b; }; COMMANDN(*, mul, ARG_2EXP); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:351:50: note: in expansion of macro 'COMMANDN' int sub(int a, int b) { return a-b; }; COMMANDN(-, sub, ARG_2EXP); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:352:50: note: in expansion of macro 'COMMANDN' int divi(int a, int b) { return b ? a/b : 0; }; COMMANDN(div, divi, ARG_2EXP); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ command.cpp:353:50: note: in expansion of macro 'COMMAND' int mod(int a, int b) { return b ? a%b : 0; }; COMMAND(mod, ARG_2EXP); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:354:50: note: in expansion of macro 'COMMANDN' int equal(int a, int b) { return (int)(a==b); }; COMMANDN(=, equal, ARG_2EXP); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:355:50: note: in expansion of macro 'COMMANDN' int lt(int a, int b) { return (int)(ab); }; COMMANDN(>, gt, ARG_2EXP); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:358:60: note: in expansion of macro 'COMMANDN' int strcmpa(char *a, char *b) { return strcmp(a,b)==0; }; COMMANDN(strcmp, strcmpa, ARG_2EST); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:360:51: note: in expansion of macro 'COMMANDN' int rndn(int a) { return a>0 ? rnd(a) : 0; }; COMMANDN(rnd, rndn, ARG_1EXP); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ command.cpp:362:46: note: in expansion of macro 'COMMANDN' int explastmillis() { return lastmillis; }; COMMANDN(millis, explastmillis, ARG_1EXP); ^~~~~~~~ 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:35: required from here tools.h:247:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from serverbrowser.cpp:3: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ serverbrowser.cpp:290:1: note: in expansion of macro 'COMMAND' COMMAND(addserver, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ serverbrowser.cpp:291:1: note: in expansion of macro 'COMMAND' COMMAND(servermenu, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ serverbrowser.cpp:292:1: note: in expansion of macro 'COMMAND' 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 -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] 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 -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] extern void fatal(char *s, char *o = ""); ^ rendercubes.cpp: In function 'void reallocv()': rendercubes.cpp:20:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!verts) fatal("no vertex memory!"); ^ rendercubes.cpp:20:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from rendercubes.cpp:3: rendercubes.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ rendercubes.cpp:48:1: note: in expansion of macro 'COMMAND' COMMAND(showmip, ARG_NONE); ^~~~~~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ rendercubes.cpp:54:1: note: in expansion of macro 'VAR' VAR(lighterror,1,8,100); ^~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ rendercubes.cpp:266:1: note: in expansion of macro 'VAR' VAR(watersubdiv, 1, 4, 64); ^~~ In file included from rendercubes.cpp:3: cube.h:257:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #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; } ^ rendercubes.cpp:267:1: note: in expansion of macro 'VARF' VARF(waterlevel, -128, -128, 127, if(!noteditmode()) hdr.waterlevel = waterlevel); ^~~~ 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 -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] extern void fatal(char *s, char *o = ""); ^ server.cpp:46:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *serverpassword = ""; ^~ server.cpp: In function 'bool vote(char*, int, int)': server.cpp:144:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sendservmsg("vote passed"); ^ server.cpp: In function 'void process(ENetPacket*, int)': server.cpp:156:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] disconnect_client(sender, "packet length"); ^ server.cpp:224:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] disconnect_client(sender, "client num"); ^ server.cpp:254:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(size==-1) { disconnect_client(sender, "tag type"); return; }; ^ server.cpp:259:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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] switch(event.type) ^ server.cpp:415:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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] if(isdedicated = dedicated) ~~~~~~~~~~~~^~~~~~~~~~~ server.cpp:452:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!serverhost) fatal("could not create server host\n"); ^ server.cpp:452:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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 -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] extern void fatal(char *s, char *o = ""); ^ serverms.cpp: In function 'void updatemasterserver(int)': serverms.cpp:65:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] httpgetsend(masterserver, masterbase, path, "cubeserver", "Cube Server"); ^ serverms.cpp:65:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] serverms.cpp: In function 'uchar* retrieveservers(uchar*, int)': serverms.cpp:83:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] httpgetsend(masterserver, masterbase, path, "cubeserver", "Cube Server"); ^ serverms.cpp:83:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] serverms.cpp: In function 'void servermsinit(const char*, char*, bool)': serverms.cpp:139:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(pongsock == ENET_SOCKET_NULL) fatal("could not create server info socket\n"); ^ serverms.cpp:139:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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 -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] extern void fatal(char *s, char *o = ""); ^ weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] weapon.cpp:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from weapon.cpp:3: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ weapon.cpp:51:1: note: in expansion of macro 'COMMAND' 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 -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] 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] 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from sound.cpp:3: cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ sound.cpp:9:1: note: in expansion of macro 'VARP' VARP(soundvol, 0, 255, 255); ^~~~ cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ sound.cpp:10:1: note: in expansion of macro 'VARP' VARP(musicvol, 0, 128, 255); ^~~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ sound.cpp:52:1: note: in expansion of macro 'VAR' VAR(soundbufferlen, 128, 1024, 4096); ^~~ sound.cpp: In function 'void music(char*)': sound.cpp:84:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(mod = Mix_LoadMUS(path(sn))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from sound.cpp:3: sound.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ sound.cpp:108:1: note: in expansion of macro 'COMMAND' COMMAND(music, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ sound.cpp:126:1: note: in expansion of macro 'COMMAND' COMMAND(registersound, ARG_1EST); ^~~~~~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ sound.cpp:139:1: note: in expansion of macro 'VAR' VAR(stereo, 0, 1, 1); ^~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ sound.cpp:226:1: note: in expansion of macro 'COMMAND' 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from worldlight.cpp:3: cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ worldlight.cpp:7:1: note: in expansion of macro 'VAR' VAR(lightscale,1,4,100); ^~~ worldlight.cpp: In function 'void calclight()': worldlight.cpp:157:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setvar("fullbright", 0); ^ In file included from worldlight.cpp:3: worldlight.cpp: At global scope: cube.h:255:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VARP(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, true) ^ worldlight.cpp:160:1: note: in expansion of macro 'VARP' VARP(dynlight, 0, 16, 32); ^~~~ 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] persistent_entity l = { (int)v.x, (int)v.y, (int)v.z, reach, LIGHT, strength, 0, 0 }; ^~~~~~~~ worldlight.cpp:191:88: warning: narrowing conversion of 'reach' from 'int' to 'short int' inside { } [-Wnarrowing] persistent_entity l = { (int)v.x, (int)v.y, (int)v.z, reach, LIGHT, strength, 0, 0 }; ^ worldlight.cpp:191:88: warning: narrowing conversion of 'strength' from 'int' to 'uchar' {aka 'unsigned char'} inside { } [-Wnarrowing] 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 -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] 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from worldocull.cpp:3: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ worldocull.cpp:13:1: note: in expansion of macro 'COMMAND' COMMAND(toggleocull, ARG_NONE); ^~~~~~~ worldocull.cpp: In function 'void computeraytable(float, float)': worldocull.cpp:22:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] odist = getvar("fog")*1.5f; ^ worldocull.cpp:25:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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 -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] extern void fatal(char *s, char *o = ""); ^ worldio.cpp: In function 'void load_world(char*)': worldio.cpp:219:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(strncmp(hdr.head, "CUBE", 4)!=0) fatal("while reading map: header malformatted"); ^ worldio.cpp:219:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] worldio.cpp:220:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(hdr.version>MAPVERSION) fatal("this map requires a newer version of cube"); ^ worldio.cpp:220:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] worldio.cpp:221:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(sfactorLARGEST_FACTOR) fatal("illegal map size"); ^ worldio.cpp:221:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] worldio.cpp:288:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fatal("while reading map: type out of range: ", t); ^ worldio.cpp:320:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(identexists(aliasname)) alias(aliasname, ""); ^ worldio.cpp:322:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] execfile("data/default_map_settings.cfg"); ^ In file included from worldio.cpp:3: worldio.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ worldio.cpp:327:1: note: in expansion of macro 'COMMANDN' COMMANDN(savemap, save_world, 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 -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] extern void fatal(char *s, char *o = ""); ^ In file included from world.cpp:3: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ world.cpp:52:1: note: in expansion of macro 'COMMAND' COMMAND(trigger, ARG_2INT); ^~~~~~~ world.cpp: In function 'void remip(block&, int)': world.cpp:63:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] 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' inside { } [-Wnarrowing] 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:59: warning: narrowing conversion of 'x' from 'int' to 'short int' inside { } [-Wnarrowing] persistent_entity e = { x, y, z, v1, type, v2, v3, v4 }; ^ world.cpp:215:59: warning: narrowing conversion of 'y' from 'int' to 'short int' inside { } [-Wnarrowing] world.cpp:215:59: warning: narrowing conversion of 'z' from 'int' to 'short int' inside { } [-Wnarrowing] world.cpp:215:59: warning: narrowing conversion of 'v1' from 'int' to 'short int' inside { } [-Wnarrowing] world.cpp:215:59: warning: narrowing conversion of 'type' from 'int' to 'uchar' {aka 'unsigned char'} inside { } [-Wnarrowing] world.cpp:215:59: warning: narrowing conversion of 'v2' from 'int' to 'uchar' {aka 'unsigned char'} inside { } [-Wnarrowing] world.cpp:215:59: warning: narrowing conversion of 'v3' from 'int' to 'uchar' {aka 'unsigned char'} inside { } [-Wnarrowing] world.cpp:215:59: warning: narrowing conversion of 'v4' from 'int' to 'uchar' {aka 'unsigned char'} inside { } [-Wnarrowing] In file included from world.cpp:3: world.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ world.cpp:252:1: note: in expansion of macro 'COMMAND' COMMAND(clearents, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ world.cpp:280:1: note: in expansion of macro 'COMMAND' COMMAND(scalelights, ARG_2INT); ^~~~~~~ world.cpp: In function 'void empty_world(int, bool)': world.cpp:355:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] startmap("base/unnamed"); ^ world.cpp:360:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] execute("fullbright 1"); ^ In file included from world.cpp:3: world.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ world.cpp:367:1: note: in expansion of macro 'COMMAND' COMMAND(mapenlarge, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ world.cpp:368:1: note: in expansion of macro 'COMMAND' COMMAND(newmap, ARG_1INT); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ world.cpp:369:1: note: in expansion of macro 'COMMANDN' COMMANDN(recalc, calclight, ARG_NONE); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ world.cpp:370:1: note: in expansion of macro 'COMMAND' COMMAND(delent, ARG_NONE); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ world.cpp:371:1: note: in expansion of macro 'COMMAND' COMMAND(entproperty, ARG_2INT); ^~~~~~~ world.cpp: In function 'int closestent()': world.cpp:164:9: warning: 'best' may be used uninitialized in this function [-Wmaybe-uninitialized] int best; ^~~~ 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 -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] extern void fatal(char *s, char *o = ""); ^ savegamedemo.cpp: In function 'void gzcheck(int, int)': savegamedemo.cpp:20:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] void gzcheck(int a, int b) { if(a!=b) fatal("savegame file corrupt (short)"); }; ^ savegamedemo.cpp:20:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from savegamedemo.cpp:3: savegamedemo.cpp: At global scope: cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ savegamedemo.cpp:214:1: note: in expansion of macro 'VAR' VAR(demoplaybackspeed, 10, 100, 1000); ^~~ cube.h:256:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VAR(name, min, cur, max) int name = variable(#name, min, cur, max, &name, NULL, false) ^ savegamedemo.cpp:239:1: note: in expansion of macro 'VAR' VAR(demodelaymsec, 0, 120, 500); ^~~ savegamedemo.cpp: In function 'void demoplaybackstep()': savegamedemo.cpp:285:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(extras = gzget()) // read additional client side state not present in normal network stream ~~~~~~~^~~~~~~~~ savegamedemo.cpp:297:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(bdamage = gzgeti()) damageblend(bdamage); ~~~~~~~~^~~~~~~~~~ savegamedemo.cpp:298:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(ddamage = gzgeti()) { gzgetv(dorig); particle_splash(3, ddamage, 1000, dorig); }; ~~~~~~~~^~~~~~~~~~ In file included from savegamedemo.cpp:3: savegamedemo.cpp: At global scope: cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ savegamedemo.cpp:355:1: note: in expansion of macro 'COMMAND' COMMAND(record, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ savegamedemo.cpp:356:1: note: in expansion of macro 'COMMAND' COMMAND(demo, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ savegamedemo.cpp:357:1: note: in expansion of macro 'COMMANDN' COMMANDN(stop, stopn, ARG_NONE); ^~~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ savegamedemo.cpp:359:1: note: in expansion of macro 'COMMAND' COMMAND(savegame, ARG_1STR); ^~~~~~~ cube.h:253:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs) ^ cube.h:254:30: note: in expansion of macro 'COMMANDN' #define COMMAND(name, nargs) COMMANDN(name, name, nargs) ^~~~~~~~ savegamedemo.cpp:360:1: note: in expansion of macro 'COMMAND' 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 -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] extern void fatal(char *s, char *o = ""); ^ serverutil.cpp: In function 'void* alloc(int)': serverutil.cpp:94:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] void *alloc(int s) { void *b = calloc(1,s); if(!b) fatal("no memory!"); return b; }; ^ serverutil.cpp:94:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] serverutil.cpp: In function 'int main(int, char**)': serverutil.cpp:99:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; ^~ serverutil.cpp:99:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; ^~ serverutil.cpp:99:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *sdesc = "", *ip = "", *master = NULL, *passwd = ""; ^~ serverutil.cpp:116:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(enet_initialize()<0) fatal("Unable to initialise network module"); ^ serverutil.cpp:116:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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 -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' make: Entering directory '/usr/src/RPM/BUILD/cube-src-2005.08.29/src' g++ -L/usr/lib -pipe -frecord-gcc-switches -Wall -g -O2 -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' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.54302 + 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: fopen verify-elf: WARNING: ./usr/games/cube_client: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: cube3d-2005.08.29-alt2.qa3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.42599 + 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.9VdPaD find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7DHumn find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libpthread.so.0(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), 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.qbbElk 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.tZnMfr find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PBZAeK 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(libpthread.so.0), 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) 16.88user 2.67system 0:15.10elapsed 129%CPU (0avgtext+0avgdata 47436maxresident)k 0inputs+0outputs (0major+1005246minor)pagefaults 0swaps 23.96user 5.43system 0:24.80elapsed 118%CPU (0avgtext+0avgdata 115572maxresident)k 0inputs+0outputs (0major+1323223minor)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-07-25 11:02:37.625525924 +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 @@ -28,2 +28,4 @@ Requires: libstdc++.so.6(CXXABI_1.3) +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 +36,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 55b8e66d8a5178b00477343540aee43c +File: /usr/games/cube_server 100755 root:root 35d1640f9afe718d1f4cd94f51cdf729 +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: 0aa5b1fc6864a42556a3cdf6e3bd9636 +RPMIdentity: c50b3546a3339f8827abadda4fe98297 --- 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-07-25 11:02:37.693526163 +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/a7 40755 root:root +/usr/lib/debug/.build-id/a7/3c3a7f243d5ff64992f1fd97309d4c823f4157 120777 root:root ../../../../games/cube_server +/usr/lib/debug/.build-id/a7/3c3a7f243d5ff64992f1fd97309d4c823f4157.debug 120777 root:root ../../usr/games/cube_server.debug +/usr/lib/debug/.build-id/cb 40755 root:root +/usr/lib/debug/.build-id/cb/623ff3c95f0cbc10dd2aae9796746e76705fc8 120777 root:root ../../../../games/cube_client +/usr/lib/debug/.build-id/cb/623ff3c95f0cbc10dd2aae9796746e76705fc8.debug 120777 root:root ../../usr/games/cube_client.debug /usr/lib/debug/usr/games/cube_client.debug 100644 root:root @@ -77,10 +77,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/a7 40755 root:root +File: /usr/lib/debug/.build-id/a7/3c3a7f243d5ff64992f1fd97309d4c823f4157 120777 root:root ../../../../games/cube_server +File: /usr/lib/debug/.build-id/a7/3c3a7f243d5ff64992f1fd97309d4c823f4157.debug 120777 root:root ../../usr/games/cube_server.debug +File: /usr/lib/debug/.build-id/cb 40755 root:root +File: /usr/lib/debug/.build-id/cb/623ff3c95f0cbc10dd2aae9796746e76705fc8 120777 root:root ../../../../games/cube_client +File: /usr/lib/debug/.build-id/cb/623ff3c95f0cbc10dd2aae9796746e76705fc8.debug 120777 root:root ../../usr/games/cube_client.debug +File: /usr/lib/debug/usr/games/cube_client.debug 100644 root:root 94a3b332519d46c52f446e9dc6243df5 +File: /usr/lib/debug/usr/games/cube_server.debug 100644 root:root 42ab265a2cad1aab5f841657af9fe6ea File: /usr/src/debug/cube-src-2005.08.29 40755 root:root @@ -138,2 +138,2 @@ File: /usr/src/debug/cube-src-2005.08.29/src/worldrender.cpp 100644 root:root 5040fe36bae2be442126701e3d2103b5 -RPMIdentity: edc53271ceb130206e7a03e93d4e9417 +RPMIdentity: b6c6ee030b2e38efcc843db08967eb73