<86>Apr 14 01:37:44 userdel[44671]: delete user 'rooter' <86>Apr 14 01:37:44 groupadd[44699]: group added to /etc/group: name=rooter, GID=573 <86>Apr 14 01:37:44 groupadd[44699]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:37:44 groupadd[44699]: new group: name=rooter, GID=573 <86>Apr 14 01:37:44 useradd[44717]: new user: name=rooter, UID=573, GID=573, home=/root, shell=/bin/bash <86>Apr 14 01:37:44 userdel[44830]: delete user 'builder' <86>Apr 14 01:37:44 userdel[44830]: removed group 'builder' owned by 'builder' <86>Apr 14 01:37:44 userdel[44830]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:37:44 groupadd[44915]: group added to /etc/group: name=builder, GID=574 <86>Apr 14 01:37:44 groupadd[44915]: group added to /etc/gshadow: name=builder <86>Apr 14 01:37:44 groupadd[44915]: new group: name=builder, GID=574 <86>Apr 14 01:37:44 useradd[44925]: new user: name=builder, UID=574, GID=574, home=/usr/src, shell=/bin/bash <13>Apr 14 01:37:48 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429213 installed <13>Apr 14 01:37:48 rpmi: udev-rules-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786259 installed <13>Apr 14 01:37:48 rpmi: libkmod-21-alt1 1437433966 installed <13>Apr 14 01:37:48 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Apr 14 01:37:48 rpmi: xorg-xproto-devel-7.0.28-alt1 1448272470 installed <13>Apr 14 01:37:48 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 14 01:37:48 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Apr 14 01:37:48 rpmi: msulogin-1.0-alt1 1366288481 installed <13>Apr 14 01:37:48 rpmi: mount-2.30.2-alt0.M80P.1 1522077023 installed <13>Apr 14 01:37:48 rpmi: libdevmapper-1.02.152-alt1 p8.216818.100 1542993609 installed <13>Apr 14 01:37:48 rpmi: sysvinit-2.88-alt5 1424350685 installed <13>Apr 14 01:37:49 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:37:49 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Apr 14 01:37:49 rpmi: kmod-21-alt1 1437433966 installed <13>Apr 14 01:37:49 rpmi: autoconf_2.50-2:2.59-alt11 1449525230 installed <13>Apr 14 01:37:49 rpmi: libspeexdsp-1.2-alt2_0.9.rc3 1455625745 installed <13>Apr 14 01:37:49 rpmi: libsoxr-0.1.2-alt1 1443187602 installed <13>Apr 14 01:37:49 rpmi: liborc-0.4.27-alt1.M80P.1 1503911715 installed <13>Apr 14 01:37:49 rpmi: libltdl7-2.4.2-alt5 1450059753 installed <13>Apr 14 01:37:49 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:37:49 rpmi: libusb-1.0.21-alt0.M80P.1 1485147102 installed <13>Apr 14 01:37:49 rpmi: libusb-compat-0.1.5-alt1 1404810476 installed <13>Apr 14 01:37:49 rpmi: libftdi-0.20-alt2 1363706737 installed <13>Apr 14 01:37:49 rpmi: liblirc-0.9.3a-alt1.2 1462956114 installed <13>Apr 14 01:37:49 rpmi: libgomp1-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:37:49 rpmi: libfftw3-common-3.3.3-alt2 1384539828 installed <13>Apr 14 01:37:49 rpmi: libfftw3f-3.3.3-alt2 1384539885 installed <13>Apr 14 01:37:49 rpmi: libwrap-1:7.6-alt11 1297041305 installed <13>Apr 14 01:37:49 rpmi: libgsm-1.0.13-alt8 1365910842 installed <13>Apr 14 01:37:49 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756416 installed <13>Apr 14 01:37:49 rpmi: libjson-c-0.12-alt1 1401212997 installed <13>Apr 14 01:37:49 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Apr 14 01:37:49 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Apr 14 01:37:49 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 14 01:37:49 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:37:49 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 14 01:37:49 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 14 01:37:49 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 01:37:49 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 01:37:49 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 14 01:37:49 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 01:37:49 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 01:37:49 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 14 01:37:49 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 14 01:37:49 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Apr 14 01:37:49 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 14 01:37:49 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 14 01:37:49 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:37:49 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Apr 14 01:37:49 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 14 01:37:49 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 14 01:37:51 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 01:37:51 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Apr 14 01:37:51 rpmi: libGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:37:51 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Apr 14 01:37:51 rpmi: libseccomp-2.4.0-alt1 p8+225578.100.3.1 1554139373 installed <13>Apr 14 01:37:51 rpmi: libpcre2-10.23-alt0.M80P.1 1487919866 installed <13>Apr 14 01:37:51 rpmi: libiptables-1.4.21-alt3 1435789456 installed <13>Apr 14 01:37:51 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 01:37:51 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 01:37:51 rpmi: libsystemd-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:37:51 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:37:51 rpmi: libpulseaudio-9.0-alt2 1469793979 installed <13>Apr 14 01:37:51 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 14 01:37:51 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 14 01:37:51 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Apr 14 01:37:51 rpmi: libavahi-0.6.31-alt7.M80P.1 1526318593 installed <13>Apr 14 01:37:51 rpmi: libcryptsetup-1.7.1-alt1 1456763325 installed <13>Apr 14 01:37:51 rpmi: hwclock-1:2.30.2-alt0.M80P.1 1522077023 installed <13>Apr 14 01:37:52 rpmi: udev-hwdb-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786259 installed <13>Apr 14 01:37:52 rpmi: hashalot-0.3-alt1.qa1 1366323553 installed <13>Apr 14 01:37:52 rpmi: losetup-2.30.2-alt0.M80P.1 1522077023 installed <13>Apr 14 01:37:52 rpmi: lsblk-2.30.2-alt0.M80P.1 1522077023 installed <13>Apr 14 01:37:52 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:37:52 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:37:52 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed <13>Apr 14 01:37:52 rpmi: automake_1.9-1:1.9.6-alt6 1449516872 installed <13>Apr 14 01:37:53 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:37:53 rpmi: libstdc++4.9-devel-4.9.2-alt5 1454577188 installed <13>Apr 14 01:37:53 rpmi: systemd-utils-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:37:53 rpmi: startup-0.9.9.5-alt1.2 1397832469 installed <13>Apr 14 01:37:53 rpmi: dmsetup-1.02.152-alt1 p8.216818.100 1542993609 installed <86>Apr 14 01:37:53 groupadd[78785]: group added to /etc/group: name=tape, GID=499 <86>Apr 14 01:37:53 groupadd[78785]: group added to /etc/gshadow: name=tape <86>Apr 14 01:37:53 groupadd[78785]: new group: name=tape, GID=499 <86>Apr 14 01:37:53 groupadd[78858]: group added to /etc/group: name=dialout, GID=498 <86>Apr 14 01:37:53 groupadd[78858]: group added to /etc/gshadow: name=dialout <86>Apr 14 01:37:53 groupadd[78858]: new group: name=dialout, GID=498 <86>Apr 14 01:37:53 groupadd[78913]: group added to /etc/group: name=input, GID=497 <86>Apr 14 01:37:53 groupadd[78913]: group added to /etc/gshadow: name=input <86>Apr 14 01:37:53 groupadd[78913]: new group: name=input, GID=497 <86>Apr 14 01:37:53 groupadd[78983]: group added to /etc/group: name=video, GID=496 <86>Apr 14 01:37:53 groupadd[78983]: group added to /etc/gshadow: name=video <86>Apr 14 01:37:53 groupadd[78983]: new group: name=video, GID=496 <86>Apr 14 01:37:53 groupadd[79013]: group added to /etc/group: name=render, GID=495 <86>Apr 14 01:37:53 groupadd[79013]: group added to /etc/gshadow: name=render <86>Apr 14 01:37:53 groupadd[79013]: new group: name=render, GID=495 <13>Apr 14 01:37:53 rpmi: udev-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:37:53 rpmi: udev-extras-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:37:53 rpmi: pulseaudio-daemon-9.0-alt2 1469793979 installed Installing Maelstrom-3.0.6-alt3.1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.44694 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf Maelstrom-3.0.6 + echo 'Source #0 (Maelstrom-3.0.6.tar.gz):' Source #0 (Maelstrom-3.0.6.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/Maelstrom-3.0.6.tar.gz + /bin/tar -xf - + cd Maelstrom-3.0.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (Maelstrom-dirs.patch):' Patch #1 (Maelstrom-dirs.patch): + /usr/bin/patch -p1 patching file Makefile.am patching file configure.in + echo 'Patch #2 (Maelstrom-amfix.patch):' Patch #2 (Maelstrom-amfix.patch): + /usr/bin/patch -p1 patching file Makefile.am + echo 'Patch #3 (Maelstrom-sec.patch):' Patch #3 (Maelstrom-sec.patch): + /usr/bin/patch -p1 patching file controls.cpp patching file dialog.h patching file load.cpp patching file maclib/Mac_FontServ.h patching file maclib/Mac_Resource.h patching file maclib/Mac_Sound.h patching file maclib/Mac_Wave.h patching file maclib/macres.cpp patching file maclib/snd2wav.cpp patching file main.cpp patching file myerror.cpp patching file netlogic/game.cpp patching file netlogic/netplay.cpp patching file netscore.cpp patching file screenlib/SDL_FrameBuf.cpp patching file screenlib/SDL_FrameBuf.h + echo 'Patch #10 (Maelstrom-3.0.5-setgid.patch):' Patch #10 (Maelstrom-3.0.5-setgid.patch): + /usr/bin/patch -p1 -b --suffix .setgid patching file scores.cpp patching file main.cpp patching file Maelstrom_Globals.h + echo 'Patch #11 (maelstrom-gcc34.patch):' Patch #11 (maelstrom-gcc34.patch): + /usr/bin/patch -p1 -b --suffix .gcc34 patching file buttonlist.h + echo 'Patch #12 (Maelstrom-3.0.6-64bit.patch):' Patch #12 (Maelstrom-3.0.6-64bit.patch): + /usr/bin/patch -p1 -b --suffix .64bit patching file screenlib/SDL_FrameBuf.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.44694 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd Maelstrom-3.0.6 + rm -f missing + touch NEWS AUTHORS ChangeLog Makefile.in + aclocal aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:11: warning: underquoted definition of AM_PATH_SDL acinclude.m4:11: run info Automake 'Extending aclocal' acinclude.m4:11: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal + autoconf + automake -a -f automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:9: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:14: installing './compile' configure.in:9: installing './missing' Makefile.am: installing './depcomp' automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + sort -u + 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 + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for SDLNet_Init in -lSDL_net... yes checking for RSA checksum authentication... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating netlogic/Makefile config.status: creating screenlib/Makefile config.status: creating maclib/Makefile config.status: creating Images/Makefile config.status: creating Docs/Makefile config.status: creating Maelstrom.spec config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + /usr/bin/make make: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' Making all in netlogic make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/netlogic' x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o about.o about.cpp In file included from about.cpp:4:0: ../load.h: In member function 'const char* LibPath::Path(const char*)': ../load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ about.cpp: In function 'void DoAbout()': about.cpp:101:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Can't load 'about' title! (ID=%d)\n", idOn); ^ about.cpp:182:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Can't use New York(18) font! -- Exiting.\n"); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o blit.o blit.cpp blit.cpp: In function 'int RunFrame()': blit.cpp:26:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Game aborted!\n"); ^ blit.cpp:93:7: warning: variable 'shakeV' set but not used [-Wunused-but-set-variable] int shakeV; ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o game.o game.cpp In file included from game.cpp:7:0: ../load.h: In member function 'const char* LibPath::Path(const char*)': ../load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ game.cpp: In function 'void DrawStatus(Bool, Bool)': game.cpp:204:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:207:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:210:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:213:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:216:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:221:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] STYLE_BOLD, 30000>>8, 30000>>8, 0xFF); ^ game.cpp: In function 'void NewGame()': game.cpp:450:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ game.cpp: In function 'void DoGameOver()': game.cpp:733:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load 'gameover' title!\n"); ^ game.cpp:743:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York font! -- Exiting.\n"); ^ game.cpp:792:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York font! -- Exiting.\n"); ^ game.cpp:799:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newyork, STYLE_NORM, 30000>>8, 30000>>8, 0xFF); ^ game.cpp: In function 'void DoBonus()': game.cpp:911:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:918:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o logic.o logic.cpp logic.cpp: In function 'void LogicUsage()': logic.cpp:15:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ); ^ logic.cpp: In function 'int LogicParseArgs(char***, int*)': logic.cpp:39:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "The '-player' option requires an argument!\n"); ^ logic.cpp:52:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("The '-server' option requires an argument!\n"); ^ logic.cpp:33:9: warning: unused variable 'argc' [-Wunused-variable] int argc = *argcptr; ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o make.o make.cpp make.cpp: In function 'void MakeGravity()': make.cpp:223:20: warning: variable 'rx' set but not used [-Wunused-but-set-variable] int newsprite, i, rx; ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o netplay.o netplay.cpp netplay.cpp: In function 'int InitNetData()': netplay.cpp:61:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("NetLogic: Couldn't initialize networking!\n"); ^ netplay.cpp:70:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Out of memory (creating network buffers)\n"); ^ netplay.cpp: In function 'int AddPlayer(char*)': netplay.cpp:119:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] MAX_PLAYERS); ^ netplay.cpp:125:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Player %d specified multiple times!\r\n", playernum+1); ^ netplay.cpp:137:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't resolve host name for %s\r\n", host); ^ netplay.cpp:144:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gOurPlayer+1, playernum+1); ^ netplay.cpp: In function 'int SetServer(char*)': netplay.cpp:166:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Server host must be specified in the -server option.\r\n"); ^ netplay.cpp:178:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] MAX_PLAYERS); ^ netplay.cpp:190:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't resolve host name for %s\r\n", host); ^ netplay.cpp: In function 'int CheckPlayers()': netplay.cpp:213:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] AddPlayer("1"); ^ netplay.cpp:220:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Player %d not specified! Use the -player option for all players.\r\n", i+1); ^ netplay.cpp:226:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Which player are you? (Use the -player N option)\r\n"); ^ netplay.cpp:231:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gOurPlayer+1, gNumPlayers); ^ netplay.cpp:235:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: No deathmatch in a single player game!\r\n"); ^ netplay.cpp:243:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't create bound network socket"); ^ netplay.cpp:248:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't create socket watch set"); ^ netplay.cpp: In function 'int SyncNetwork()': netplay.cpp:323:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Timed out waiting for frame %ld\r\n", NextFrame); ^ netplay.cpp:337:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Network error: SDLNet_UDP_Recv()"); ^ netplay.cpp:353:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown packet: 0x%x\n", buf[0]); ^ netplay.cpp:357:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Packet from unknown source\n"); ^ In file included from /usr/include/SDL/SDL_audio.h:33:0, from /usr/include/SDL/SDL.h:32, from /usr/include/SDL/SDL_net.h:27, from netplay.cpp:6: /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:191:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^ netplay.cpp:368:11: note: in expansion of macro 'SDLNet_Read32' frame = SDLNet_Read32(&buf[1]); ^ netplay.cpp:373:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Transmitting packet for old frame (%lu)\r\n", frame); ^ netplay.cpp:377:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] frame, NextFrame); ^ netplay.cpp:389:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] frame, NextFrame); ^ In file included from /usr/include/SDL/SDL_audio.h:33:0, from /usr/include/SDL/SDL.h:32, from /usr/include/SDL/SDL_net.h:27, from netplay.cpp:6: /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:191:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^ netplay.cpp:395:20: note: in expansion of macro 'SDLNet_Read32' Uint32 newseed = SDLNet_Read32(&buf[1+sizeof(frame)]); ^ netplay.cpp:400:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning!! \a Frame consistency error with player %d!! (corrected)\r\n", index+1); ^ netplay.cpp: In function 'int AlertServer(int*, int*, int*)': netplay.cpp:509:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Message("Connecting to Address Server"); ^ netplay.cpp:512:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ErrorMessage("Connection failed"); ^ netplay.cpp:518:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message = "Couldn't create socket set"; ^ netplay.cpp:531:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message = "Socket write error"; ^ netplay.cpp:535:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Message("Waiting for other players"); ^ netplay.cpp:561:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message = "Error reading player addresses"; ^ netplay.cpp:573:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message = "Error: Short server packet!"; ^ In file included from /usr/include/SDL/SDL_audio.h:33:0, from /usr/include/SDL/SDL.h:32, from /usr/include/SDL/SDL_net.h:27, from netplay.cpp:6: /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:191:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^ netplay.cpp:580:13: note: in expansion of macro 'SDLNet_Read32' *Wave = SDLNet_Read32(&netbuf[len]); ^ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:191:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^ netplay.cpp:582:13: note: in expansion of macro 'SDLNet_Read32' lives = SDLNet_Read32(&netbuf[len]); ^ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:191:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^ netplay.cpp:588:12: note: in expansion of macro 'SDLNet_Read32' seed = SDLNet_Read32(&netbuf[len]); ^ netplay.cpp: In function 'int Send_NewGame(int*, int*, int*)': netplay.cpp:704:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ErrorMessage("Network error receiving packets"); ^ netplay.cpp: In function 'int Await_NewGame(int*, int*, int*)': netplay.cpp:760:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Message("Awaiting Player 1 (server)"); ^ netplay.cpp:781:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ErrorMessage("Network error receiving packets"); ^ In file included from /usr/include/SDL/SDL_audio.h:33:0, from /usr/include/SDL/SDL.h:32, from /usr/include/SDL/SDL_net.h:27, from netplay.cpp:6: /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:191:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^ netplay.cpp:797:11: note: in expansion of macro 'SDLNet_Read32' *Wave = SDLNet_Read32(&netbuf[len]); ^ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:191:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^ netplay.cpp:799:11: note: in expansion of macro 'SDLNet_Read32' lives = SDLNet_Read32(&netbuf[len]); ^ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:191:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^ netplay.cpp:805:10: note: in expansion of macro 'SDLNet_Read32' seed = SDLNet_Read32(&netbuf[len]); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o object.o object.cpp x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o objects.o objects.cpp x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o player.o player.cpp rm -f liblogic.a ar cru liblogic.a about.o blit.o game.o logic.o make.o netplay.o object.o objects.o player.o ranlib liblogic.a make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/netlogic' Making all in screenlib make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/screenlib' x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o SDL_FrameBuf.o SDL_FrameBuf.cpp SDL_FrameBuf.cpp: In member function 'int FrameBuf::Init(int, int, Uint32, SDL_Color*, SDL_Surface*)': SDL_FrameBuf.cpp:107:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] width, height, SDL_GetError()); ^ SDL_FrameBuf.cpp:111:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrintSurface("Created foreground", screenfg); ^ SDL_FrameBuf.cpp:120:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Couldn't create background: %s", SDL_GetError()); ^ SDL_FrameBuf.cpp:123:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrintSurface("Created background", screenbg); ^ SDL_FrameBuf.cpp: In member function 'int FrameBuf::ScreenDump(char*, Uint16, Uint16, Uint16, Uint16)': SDL_FrameBuf.cpp:642:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("%s", SDL_GetError()); ^ SDL_FrameBuf.cpp: In member function 'SDL_Surface* FrameBuf::LoadImage(Uint16, Uint16, Uint8*, Uint8*)': SDL_FrameBuf.cpp:665:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Couldn't create artwork: %s", SDL_GetError()); ^ SDL_FrameBuf.cpp:706:12: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] m <<= 1; ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o pixel.o pixel.cpp rm -f libSDLscreen.a ar cru libSDLscreen.a SDL_FrameBuf.o pixel.o ranlib libSDLscreen.a make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/screenlib' Making all in maclib make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/maclib' x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o Mac_FontServ.o Mac_FontServ.cpp Mac_FontServ.cpp: In constructor 'FontServ::FontServ(const char*)': Mac_FontServ.cpp:80:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Couldn't load resources from %s", fontfile); ^ Mac_FontServ.cpp:84:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("FontServ: No 'FOND' resources in %s", fontfile); ^ Mac_FontServ.cpp: In member function 'MFont* FontServ::NewFont(const char*, int)': Mac_FontServ.cpp:116:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Warning: Font family '%s' not found", fontname); ^ Mac_FontServ.cpp:148:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fontname, ptsize); ^ Mac_FontServ.cpp:158:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Can't find NFNT resource for %d pt %s font", ptsize, fontname); ^ Mac_FontServ.cpp:185:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (font->header)->fontType); ^ Mac_FontServ.cpp: In member function 'SDL_Surface* FontServ::TextImage(const char*, MFont*, Uint8, SDL_Color, SDL_Color)': Mac_FontServ.cpp:288:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "FontServ: Italics not implemented!"); ^ Mac_FontServ.cpp:291:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "FontServ: Unknown text style!"); ^ Mac_FontServ.cpp:329:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("No text to convert"); ^ Mac_FontServ.cpp:337:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Unable to allocate bitmap: %s", SDL_GetError()); ^ Mac_FontServ.cpp: In member function 'int FontServ::InvertText(SDL_Surface*)': Mac_FontServ.cpp:409:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Not a text bitmap"); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o Mac_Resource.o Mac_Resource.cpp In file included from Mac_Resource.cpp:45:0: applefile.h:78:32: warning: "/*" within comment [-Wcomment] /* 0x0010 /* reserved (System 7) */ ^ applefile.h:83:33: warning: "/*" within comment [-Wcomment] /* 0x0200 /* reserved (System 7) */ ^ applefile.h:142:33: warning: "/*" within comment [-Wcomment] /* 7 /* not used */ ^ applefile.h:333:33: warning: "/*" within comment [-Wcomment] /* Uint8 filedata[]; /* followed by rest of file */ ^ Mac_Resource.cpp: In function 'FILE* Open_MacRes(char**, Uint32*)': Mac_Resource.cpp:197:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] dirname = ""; ^ Mac_Resource.cpp: In constructor 'Mac_Resource::Mac_Resource(const char*)': Mac_Resource.cpp:271:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't open resource file '%s'", filename); ^ Mac_Resource.cpp:280:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't read resource info from '%s'", filename); ^ Mac_Resource.cpp:291:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't read resource info from '%s'", filename); ^ Mac_Resource.cpp:310:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] filename); ^ Mac_Resource.cpp:336:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] filename); ^ Mac_Resource.cpp: In member function 'Uint16* Mac_Resource::ResourceIDs(const char*)': Mac_Resource.cpp:437:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't find resources of type '%s'", res_type); ^ Mac_Resource.cpp: In member function 'char* Mac_Resource::ResourceName(const char*, Uint16)': Mac_Resource.cpp:454:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't find resource of type '%s', id %hu", res_type, id); ^ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, Uint16)': Mac_Resource.cpp:481:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't read %d bytes", d->length); ^ Mac_Resource.cpp:491:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't find resource of type '%s', id %hu", res_type, id); ^ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, const char*)': Mac_Resource.cpp:518:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't read %d bytes", d->length); ^ Mac_Resource.cpp:528:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't find resource of type '%s', name %s", res_type, name); ^ Mac_Resource.cpp: In constructor 'Mac_Resource::Mac_Resource(const char*)': Mac_Resource.cpp:357:34: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&name_len, 1, 1, filep); ^ Mac_Resource.cpp:360:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 1, name_len, filep); ^ Mac_Resource.cpp: In function 'void CheckAppleFile(FILE*, Uint32*)': Mac_Resource.cpp:130:43: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] sizeof(header.versionNum), 1, resfile); ^ Mac_Resource.cpp:133:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] sizeof(header.filler), 1, resfile); ^ Mac_Resource.cpp:135:43: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] sizeof(header.numEntries), 1, resfile); ^ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, Uint16)': Mac_Resource.cpp:476:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&d->length, 4, 1, filep); ^ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, const char*)': Mac_Resource.cpp:513:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&d->length, 4, 1, filep); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o Mac_Sound.o Mac_Sound.cpp Mac_Sound.cpp: In constructor 'Sound::Sound(const char*, Uint8)': Mac_Sound.cpp:110:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", soundres->Error()); ^ Mac_Sound.cpp:114:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("No sound resources in '%s'", soundfile); ^ Mac_Sound.cpp:122:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", soundres->Error()); ^ Mac_Sound.cpp:128:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", wave->Error()); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o Mac_Wave.o Mac_Wave.cpp Mac_Wave.cpp: In member function 'int Wave::Load(const char*, Uint16)': Mac_Wave.cpp:117:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", SDL_GetError()); ^ Mac_Wave.cpp: In member function 'int Wave::Load(Mac_ResData*, Uint16)': Mac_Wave.cpp:182:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Multi-type sound not supported"); ^ Mac_Wave.cpp:187:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Not a sampled sound resource"); ^ Mac_Wave.cpp:196:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown sound format: 0x%X", snd_version); ^ Mac_Wave.cpp:209:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Multi-command sound not supported"); ^ Mac_Wave.cpp:214:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown sound command: 0x%X\n", command); ^ Mac_Wave.cpp:223:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Offset too large -- corrupt sound?"); ^ Mac_Wave.cpp:241:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Sound samples don't immediately follow header"); ^ Mac_Wave.cpp:251:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Non-standard sound encoding: 0x%X", encoding); ^ Mac_Wave.cpp:259:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("truncated sound resource"); ^ Mac_Wave.cpp:236:10: warning: variable 'freq_base' set but not used [-Wunused-but-set-variable] Uint8 freq_base; ^ Mac_Wave.cpp: In member function 'int Wave::Save(char*)': Mac_Wave.cpp:531:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't open %s for writing", wavefile); ^ Mac_Wave.cpp:566:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't write to %s", wavefile); ^ rm -f libSDLmac.a ar cru libSDLmac.a Mac_FontServ.o Mac_Resource.o Mac_Sound.o Mac_Wave.o ranlib libSDLmac.a x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o macres.o macres.cpp x86_64-alt-linux-g++ -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -o macres macres.o libSDLmac.a -lSDL -lpthread -lSDL_net x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o playwave.o playwave.cpp playwave.cpp: In function 'int main(int, char**)': playwave.cpp:162:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'Uint32 {aka unsigned int}' [-Wformat=] wave->Stereo() ? "stereo" : "mono", wave->Frequency()); ^ x86_64-alt-linux-g++ -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -o playwave playwave.o libSDLmac.a -lSDL -lpthread -lSDL_net x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o snd2wav.o snd2wav.cpp x86_64-alt-linux-g++ -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -o snd2wav snd2wav.o libSDLmac.a -lSDL -lpthread -lSDL_net make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/maclib' make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o checksum.o checksum.cpp checksum.cpp: In function 'char* get_checksum(unsigned char*, int)': checksum.cpp:264:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *foo = "Checksum Not Enabled"; ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o controls.o controls.cpp In file included from controls.cpp:9:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ In file included from controls.cpp:10:0: dialog.h: In member function 'virtual void Mac_RadioList::Add_Radio(int, int, char*)': dialog.h:405:43: warning: declaration 'struct Mac_RadioList::radio' does not declare anything radio->next = new struct Mac_RadioList::radio; ^ controls.cpp: In function 'void KeyName(SDLKey, char*)': controls.cpp:43:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = "up arrow"; ^ controls.cpp:46:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = "down arrow"; ^ controls.cpp:49:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = "right arrow"; ^ controls.cpp:52:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = "left arrow"; ^ controls.cpp: In function 'FILE* OpenData(char*, char**)': controls.cpp:78:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] home = CUR_DIR; ^ controls.cpp:80:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] home=""; ^ controls.cpp: In function 'void LoadControls()': controls.cpp:98:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] data = OpenData("r", &datafile); ^ controls.cpp:106:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Data file '%s' is corrupt! (will fix)\n", datafile); ^ controls.cpp: In function 'void SaveControls()': controls.cpp:122:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( (data=OpenData("r", NULL)) != NULL ) { ^ controls.cpp:123:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newmode = "r+"; ^ controls.cpp:126:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newmode = "w"; ^ controls.cpp:129:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: Couldn't save controls to %s\n", datafile); ^ controls.cpp: At global scope: controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp: In function 'void ConfigureControls()': controls.cpp:263:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ controls.cpp:267:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load configuration splash!\n"); ^ controls.cpp:284:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel_callback); ^ controls.cpp:288:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "OK", chicago, fontserv, OK_callback); ^ controls.cpp: In function 'void HandleEvent(SDL_Event*)': controls.cpp:426:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0, 0, 0, 0); ^ controls.cpp: In function 'void ShowDawn()': controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:521:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ controls.cpp:525:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load alien dawn splash!\n"); ^ controls.cpp:544:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "OK", chicago, fontserv, NULL); ^ controls.cpp: In function 'void LoadControls()': controls.cpp:110:51: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gSoundLevel, sizeof(gSoundLevel), 1, data); ^ controls.cpp:111:45: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&controls, sizeof(controls), 1, data); ^ controls.cpp:112:55: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gGammaCorrect, sizeof(gGammaCorrect), 1, data); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o dialog.o dialog.cpp In file included from dialog.cpp:2:0: dialog.h: In member function 'virtual void Mac_RadioList::Add_Radio(int, int, char*)': dialog.h:405:43: warning: declaration 'struct Mac_RadioList::radio' does not declare anything radio->next = new struct Mac_RadioList::radio; ^ dialog.cpp: In constructor 'Mac_Button::Mac_Button(int, int, int, int, char*, MFont*, FontServ*, int (*)())': dialog.cpp:32:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("%s", SDL_GetError()); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o fastrand.o fastrand.cpp x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o init.o init.cpp In file included from init.cpp:11:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ init.cpp: In function 'void DoSplash()': init.cpp:68:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load Ambrosia splash title! (ID=%d)\n", 999); ^ init.cpp: In function 'void DoIntroScreen()': init.cpp:89:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load intro title! (ID=%d)\n", 130); ^ init.cpp:117:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: %s\n", fontserv->Error()); ^ init.cpp: In function 'int DoInitializations(Uint32)': init.cpp:732:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't initialize SDL: %s\n", SDL_GetError()); ^ init.cpp:750:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SDL_JoystickName(0), SDL_GetError()); ^ init.cpp:758:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", fontserv->Error()); ^ init.cpp:765:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", sound->Error()); ^ init.cpp:772:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Fatal: Couldn't load icon: %s\n", SDL_GetError()); ^ init.cpp:780:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", screen->Error()); ^ init.cpp:783:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen->SetCaption("Maelstrom"); ^ init.cpp:826:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s\n", spriteres.Error()); ^ init.cpp: In function 'int LoadSprite(Mac_Resource*, Blit**, int, int)': init.cpp:1086:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't load ICN# resource!\n", baseID, index); ^ init.cpp:1094:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't load icl8 resource!\n", baseID, index); ^ init.cpp:1128:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't convert sprite image!\n", baseID, index); ^ init.cpp: In function 'int LoadSmallSprite(Mac_Resource*, Blit**, int, int)': init.cpp:1206:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSmallSprite(%d+%d): Couldn't load ics# resource!\n", baseID,index); ^ init.cpp:1214:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSmallSprite(%d+%d): Couldn't load ics8 resource!\n", baseID,index); ^ init.cpp:1248:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't convert sprite image!\n", baseID, index); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o load.o load.cpp In file included from load.cpp:7:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ load.cpp: In function 'SDL_Surface* GetCIcon(FrameBuf*, short int)': load.cpp:109:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cicn_id, path.Path(file)); ^ load.cpp:117:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); ^ load.cpp:124:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); ^ load.cpp:136:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Couldn't convert CICN!\n", cicn_id); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o main.o main.cpp In file included from main.cpp:17:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ main.cpp: At global scope: main.cpp:25:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Maelstrom v1.4.3 (GPL version 3.0.6) -- 10/19/2002 by Sam Lantinga\n"; ^ main.cpp: In function 'void RunSpeedTest()': main.cpp:145:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((now-then)/test_reps)); ^ main.cpp: In function 'void PrintUsage()': main.cpp:155:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("\nUsage: %s [-netscores] -printscores\n", progname); ^ main.cpp:156:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("or\n"); ^ main.cpp:157:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Usage: %s \n\n", progname); ^ main.cpp:163:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ); ^ main.cpp:165:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("\n"); ^ main.cpp: In function 'int main(int, char**)': main.cpp:187:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Unable to set effective group ID to the group id. -- Exiting.\n"); ^ main.cpp:216:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGammaCorrect); ^ main.cpp:222:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Gamma correction value must be between 0 and 8. -- Exiting.\n"); ^ main.cpp:237:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSoundLevel); ^ main.cpp:242:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Volume must be a number between 0 and 8. -- Exiting.\n"); ^ main.cpp:255:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mesg("Checksum = %s\n", get_checksum(NULL, 0)); ^ main.cpp:268:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", Version); ^ main.cpp:386:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 64, 48, 298, 384); ^ main.cpp: In function 'void DrawSoundLevel()': main.cpp:450:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp: In function 'void DrawMainScreen()': main.cpp:492:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load 'title' title! (ID=%d)\n", 129); ^ main.cpp:527:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York (18) font! -- Exiting.\n"); ^ main.cpp:531:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ main.cpp:534:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ main.cpp:538:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ main.cpp:544:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York (14) font! -- Exiting.\n"); ^ main.cpp:574:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] bigfont, STYLE_NORM, 0xFF, 0xFF, 0xFF); ^ main.cpp:586:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "P", " Start playing Maelstrom", RunPlayGame); ^ main.cpp:586:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:590:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "C", " Configure the game controls", RunConfigureControls); ^ main.cpp:590:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:594:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "Z", " Zap the high scores", RunZapScores); ^ main.cpp:594:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:598:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "A", " About Maelstrom...", RunDoAbout); ^ main.cpp:598:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:604:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "Q", " Quit Maelstrom", RunQuitGame); ^ main.cpp:604:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:608:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "0", " ", DecrementSound); ^ main.cpp:608:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:611:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp:615:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font, STYLE_NORM, 0xFF, 0xFF, 0x00); ^ main.cpp:618:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "8", " Set Sound Volume", IncrementSound); ^ main.cpp:618:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:623:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font, STYLE_BOLD, 0xFF, 0xFF, 0x00); ^ main.cpp:625:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font, STYLE_BOLD, 0xFF, 0xFF, 0xFF); ^ main.cpp:630:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font, STYLE_NORM, 0xFF, 0xFF, 0xFF); ^ main.cpp: In function 'void DrawKey(MPoint*, char*, char*, void (*)())': main.cpp:650:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp: In function 'void Message(char*)': main.cpp:677:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York(14) font! -- Exiting.\n"); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o myerror.o myerror.cpp x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o netscore.o netscore.cpp netscore.cpp: In function 'void RegisterHighScore(Scores)': netscore.cpp:27:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); ^ netscore.cpp:30:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); ^ netscore.cpp:31:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("-- High Score not registered.\r\n"); ^ netscore.cpp:42:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: Score Server protocol error.\r\n"); ^ netscore.cpp:43:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("-- High Score not registered.\r\n"); ^ netscore.cpp:54:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: short authentication key.\n"); ^ netscore.cpp:68:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("New high score was rejected: %s", netbuf); ^ netscore.cpp: In function 'int NetLoadScores()': netscore.cpp:124:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); ^ netscore.cpp:127:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); ^ netscore.cpp:171:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't read complete score list!\r\n"); ^ netscore.cpp:172:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Line was: %s", netbuf); ^ x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o rect.o rect.cpp x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o scores.o scores.cpp In file included from scores.cpp:16:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ In file included from scores.cpp:17:0: dialog.h: In member function 'virtual void Mac_RadioList::Add_Radio(int, int, char*)': dialog.h:405:43: warning: declaration 'struct Mac_RadioList::radio' does not declare anything radio->next = new struct Mac_RadioList::radio; ^ scores.cpp: In function 'void LoadScores()': scores.cpp:43:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mesg("Using local score file\n\n"); ^ scores.cpp:54:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Unable to set group ID to the effective group id. -- Exiting.\n"); ^ scores.cpp:69:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Unable to set group ID to that of the user. -- Exiting.\n"); ^ scores.cpp: In function 'void SaveScores()': scores.cpp:97:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Unable to set group ID to the effective group id. -- Exiting.\n"); ^ scores.cpp:111:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] path.Path(MAELSTROM_SCORES)); ^ scores.cpp:115:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Unable to set group ID to that of the user. -- Exiting.\n"); ^ scores.cpp: In function 'int ZapHighScores()': scores.cpp:166:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ scores.cpp:170:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load score zapping splash!\n"); ^ scores.cpp:179:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Clear", chicago, fontserv, Clear_callback); ^ scores.cpp:183:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel_callback); ^ scores.cpp: In function 'int GetStartLevel()': scores.cpp:219:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Enter the level to start from (1-40). This"; ^ scores.cpp:221:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "disqualifies you from a high score..."; ^ scores.cpp:222:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *Ltext3 = "Level:"; ^ scores.cpp:223:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *Ltext4 = "Lives:"; ^ scores.cpp:228:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *turbotext = "Turbofunk On"; ^ scores.cpp:238:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ scores.cpp:242:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load alien level splash!\n"); ^ scores.cpp:261:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel2_callback); ^ scores.cpp:264:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Do it!", chicago, fontserv, Level_callback); ^ x86_64-alt-linux-g++ -pipe -Wall -g -O2 -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -o Maelstrom checksum.o controls.o dialog.o fastrand.o init.o load.o main.o myerror.o netscore.o rect.o scores.o netlogic/liblogic.a screenlib/libSDLscreen.a maclib/libSDLmac.a -lm -lSDL -lpthread -lSDL_net x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o Maelstrom-netd.o Maelstrom-netd.c Maelstrom-netd.c: In function 'DisconnectPlayer': Maelstrom-netd.c:48:10: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] (void) free(players[which].packet); ^ Maelstrom-netd.c:48:10: warning: incompatible implicit declaration of built-in function 'free' Maelstrom-netd.c:48:10: note: include '' or provide a declaration of 'free' Maelstrom-netd.c: In function 'SendError': Maelstrom-netd.c:62:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(3); ^ Maelstrom-netd.c:62:3: warning: incompatible implicit declaration of built-in function 'exit' Maelstrom-netd.c:62:3: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: In function 'Fatal': Maelstrom-netd.c:82:2: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^ Maelstrom-netd.c:82:2: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: In function 'CheckPlayers': Maelstrom-netd.c:91:8: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] now = time(NULL); ^ Maelstrom-netd.c: In function 'CheckNewGame': Maelstrom-netd.c:127:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buffer, ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from Maelstrom-netd.c:4: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ Maelstrom-netd.c:157:24: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] strcpy(ptr, (char *)inet_ntoa(player->raddr.sin_addr)); ^ Maelstrom-netd.c:157:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strcpy(ptr, (char *)inet_ntoa(player->raddr.sin_addr)); ^ Maelstrom-netd.c: In function 'I_Crashed': Maelstrom-netd.c:181:2: warning: incompatible implicit declaration of built-in function 'exit' exit(sig); ^ Maelstrom-netd.c:181:2: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: At top level: Maelstrom-netd.c:184:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char *argv[]) ^ Maelstrom-netd.c: In function 'main': Maelstrom-netd.c:198:3: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^ Maelstrom-netd.c:198:3: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:207:3: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^ Maelstrom-netd.c:207:3: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:211:3: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^ Maelstrom-netd.c:211:3: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:250:5: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^ Maelstrom-netd.c:250:5: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:266:5: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^ Maelstrom-netd.c:266:5: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:272:28: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] &players[slot].raddr, &clilen)) < 0 ) { ^ In file included from Maelstrom-netd.c:10:0: /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ Maelstrom-netd.c:274:5: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^ Maelstrom-netd.c:274:5: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:367:8: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] printf(" the remote address is %s:%lu\n", ^ Maelstrom-netd.c:367:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] Maelstrom-netd.c: In function 'SendError': Maelstrom-netd.c:68:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(players[which].sockfd, mesgbuf, mesglen); ^ Maelstrom-netd.c: In function 'CheckNewGame': Maelstrom-netd.c:169:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(players[positions[i]].sockfd, buffer, len); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -o Maelstrom-netd Maelstrom-netd.o -lSDL -lpthread -lSDL_net make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' make: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.28799 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/Maelstrom-buildroot + : + /bin/rm -rf -- /usr/src/tmp/Maelstrom-buildroot + cd Maelstrom-3.0.6 + /usr/bin/make install DESTDIR=/usr/src/tmp/Maelstrom-buildroot make: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' Making install in netlogic make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/netlogic' make[2]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/netlogic' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/netlogic' make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/netlogic' Making install in screenlib make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/screenlib' make[2]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/screenlib' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/screenlib' make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/screenlib' Making install in maclib make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/maclib' make[2]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/maclib' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/maclib' make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/maclib' make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' make[2]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' /bin/mkdir -p '/usr/src/tmp/Maelstrom-buildroot/usr/bin' /bin/install -c Maelstrom Maelstrom-netd '/usr/src/tmp/Maelstrom-buildroot/usr/bin' make install_gamedata target=/usr/share/Maelstrom make[3]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' sh mkinstalldirs /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/ mkdir -p -- /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/ cp -rv Images \ Maelstrom_Fonts \ Maelstrom_Sounds \ Maelstrom_Sprites \ Maelstrom-Scores \ icon.bmp icon.xpm /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/ 'Images' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images' 'Images/Maelstrom_Icon#101.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#101.cicn' 'Images/Maelstrom_Icon#102.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#102.cicn' 'Images/Maelstrom_Icon#103.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#103.cicn' 'Images/Maelstrom_Icon#104.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#104.cicn' 'Images/Maelstrom_Titles#999.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#999.bmp' 'Images/Maelstrom_Icon#110.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#110.cicn' 'Images/Maelstrom_Icon#128.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#128.cicn' 'Images/Maelstrom_Icon#129.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#129.cicn' 'Images/Maelstrom_Icon#130.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#130.cicn' 'Images/Maelstrom_Icon#131.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#131.cicn' 'Images/Maelstrom_Icon#132.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#132.cicn' 'Images/Maelstrom_Icon#133.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#133.cicn' 'Images/Maelstrom_Icon#134.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#134.cicn' 'Images/Maelstrom_Icon#135.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#135.cicn' 'Images/Maelstrom_Icon#136.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#136.cicn' 'Images/Makefile.in' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Makefile.in' 'Images/Maelstrom_Icon#137.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#137.cicn' 'Images/Maelstrom_Titles#100.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#100.bmp' 'Images/Maelstrom_Titles#101.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#101.bmp' 'Images/Maelstrom_Titles#102.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#102.bmp' 'Images/Maelstrom_Titles#128.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#128.bmp' 'Images/Maelstrom_Titles#129.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#129.bmp' 'Images/Maelstrom_Titles#130.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#130.bmp' 'Images/Maelstrom_Titles#133.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#133.bmp' 'Images/Maelstrom_Titles#134.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#134.bmp' 'Images/Maelstrom_Titles#135.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Titles#135.bmp' 'Images/Maelstrom_Icon#100.cicn' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Maelstrom_Icon#100.cicn' 'Images/Makefile' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Makefile' 'Maelstrom_Fonts' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Maelstrom_Fonts' 'Maelstrom_Sounds' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Maelstrom_Sounds' 'Maelstrom_Sprites' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Maelstrom_Sprites' 'Maelstrom-Scores' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Maelstrom-Scores' 'icon.bmp' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/icon.bmp' 'icon.xpm' -> '/usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/icon.xpm' chmod 666 /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Maelstrom-Scores make[3]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' make[2]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' make: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6' + rm -f /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Makefile /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Images/Makefile.in + rm -f Docs/Makefile Docs/Makefile.in + /bin/install -d /usr/src/tmp/Maelstrom-buildroot/var/lib/games + /bin/mv -f /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Maelstrom-Scores /usr/src/tmp/Maelstrom-buildroot/var/lib/games/ + ln -s -f /var/lib/games/Maelstrom-Scores /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/ + rm -f /usr/src/tmp/Maelstrom-buildroot/usr/bin/macres /usr/src/tmp/Maelstrom-buildroot/usr/bin/playwave /usr/src/tmp/Maelstrom-buildroot/usr/bin/snd2wav + /bin/install -pD /usr/src/RPM/SOURCES/Maelstrom.desktop /usr/src/tmp/Maelstrom-buildroot/usr/share/applications/Maelstrom.desktop + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/Maelstrom-buildroot (auto) Verifying and fixing files in /usr/src/tmp/Maelstrom-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/Maelstrom-buildroot (auto) Adjusting library links in /usr/src/tmp/Maelstrom-buildroot ./var/lib: Verifying ELF objects in /usr/src/tmp/Maelstrom-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: Maelstrom-3.0.6-alt3.1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.88053 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd Maelstrom-3.0.6 + DOCDIR=/usr/src/tmp/Maelstrom-buildroot/usr/share/doc/Maelstrom-3.0.6 + export DOCDIR + rm -rf /usr/src/tmp/Maelstrom-buildroot/usr/share/doc/Maelstrom-3.0.6 + /bin/mkdir -p /usr/src/tmp/Maelstrom-buildroot/usr/share/doc/Maelstrom-3.0.6 + cp -prL README README.joystick README.network README.options Changelog CREDITS Docs /usr/src/tmp/Maelstrom-buildroot/usr/share/doc/Maelstrom-3.0.6 + chmod -R go-w /usr/src/tmp/Maelstrom-buildroot/usr/share/doc/Maelstrom-3.0.6 + chmod -R a+rX /usr/src/tmp/Maelstrom-buildroot/usr/share/doc/Maelstrom-3.0.6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.58dbiA find-provides: absolute symbolic link /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Maelstrom-Scores -> /var/lib/games/Maelstrom-Scores is not going to provide anything find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uqr3D6 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib64/ld-linux-x86-64.so.2, libSDL-1.2.so.0()(64bit) >= set:lf0KsyCto3wK229VvNXeZ816AeXZAyRvo9MVYvuNQYhcsEDX3h7DzOJtggTqoIt43jpJIgBD1RZ2G4x1fOTlbVek4hzXiOp4PVWF5slFY4, libSDL_net-1.2.so.0()(64bit) >= set:je8XlnNNcrl2Ld2BT28BW5zz0h70J8eaqeOxO50, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), 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.jBY2uI Creating Maelstrom-debuginfo package Processing files: Maelstrom-debuginfo-3.0.6-alt3.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.USiban find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DsyoA4 find-requires: running scripts (debuginfo) Requires: Maelstrom = 3.0.6-alt3.1.qa1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libSDL_net-1.2.so.0), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libpthread.so.0), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/Maelstrom-3.0.6-alt3.1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/Maelstrom-debuginfo-3.0.6-alt3.1.qa1.x86_64.rpm 9.03user 1.34system 0:20.52elapsed 50%CPU (0avgtext+0avgdata 41692maxresident)k 0inputs+0outputs (0major+576642minor)pagefaults 0swaps 18.37user 4.24system 0:35.81elapsed 63%CPU (0avgtext+0avgdata 122264maxresident)k 0inputs+0outputs (0major+945490minor)pagefaults 0swaps