<86>May 9 08:51:06 userdel[3366476]: delete user 'rooter' <86>May 9 08:51:06 userdel[3366476]: removed group 'rooter' owned by 'rooter' <86>May 9 08:51:06 userdel[3366476]: removed shadow group 'rooter' owned by 'rooter' <86>May 9 08:51:06 groupadd[3366486]: group added to /etc/group: name=rooter, GID=630 <86>May 9 08:51:06 groupadd[3366486]: group added to /etc/gshadow: name=rooter <86>May 9 08:51:06 groupadd[3366486]: new group: name=rooter, GID=630 <86>May 9 08:51:06 useradd[3366494]: new user: name=rooter, UID=630, GID=630, home=/root, shell=/bin/bash <86>May 9 08:51:06 userdel[3366509]: delete user 'builder' <86>May 9 08:51:06 userdel[3366509]: removed group 'builder' owned by 'builder' <86>May 9 08:51:06 userdel[3366509]: removed shadow group 'builder' owned by 'builder' <86>May 9 08:51:06 groupadd[3366521]: group added to /etc/group: name=builder, GID=631 <86>May 9 08:51:06 groupadd[3366521]: group added to /etc/gshadow: name=builder <86>May 9 08:51:06 groupadd[3366521]: new group: name=builder, GID=631 <86>May 9 08:51:06 useradd[3366531]: new user: name=builder, UID=631, GID=631, home=/usr/src, shell=/bin/bash <13>May 9 08:51:11 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>May 9 08:51:11 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300646 installed <13>May 9 08:51:11 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586302007 installed <13>May 9 08:51:11 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>May 9 08:51:11 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>May 9 08:51:11 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212861 installed <13>May 9 08:51:11 rpmi: libaudiofile1-0.3.6-alt3 sisyphus+222710.100.1.1 1551006566 installed <13>May 9 08:51:11 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>May 9 08:51:11 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>May 9 08:51:11 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537501 installed <13>May 9 08:51:11 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>May 9 08:51:11 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353719 installed <13>May 9 08:51:11 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>May 9 08:51:11 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237675 installed <13>May 9 08:51:11 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237923 installed <13>May 9 08:51:11 rpmi: libsystemd-1:246.13-alt1 p9+265718.640.15.1 1618506331 installed <13>May 9 08:51:11 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>May 9 08:51:11 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>May 9 08:51:11 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>May 9 08:51:11 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>May 9 08:51:11 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>May 9 08:51:11 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>May 9 08:51:11 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>May 9 08:51:11 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333162 installed <13>May 9 08:51:11 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>May 9 08:51:11 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>May 9 08:51:11 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>May 9 08:51:11 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149111 installed <13>May 9 08:51:11 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>May 9 08:51:13 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>May 9 08:51:14 rpmi: libX11-devel-3:1.6.7-alt2 p9+258208.100.1.1 1600333162 installed <13>May 9 08:51:14 rpmi: libpulseaudio-14.2-alt2 p9+267988.100.1.1 1616060229 installed <13>May 9 08:51:14 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212861 installed <13>May 9 08:51:14 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>May 9 08:51:14 rpmi: libdrm-1:2.4.105-alt1 p9+269192.100.1.1 1617869786 installed <13>May 9 08:51:14 rpmi: libGLX-mesa-4:21.0.2-alt1 p9+269192.200.1.1 1617870176 installed <13>May 9 08:51:14 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>May 9 08:51:14 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>May 9 08:51:14 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>May 9 08:51:14 rpmi: libgbm-4:21.0.2-alt1 p9+269192.200.1.1 1617870176 installed <13>May 9 08:51:14 rpmi: libEGL-mesa-4:21.0.2-alt1 p9+269192.200.1.1 1617870176 installed <13>May 9 08:51:14 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>May 9 08:51:14 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>May 9 08:51:14 rpmi: libGL-devel-4:21.0.2-alt1 p9+269192.200.1.1 1617870176 installed <13>May 9 08:51:14 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>May 9 08:51:14 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>May 9 08:51:15 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 9 08:51:16 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 9 08:51:16 rpmi: alsa-ucm-conf-1.2.4-alt1 p9+250722.2300.14.1 1614269485 installed <13>May 9 08:51:16 rpmi: alsa-topology-conf-1.2.4-alt1 p9+250722.2200.14.1 1614269467 installed <13>May 9 08:51:16 rpmi: libalsa-1:1.2.4-alt1 p9+250722.2400.14.1 1614269556 installed <13>May 9 08:51:16 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>May 9 08:51:16 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>May 9 08:51:16 rpmi: libSDL_net-1.2.8-alt1 1333963614 installed <13>May 9 08:51:16 rpmi: libesd-0.2.41-alt10 p9+250722.3100.14.1 1614269949 installed <13>May 9 08:51:16 rpmi: esd-0.2.41-alt10 p9+250722.3100.14.1 1614269949 installed <13>May 9 08:51:16 rpmi: libSDL_net-devel-1.2.8-alt1 1333963614 installed <13>May 9 08:51:16 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>May 9 08:51:16 rpmi: libstdc++-devel-8-alt2 p9+246536.100.3.1 1582643803 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/Maelstrom-3.0.6-alt3.1.qa1.nosrc.rpm (w1.gzdio) Installing Maelstrom-3.0.6-alt3.1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.9402 + 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.97361 + 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 https://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: https://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 -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 '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + 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 build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target system type... i586-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 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-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-ranlib... 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' i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ../load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ ../load.h: In member function 'const char* LibPath::Path(const char*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../load.h:95:16: note: in expansion of macro 'LIBDIR' directory = LIBDIR; ^~~~~~ about.cpp: In function 'void DoAbout()': about.cpp:101:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Can't load 'about' title! (ID=%d)\n", idOn); ^ about.cpp:182:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Can't use New York(18) font! -- Exiting.\n"); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a 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; ^~~~~~ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ../load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ ../load.h: In member function 'const char* LibPath::Path(const char*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../load.h:95:16: note: in expansion of macro 'LIBDIR' directory = LIBDIR; ^~~~~~ game.cpp: In function 'void DrawStatus(Bool, Bool)': game.cpp:204:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:207:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:210:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:213:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:216:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:221:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] STYLE_BOLD, 30000>>8, 30000>>8, 0xFF); ^ game.cpp: In function 'void NewGame()': game.cpp:450:47: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't load 'gameover' title!\n"); ^ game.cpp:743:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use New York font! -- Exiting.\n"); ^ game.cpp:792:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use New York font! -- Exiting.\n"); ^ game.cpp:799:50: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:918:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ logic.cpp: In function 'int LogicParseArgs(char***, int*)': logic.cpp:39:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "The '-player' option requires an argument!\n"); ^ logic.cpp:52:56: warning: ISO C++ forbids converting a 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; ^~~~ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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; ^~ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("NetLogic: Couldn't initialize networking!\n"); ^ netplay.cpp:70:54: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MAX_PLAYERS); ^ netplay.cpp:125:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Player %d specified multiple times!\r\n", playernum+1); ^ netplay.cpp:137:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't resolve host name for %s\r\n", host); ^ netplay.cpp:144:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gOurPlayer+1, playernum+1); ^ netplay.cpp: In function 'int SetServer(char*)': netplay.cpp:166:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Server host must be specified in the -server option.\r\n"); ^ netplay.cpp:178:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MAX_PLAYERS); ^ netplay.cpp:190:54: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddPlayer("1"); ^ netplay.cpp:220:77: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Which player are you? (Use the -player N option)\r\n"); ^ netplay.cpp:231:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gOurPlayer+1, gNumPlayers); ^ netplay.cpp:235:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Warning: No deathmatch in a single player game!\r\n"); ^ netplay.cpp:243:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't create bound network socket"); ^ netplay.cpp:248:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't create socket watch set"); ^ netplay.cpp: In function 'int SyncNetwork()': netplay.cpp:323:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Timed out waiting for frame %ld\r\n", NextFrame); ^ netplay.cpp:337:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Network error: SDLNet_UDP_Recv()"); ^ netplay.cpp:353:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Unknown packet: 0x%x\n", buf[0]); ^ netplay.cpp:357:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Packet from unknown source\n"); ^ netplay.cpp:373:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Transmitting packet for old frame (%lu)\r\n", frame); ^ netplay.cpp:377:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] frame, NextFrame); ^ netplay.cpp:389:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] frame, NextFrame); ^ netplay.cpp:400:81: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Message("Connecting to Address Server"); ^ netplay.cpp:512:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ErrorMessage("Connection failed"); ^ netplay.cpp:518:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] message = "Couldn't create socket set"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:531:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] message = "Socket write error"; ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:535:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Message("Waiting for other players"); ^ netplay.cpp:561:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] message = "Error reading player addresses"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:573:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] message = "Error: Short server packet!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp: In function 'int Send_NewGame(int*, int*, int*)': netplay.cpp:704:50: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Message("Awaiting Player 1 (server)"); ^ netplay.cpp:781:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ErrorMessage("Network error receiving packets"); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] width, height, SDL_GetError()); ^ SDL_FrameBuf.cpp:111:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintSurface("Created foreground", screenfg); ^ SDL_FrameBuf.cpp:120:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetError("Couldn't create background: %s", SDL_GetError()); ^ SDL_FrameBuf.cpp:123:45: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetError("Couldn't create artwork: %s", SDL_GetError()); ^ SDL_FrameBuf.cpp:681:22: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(used, 0, 256); ^ SDL_FrameBuf.cpp:706:7: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] m <<= 1; ~~^~~~~ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetError("Couldn't load resources from %s", fontfile); ^ Mac_FontServ.cpp:84:59: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetError("Warning: Font family '%s' not found", fontname); ^ Mac_FontServ.cpp:148:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fontname, ptsize); ^ Mac_FontServ.cpp:158:72: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "FontServ: Italics not implemented!"); ^ Mac_FontServ.cpp:291:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "FontServ: Unknown text style!"); ^ Mac_FontServ.cpp:329:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetError("No text to convert"); ^ Mac_FontServ.cpp:337:59: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetError("Not a text bitmap"); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: 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:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dirname = ""; ^~ Mac_Resource.cpp: In constructor 'Mac_Resource::Mac_Resource(const char*)': Mac_Resource.cpp:271:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't open resource file '%s'", filename); ^ Mac_Resource.cpp:280:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't read resource info from '%s'", filename); ^ Mac_Resource.cpp:291:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't read resource info from '%s'", filename); ^ Mac_Resource.cpp:310:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] filename); ^ Mac_Resource.cpp:336:17: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't read %d bytes", d->length); ^ Mac_Resource.cpp:491:67: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't read %d bytes", d->length); ^ Mac_Resource.cpp:528:70: warning: ISO C++ forbids converting a 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:10: 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:359:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(Resources[i].list[n].name, ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1, name_len, filep); ~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp: In function 'void CheckAppleFile(FILE*, Uint32*)': Mac_Resource.cpp:129:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&header.versionNum, ~~~~~^~~~~~~~~~~~~~~~~~~~ sizeof(header.versionNum), 1, resfile); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:132:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&header.filler, ~~~~~^~~~~~~~~~~~~~~~ sizeof(header.filler), 1, resfile); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:134:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&header.numEntries, ~~~~~^~~~~~~~~~~~~~~~~~~~ sizeof(header.numEntries), 1, resfile); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, Uint16)': Mac_Resource.cpp:476:11: 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:11: 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); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("%s", soundres->Error()); ^ Mac_Sound.cpp:114:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("No sound resources in '%s'", soundfile); ^ Mac_Sound.cpp:122:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("%s", soundres->Error()); ^ Mac_Sound.cpp:128:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("%s", wave->Error()); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Multi-type sound not supported"); ^ Mac_Wave.cpp:187:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Not a sampled sound resource"); ^ Mac_Wave.cpp:196:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Unknown sound format: 0x%X", snd_version); ^ Mac_Wave.cpp:209:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Multi-command sound not supported"); ^ Mac_Wave.cpp:214:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Unknown sound command: 0x%X\n", command); ^ Mac_Wave.cpp:223:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Offset too large -- corrupt sound?"); ^ Mac_Wave.cpp:241:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Sound samples don't immediately follow header"); ^ Mac_Wave.cpp:251:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Non-standard sound encoding: 0x%X", encoding); ^ Mac_Wave.cpp:259:36: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't open %s for writing", wavefile); ^ Mac_Wave.cpp:566:41: warning: ISO C++ forbids converting a 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 i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:159:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'Uint32' {aka 'unsigned int'} [-Wformat=] printf("Playing %#.2f seconds (%d bit %s) at %lu Hz\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ playwave.cpp:162:40: wave->Stereo() ? "stereo" : "mono", wave->Frequency()); ~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *foo = "Checksum Not Enabled"; ^~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ controls.cpp:86:39: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] snprintf(datafile, sizeof(datafile), "%s"DIR_SEP"%s", home, MAELSTROM_DATA); ^ load.h: In member function 'const char* LibPath::Path(const char*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load.h:95:16: note: in expansion of macro 'LIBDIR' directory = LIBDIR; ^~~~~~ In file included from controls.cpp:10: 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:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] name = "up arrow"; ^~~~~~~~~~ controls.cpp:46:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] name = "down arrow"; ^~~~~~~~~~~~ controls.cpp:49:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] name = "right arrow"; ^~~~~~~~~~~~~ controls.cpp:52:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] name = "left arrow"; ^~~~~~~~~~~~ In file included from controls.cpp:9: controls.cpp: In function 'FILE* OpenData(char*, char**)': load.h:34:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define CUR_DIR "." ^~~ controls.cpp:78:11: note: in expansion of macro 'CUR_DIR' home = CUR_DIR; ^~~~~~~ controls.cpp:80:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] home=""; ^~ controls.cpp: In function 'void LoadControls()': controls.cpp:98:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] data = OpenData("r", &datafile); ^ controls.cpp:106:63: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( (data=OpenData("r", NULL)) != NULL ) { ^ controls.cpp:123:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newmode = "r+"; ^~~~ controls.cpp:126:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] newmode = "w"; ^~~ controls.cpp:129:60: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ controls.cpp:168:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp: In function 'void ConfigureControls()': controls.cpp:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ controls.cpp:267:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't load configuration splash!\n"); ^ controls.cpp:284:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel_callback); ^ controls.cpp:288:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "OK", chicago, fontserv, OK_callback); ^ controls.cpp: In function 'void HandleEvent(SDL_Event*)': controls.cpp:426:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 0, 0, 0, 0); ^ controls.cpp: In function 'void ShowDawn()': controls.cpp:505:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ controls.cpp:505:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls.cpp:521:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ controls.cpp:525:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't load alien dawn splash!\n"); ^ controls.cpp:544:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "OK", chicago, fontserv, NULL); ^ controls.cpp: In function 'void LoadControls()': controls.cpp:110:7: 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:7: 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:7: 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); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetError("%s", SDL_GetError()); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ load.h: In member function 'const char* LibPath::Path(const char*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load.h:95:16: note: in expansion of macro 'LIBDIR' directory = LIBDIR; ^~~~~~ init.cpp: In function 'void DoSplash()': init.cpp:68:59: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't load intro title! (ID=%d)\n", 130); ^ init.cpp:117:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Warning: %s\n", fontserv->Error()); ^ init.cpp: In function 'int DoInitializations(Uint32)': init.cpp:732:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Couldn't initialize SDL: %s\n", SDL_GetError()); ^ init.cpp:750:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SDL_JoystickName(0), SDL_GetError()); ^ init.cpp:758:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", fontserv->Error()); ^ init.cpp:765:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", sound->Error()); ^ init.cpp:772:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Fatal: Couldn't load icon: %s\n", SDL_GetError()); ^ init.cpp:780:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", screen->Error()); ^ init.cpp:783:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] screen->SetCaption("Maelstrom"); ^ init.cpp:826:35: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't load ICN# resource!\n", baseID, index); ^ init.cpp:1094:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't load icl8 resource!\n", baseID, index); ^ init.cpp:1128:70: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "LoadSmallSprite(%d+%d): Couldn't load ics# resource!\n", baseID,index); ^ init.cpp:1214:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "LoadSmallSprite(%d+%d): Couldn't load ics8 resource!\n", baseID,index); ^ init.cpp:1248:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't convert sprite image!\n", baseID, index); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ load.cpp:84:31: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] snprintf(file, sizeof(file), "Images"DIR_SEP"Maelstrom_Titles#%d.bmp", title_id); ^ load.cpp:106:31: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] snprintf(file, sizeof(file), "Images"DIR_SEP"Maelstrom_Icon#%hd.cicn", cicn_id); ^ load.h: In member function 'const char* LibPath::Path(const char*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load.h:95:16: note: in expansion of macro 'LIBDIR' directory = LIBDIR; ^~~~~~ load.cpp: In function 'SDL_Surface* GetCIcon(FrameBuf*, short int)': load.cpp:109:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cicn_id, path.Path(file)); ^ load.cpp:117:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); ^ load.cpp:124:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); ^ load.cpp:136:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Couldn't convert CICN!\n", cicn_id); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ load.h: In member function 'const char* LibPath::Path(const char*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load.h:95:16: note: in expansion of macro 'LIBDIR' directory = LIBDIR; ^~~~~~ main.cpp: At global scope: main.cpp:25:1: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ((now-then)/test_reps)); ^ main.cpp: In function 'void PrintUsage()': main.cpp:155:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("\nUsage: %s [-netscores] -printscores\n", progname); ^ main.cpp:156:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("or\n"); ^ main.cpp:157:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Usage: %s \n\n", progname); ^ main.cpp:163:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ main.cpp:165:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("\n"); ^ main.cpp: In function 'int main(int, char**)': main.cpp:187:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Unable to set effective group ID to the group id. -- Exiting.\n"); ^ main.cpp:216:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGammaCorrect); ^ main.cpp:222:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Gamma correction value must be between 0 and 8. -- Exiting.\n"); ^ main.cpp:237:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSoundLevel); ^ main.cpp:242:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Volume must be a number between 0 and 8. -- Exiting.\n"); ^ main.cpp:255:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mesg("Checksum = %s\n", get_checksum(NULL, 0)); ^ main.cpp:268:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("%s", Version); ^ main.cpp:386:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64, 48, 298, 384); ^ main.cpp: In function 'void DrawSoundLevel()': main.cpp:450:48: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't load 'title' title! (ID=%d)\n", 129); ^ main.cpp:527:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use New York (18) font! -- Exiting.\n"); ^ main.cpp:531:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ main.cpp:534:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ main.cpp:538:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ main.cpp:544:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use New York (14) font! -- Exiting.\n"); ^ main.cpp:574:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bigfont, STYLE_NORM, 0xFF, 0xFF, 0xFF); ^ main.cpp:586:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "P", " Start playing Maelstrom", RunPlayGame); ^ main.cpp:586:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:590:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "C", " Configure the game controls", RunConfigureControls); ^ main.cpp:590:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:594:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "Z", " Zap the high scores", RunZapScores); ^ main.cpp:594:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:598:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "A", " About Maelstrom...", RunDoAbout); ^ main.cpp:598:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:604:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "Q", " Quit Maelstrom", RunQuitGame); ^ main.cpp:604:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:608:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "0", " ", DecrementSound); ^ main.cpp:608:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:611:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp:615:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font, STYLE_NORM, 0xFF, 0xFF, 0x00); ^ main.cpp:618:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "8", " Set Sound Volume", IncrementSound); ^ main.cpp:618:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:623:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font, STYLE_BOLD, 0xFF, 0xFF, 0x00); ^ main.cpp:625:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font, STYLE_BOLD, 0xFF, 0xFF, 0xFF); ^ main.cpp:630:39: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use New York(14) font! -- Exiting.\n"); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); ^ netscore.cpp:30:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); ^ netscore.cpp:31:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("-- High Score not registered.\r\n"); ^ netscore.cpp:42:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Warning: Score Server protocol error.\r\n"); ^ netscore.cpp:43:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("-- High Score not registered.\r\n"); ^ netscore.cpp:54:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Warning: short authentication key.\n"); ^ netscore.cpp:68:51: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); ^ netscore.cpp:127:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); ^ netscore.cpp:171:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't read complete score list!\r\n"); ^ netscore.cpp:172:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Line was: %s", netbuf); ^ i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ load.h: In member function 'const char* LibPath::Path(const char*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load.h:95:16: note: in expansion of macro 'LIBDIR' directory = LIBDIR; ^~~~~~ In file included from scores.cpp:17: 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mesg("Using local score file\n\n"); ^ scores.cpp:54:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Unable to set group ID to the effective group id. -- Exiting.\n"); ^ scores.cpp:69:61: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Unable to set group ID to the effective group id. -- Exiting.\n"); ^ scores.cpp:111:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] path.Path(MAELSTROM_SCORES)); ^ scores.cpp:115:61: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ scores.cpp:170:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't load score zapping splash!\n"); ^ scores.cpp:179:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Clear", chicago, fontserv, Clear_callback); ^ scores.cpp:183:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel_callback); ^ scores.cpp: In function 'int GetStartLevel()': scores.cpp:219:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Enter the level to start from (1-40). This"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp:221:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "disqualifies you from a high score..."; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp:222:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *Ltext3 = "Level:"; ^~~~~~~~ scores.cpp:223:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *Ltext4 = "Lives:"; ^~~~~~~~ scores.cpp:228:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *turbotext = "Turbofunk On"; ^~~~~~~~~~~~~~ scores.cpp:238:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ scores.cpp:242:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error("Can't load alien level splash!\n"); ^ scores.cpp:261:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel2_callback); ^ scores.cpp:264:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Do it!", chicago, fontserv, Level_callback); ^ i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:24:1: +#include Maelstrom-netd.c:48:10: (void) free(players[which].packet); ^~~~ 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'; did you mean 'nice'? [-Wimplicit-function-declaration] now = time(NULL); ^~~~ nice 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:428, from /usr/include/bits/libc-header-start.h:33, 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: 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: /usr/include/sys/socket.h:232: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:357:5: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] malloc(players[slot].packetlen)) == NULL) { ^~~~~~ Maelstrom-netd.c:357:5: warning: incompatible implicit declaration of built-in function 'malloc' Maelstrom-netd.c:357:5: note: include '' or provide a declaration of 'malloc' Maelstrom-netd.c:367:34: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] printf(" the remote address is %s:%lu\n", ~^ %d inet_ntoa(players[slot].raddr.sin_addr), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Maelstrom-netd.c:367:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] printf(" the remote address is %s:%lu\n", ~~^ %u Maelstrom-netd.c: In function 'SendError': Maelstrom-netd.c:68:9: 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:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(players[positions[i]].sockfd, buffer, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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.97314 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + 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,gnuconfig) Checking contents of files in /usr/src/tmp/Maelstrom-buildroot/ (default) 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) verify-elf: WARNING: ./usr/bin/Maelstrom: uses non-LFS functions: fopen 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.80886 + 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 warning: absolute symlink: /usr/src/tmp/Maelstrom-buildroot/usr/share/Maelstrom/Maelstrom-Scores -> /var/lib/games/Maelstrom-Scores Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2r5XFn 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 (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.h7ENDZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libSDL-1.2.so.0 >= set:lf0KsyCto3wK229VvNXeZ816AeXZAyRvo9MVYvuNQYhcsEDX3h7DzOJtggTqoIt43jpJIgBD1RZ2G4x1fOTlbVek4hzXiOp4PVWF5slFY4, libSDL_net-1.2.so.0 >= set:je8XlnNNcrl2Ld2BT28BW5zz0h70J8eaqeOxO50, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), 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), 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.4U5Qx7 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.Fl1imz find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VAPxDs find-requires: running scripts (debuginfo) Requires: Maelstrom = 3.0.6-alt3.1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libSDL_net-1.2.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libpthread.so.0), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/Maelstrom-3.0.6-alt3.1.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/Maelstrom-debuginfo-3.0.6-alt3.1.qa1.i586.rpm (w2.lzdio) 22.91user 4.19system 0:29.97elapsed 90%CPU (0avgtext+0avgdata 36772maxresident)k 0inputs+0outputs (0major+651396minor)pagefaults 0swaps 35.51user 10.78system 0:48.82elapsed 94%CPU (0avgtext+0avgdata 119332maxresident)k 56inputs+0outputs (0major+973486minor)pagefaults 0swaps --- Maelstrom-3.0.6-alt3.1.qa1.i586.rpm.repo 2013-04-17 05:29:12.000000000 +0000 +++ Maelstrom-3.0.6-alt3.1.qa1.i586.rpm.hasher 2021-05-09 08:51:52.255623610 +0000 @@ -71,2 +71,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)