>>> Building on exopi-5 under games/maelstrom BDEPENDS = [devel/sdl-net] DIST = [games/maelstrom:Maelstrom-3.0.6.tar.gz] FULLPKGNAME = maelstrom-3.0.6p4 RDEPENDS = [devel/sdl-net] (Junk lock obtained for exopi-5 at 1732130441.41) >>> Running depends in games/maelstrom at 1732130441.45 last junk was in net/zsync /usr/sbin/pkg_add -aI -Drepair sdl-net-1.2.8p4 was: /usr/sbin/pkg_add -aI -Drepair sdl-net-1.2.8p4 /usr/sbin/pkg_add -aI -Drepair sdl-net-1.2.8p4 >>> Running show-prepare-results in games/maelstrom at 1732130444.85 ===> games/maelstrom ===> Building from scratch maelstrom-3.0.6p4 ===> maelstrom-3.0.6p4 depends on: sdl-net-* -> sdl-net-1.2.8p4 ===> Verifying specs: SDL c m pthread c++ c++abi pthread SDL_net ===> found SDL.8.0 c.100.3 m.10.1 pthread.27.1 c++.10.0 c++abi.7.0 SDL_net.2.0 sdl-net-1.2.8p4 (Junk lock released for exopi-5 at 1732130445.54) distfiles size=1006665 >>> Running build in games/maelstrom at 1732130445.57 ===> games/maelstrom ===> Checking files for maelstrom-3.0.6p4 `/exopi-cvs/ports/distfiles/Maelstrom-3.0.6.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for maelstrom-3.0.6p4 ===> Patching for maelstrom-3.0.6p4 ===> Applying OpenBSD patch patch-Maelstrom-netd_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |ports-gcc: fix warnings of implicit built-in functions | |Index: Maelstrom-netd.c |--- Maelstrom-netd.c.orig |+++ Maelstrom-netd.c -------------------------- Patching file Maelstrom-netd.c using Plan A... Hunk #1 succeeded at 8. done ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.in.orig Sat Oct 19 21:19:42 2002 |+++ Makefile.in Wed Jun 4 00:41:59 2008 -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 30. Hunk #2 succeeded at 73. Hunk #3 succeeded at 193. Hunk #4 succeeded at 431. done ===> Applying OpenBSD patch patch-buttonlist_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |ports-gcc: fix redundant use of struct: |error: using typedef-name 'ButtonList::button' after 'struct' | |Index: buttonlist.h |--- buttonlist.h.orig |+++ buttonlist.h -------------------------- Patching file buttonlist.h using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 30. Hunk #3 succeeded at 42. done ===> Applying OpenBSD patch patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- configure.orig Tue Jun 3 22:58:05 2008 |+++ configure Tue Jun 3 22:59:25 2008 -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3232. done ===> Applying OpenBSD patch patch-controls_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: controls.cpp |--- controls.cpp.orig |+++ controls.cpp -------------------------- Patching file controls.cpp using Plan A... Hunk #1 succeeded at 83. done ===> Applying OpenBSD patch patch-load_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: load.cpp |--- load.cpp.orig |+++ load.cpp -------------------------- Patching file load.cpp using Plan A... Hunk #1 succeeded at 81. Hunk #2 succeeded at 103. done ===> Applying OpenBSD patch patch-load_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: load.h |--- load.h.orig |+++ load.h -------------------------- Patching file load.h using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 29. Hunk #3 succeeded at 106. done ===> Applying OpenBSD patch patch-screenlib_SDL_FrameBuf_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- screenlib/SDL_FrameBuf.cpp.orig Tue Jun 3 19:11:26 2008 |+++ screenlib/SDL_FrameBuf.cpp Tue Jun 3 19:19:01 2008 -------------------------- Patching file screenlib/SDL_FrameBuf.cpp using Plan A... Hunk #1 succeeded at 848. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for maelstrom-3.0.6p4 ===> Configuring for maelstrom-3.0.6p4 Using /exopi-obj/pobj/maelstrom-3.0.6/config.site (generated) configure: loading site script /exopi-obj/pobj/maelstrom-3.0.6/config.site checking build system type... x86_64-unknown-openbsd7.6 checking host system type... x86_64-unknown-openbsd7.6 checking target system type... x86_64-unknown-openbsd7.6 checking for a BSD-compatible install... /exopi-obj/pobj/maelstrom-3.0.6/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking whether make sets ${MAKE}... (cached) yes checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for a BSD-compatible install... /exopi-obj/pobj/maelstrom-3.0.6/bin/install -c checking for sdl-config... /usr/local/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 configure: creating ./config.status ./config.status: cd: no home directory (HOME not set) config.status: creating Makefile mv: Makefile: set owner/group: Operation not permitted config.status: creating netlogic/Makefile mv: netlogic/Makefile: set owner/group: Operation not permitted config.status: creating screenlib/Makefile mv: screenlib/Makefile: set owner/group: Operation not permitted config.status: creating maclib/Makefile mv: maclib/Makefile: set owner/group: Operation not permitted config.status: creating Images/Makefile mv: Images/Makefile: set owner/group: Operation not permitted config.status: creating Docs/Makefile mv: Docs/Makefile: set owner/group: Operation not permitted ./config.status: cd: no home directory (HOME not set) config.status: creating Maelstrom.spec mv: Maelstrom.spec: set owner/group: Operation not permitted ===> Building for maelstrom-3.0.6p4 Making all in netlogic c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c about.cpp In file included from about.cpp:4: ../load.h:95:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] directory = LIBDIR; ^ :12:16: note: expanded from macro 'LIBDIR' #define LIBDIR "/usr/local/share/maelstrom" ^ about.cpp:101:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Can't load 'about' title! (ID=%d)\n", idOn); ^ about.cpp:182:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Can't use New York(18) font! -- Exiting.\n"); ^ 3 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c blit.cpp blit.cpp:26:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Game aborted!\n"); ^ 1 warning generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c game.cpp In file included from game.cpp:7: ../load.h:95:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] directory = LIBDIR; ^ :12:16: note: expanded from macro 'LIBDIR' #define LIBDIR "/usr/local/share/maelstrom" ^ game.cpp:203:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] i = DrawText(x, gStatusLine+11, "Score:", geneva, STYLE_BOLD, ^ game.cpp:206:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] i = DrawText(x, gStatusLine+11, "Shield:", geneva, STYLE_BOLD, ^ game.cpp:209:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] i = DrawText(x, gStatusLine+11, "Wave:", geneva, STYLE_BOLD, ^ game.cpp:212:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] i = DrawText(x, gStatusLine+11, "Lives:", geneva, STYLE_BOLD, ^ game.cpp:215:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(x, gStatusLine+11, "Bonus:", geneva, STYLE_BOLD, ^ game.cpp:220:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] i = DrawText(x, gStatusLine+11, "Frags:", geneva, ^ game.cpp:450:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ game.cpp:733:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't load 'gameover' title!\n"); ^ game.cpp:743:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use New York font! -- Exiting.\n"); ^ game.cpp:791:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use New York font! -- Exiting.\n"); ^ game.cpp:797:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] x += DrawText(x, 300, "Enter your name: ", ^ game.cpp:909:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(x, 200, "Bonus Score: ", geneva, STYLE_BOLD, ^ game.cpp:916:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(x, 220, "Score: ", geneva, STYLE_BOLD, ^ 14 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c logic.cpp logic.cpp:12:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " -player N[@host][:port] # Designate player N (at host and/or port)\n" ^ logic.cpp:39:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "The '-player' option requires an argument!\n"); ^ logic.cpp:52:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("The '-server' option requires an argument!\n"); ^ 3 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c make.cpp c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c netplay.cpp netplay.cpp:61:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("NetLogic: Couldn't initialize networking!\n"); ^ netplay.cpp:70:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Out of memory (creating network buffers)\n"); ^ netplay.cpp:118:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Argument to '-player' must be in integer between 1 and %d inclusive.\r\n", ^ netplay.cpp:125:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Player %d specified multiple times!\r\n", playernum+1); ^ netplay.cpp:137:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't resolve host name for %s\r\n", host); ^ netplay.cpp:143:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "More than one local player! (players %d and %d specified as local players)\r\n", ^ netplay.cpp:166:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Server host must be specified in the -server option.\r\n"); ^ netplay.cpp:177:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "The number of players must be an integer between 1 and %d inclusive.\r\n", ^ netplay.cpp:190:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't resolve host name for %s\r\n", host); ^ netplay.cpp:213:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] AddPlayer("1"); ^ netplay.cpp:220:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Player %d not specified! Use the -player option for all players.\r\n", i+1); ^ netplay.cpp:226:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Which player are you? (Use the -player N option)\r\n"); ^ netplay.cpp:230:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("You cannot be player %d in a %d player game.\r\n", ^ netplay.cpp:235:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Warning: No deathmatch in a single player game!\r\n"); ^ netplay.cpp:243:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't create bound network socket"); ^ netplay.cpp:248:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't create socket watch set"); ^ netplay.cpp:323:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Timed out waiting for frame %ld\r\n", NextFrame); ^ netplay.cpp:337:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Network error: SDLNet_UDP_Recv()"); ^ netplay.cpp:353:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unknown packet: 0x%x\n", buf[0]); ^ netplay.cpp:357:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Packet from unknown source\n"); ^ netplay.cpp:373:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Transmitting packet for old frame (%lu)\r\n", frame); ^ netplay.cpp:376:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Received packet for next frame! (%lu, current = %lu)\r\n", ^ netplay.cpp:388:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Warning! Received packet for really old frame! (%lu, current = %lu)\r\n", ^ netplay.cpp:400:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Warning!! \a Frame consistency error with player %d!! (corrected)\r\n", index+1); ^ netplay.cpp:509:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Message("Connecting to Address Server"); ^ netplay.cpp:512:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ErrorMessage("Connection failed"); ^ netplay.cpp:518:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] message = "Couldn't create socket set"; ^ netplay.cpp:531:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] message = "Socket write error"; ^ netplay.cpp:535:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Message("Waiting for other players"); ^ netplay.cpp:561:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] message = "Error reading player addresses"; ^ netplay.cpp:573:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] message = "Error: Short server packet!"; ^ netplay.cpp:702:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ErrorMessage("Network error receiving packets"); ^ netplay.cpp:758:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Message("Awaiting Player 1 (server)"); ^ netplay.cpp:779:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ErrorMessage("Network error receiving packets"); ^ 34 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c object.cpp c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c objects.cpp c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c 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 Making all in screenlib c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c SDL_FrameBuf.cpp SDL_FrameBuf.cpp:106:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("Couldn't set %dx%d video mode: %s", ^ SDL_FrameBuf.cpp:111:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PrintSurface("Created foreground", screenfg); ^ SDL_FrameBuf.cpp:120:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("Couldn't create background: %s", SDL_GetError()); ^ SDL_FrameBuf.cpp:123:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PrintSurface("Created background", screenbg); ^ SDL_FrameBuf.cpp:522:2: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register Uint8 tmp; ^~~~~~~~~ SDL_FrameBuf.cpp:642:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("%s", SDL_GetError()); ^ SDL_FrameBuf.cpp:665:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("Couldn't create artwork: %s", SDL_GetError()); ^ 7 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c pixel.cpp rm -f libSDLscreen.a ar cru libSDLscreen.a SDL_FrameBuf.o pixel.o ranlib libSDLscreen.a Making all in maclib c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c Mac_FontServ.cpp Mac_FontServ.cpp:80:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("Couldn't load resources from %s", fontfile); ^ Mac_FontServ.cpp:84:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("FontServ: No 'FOND' resources in %s", fontfile); ^ Mac_FontServ.cpp:116:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("Warning: Font family '%s' not found", fontname); ^ Mac_FontServ.cpp:147:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Warning: Font family '%s' doesn't have %d pt fonts", ^ Mac_FontServ.cpp:158:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Warning: Can't find NFNT resource for %d pt %s font", ptsize, fontname); ^ Mac_FontServ.cpp:184:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("Warning: Bad font Magic number: 0x%04x", ^ Mac_FontServ.cpp:288:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FontServ: Italics not implemented!"); ^ Mac_FontServ.cpp:291:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FontServ: Unknown text style!"); ^ Mac_FontServ.cpp:329:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("No text to convert"); ^ Mac_FontServ.cpp:337:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("Unable to allocate bitmap: %s", SDL_GetError()); ^ Mac_FontServ.cpp:409:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("Not a text bitmap"); ^ 11 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c Mac_Resource.cpp In file included from Mac_Resource.cpp:45: ./applefile.h:78:32: warning: '/*' within block comment [-Wcomment] /* 0x0010 /* reserved (System 7) */ ^ ./applefile.h:83:33: warning: '/*' within block comment [-Wcomment] /* 0x0200 /* reserved (System 7) */ ^ ./applefile.h:142:33: warning: '/*' within block comment [-Wcomment] /* 7 /* not used */ ^ ./applefile.h:333:33: warning: '/*' within block comment [-Wcomment] /* Uint8 filedata[]; /* followed by rest of file */ ^ Mac_Resource.cpp:197:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dirname = ""; ^ Mac_Resource.cpp:271:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't open resource file '%s'", filename); ^ Mac_Resource.cpp:280:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't read resource info from '%s'", filename); ^ Mac_Resource.cpp:291:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't read resource info from '%s'", filename); ^ Mac_Resource.cpp:309:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't read resource info from '%s'", ^ Mac_Resource.cpp:335:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't read resource info from '%s'", ^ Mac_Resource.cpp:437:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't find resources of type '%s'", res_type); ^ Mac_Resource.cpp:454:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't find resource of type '%s', id %hu", res_type, id); ^ Mac_Resource.cpp:481:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't read %d bytes", d->length); ^ Mac_Resource.cpp:491:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't find resource of type '%s', id %hu", res_type, id); ^ Mac_Resource.cpp:518:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't read %d bytes", d->length); ^ Mac_Resource.cpp:528:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't find resource of type '%s', name %s", res_type, name); ^ 16 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c Mac_Sound.cpp Mac_Sound.cpp:110:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("%s", soundres->Error()); ^ Mac_Sound.cpp:114:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("No sound resources in '%s'", soundfile); ^ Mac_Sound.cpp:122:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("%s", soundres->Error()); ^ Mac_Sound.cpp:128:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("%s", wave->Error()); ^ 4 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c Mac_Wave.cpp Mac_Wave.cpp:117:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("%s", SDL_GetError()); ^ Mac_Wave.cpp:182:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Multi-type sound not supported"); ^ Mac_Wave.cpp:187:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Not a sampled sound resource"); ^ Mac_Wave.cpp:196:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unknown sound format: 0x%X", snd_version); ^ Mac_Wave.cpp:209:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Multi-command sound not supported"); ^ Mac_Wave.cpp:214:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Unknown sound command: 0x%X\n", command); ^ Mac_Wave.cpp:223:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Offset too large -- corrupt sound?"); ^ Mac_Wave.cpp:241:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Sound samples don't immediately follow header"); ^ Mac_Wave.cpp:251:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Non-standard sound encoding: 0x%X", encoding); ^ Mac_Wave.cpp:259:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("truncated sound resource"); ^ Mac_Wave.cpp:531:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't open %s for writing", wavefile); ^ Mac_Wave.cpp:566:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't write to %s", wavefile); ^ 12 warnings generated. rm -f libSDLmac.a ar cru libSDLmac.a Mac_FontServ.o Mac_Resource.o Mac_Sound.o Mac_Wave.o ranlib libSDLmac.a c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c macres.cpp c++ -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -o macres macres.o libSDLmac.a -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib -lSDL_net ld: warning: macres.cpp(macres.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: Mac_Resource.cpp(Mac_Resource.o:(Mac_Resource::Mac_Resource(char const*)) in archive libSDLmac.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: Mac_Resource.cpp(Mac_Resource.o:(Mac_Resource::error(char*, ...)) in archive libSDLmac.a): warning: vsprintf() is often misused, please use vsnprintf() c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c playwave.cpp playwave.cpp:162:40: warning: format specifies type 'unsigned long' but the argument has type 'Uint32' (aka 'unsigned int') [-Wformat] wave->Stereo() ? "stereo" : "mono", wave->Frequency()); ^~~~~~~~~~~~~~~~~ 1 warning generated. c++ -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -o playwave playwave.o libSDLmac.a -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib -lSDL_net ld: warning: Mac_Wave.cpp(Mac_Wave.o:(Wave::error(char*, ...)) in archive libSDLmac.a): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: Mac_Resource.cpp(Mac_Resource.o:(Mac_Resource::Mac_Resource(char const*)) in archive libSDLmac.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: Mac_Resource.cpp(Mac_Resource.o:(Mac_Resource::Mac_Resource(char const*)) in archive libSDLmac.a): warning: sprintf() is often misused, please use snprintf() c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c snd2wav.cpp c++ -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -o snd2wav snd2wav.o libSDLmac.a -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib -lSDL_net ld: warning: snd2wav.cpp(snd2wav.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: Mac_Resource.cpp(Mac_Resource.o:(Mac_Resource::Mac_Resource(char const*)) in archive libSDLmac.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: Mac_Wave.cpp(Mac_Wave.o:(Wave::error(char*, ...)) in archive libSDLmac.a): warning: vsprintf() is often misused, please use vsnprintf() c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c checksum.cpp checksum.cpp:264:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *foo = "Checksum Not Enabled"; ^ 1 warning generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c controls.cpp In file included from controls.cpp:9: ./load.h:95:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] directory = LIBDIR; ^ :12:16: note: expanded from macro 'LIBDIR' #define LIBDIR "/usr/local/share/maelstrom" ^ controls.cpp:43:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name = "up arrow"; ^ controls.cpp:46:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name = "down arrow"; ^ controls.cpp:49:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name = "right arrow"; ^ controls.cpp:52:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] name = "left arrow"; ^ controls.cpp:78:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] home = CUR_DIR; ^ ./load.h:34:17: note: expanded from macro 'CUR_DIR' #define CUR_DIR "." ^ controls.cpp:80:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] home=""; ^ controls.cpp:98:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] data = OpenData("r", &datafile); ^ controls.cpp:106:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Warning: Data file '%s' is corrupt! (will fix)\n", datafile); ^ controls.cpp:122:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (data=OpenData("r", NULL)) != NULL ) { ^ controls.cpp:123:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] newmode = "r+"; ^ controls.cpp:126:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] newmode = "w"; ^ controls.cpp:129:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Warning: Couldn't save controls to %s\n", datafile); ^ controls.cpp:160:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "Fire", 0*BOX_HEIGHT+0*SP, &newcontrols.gFireControl }, ^ controls.cpp:161:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "Thrust", 1*BOX_HEIGHT+1*SP, &newcontrols.gThrustControl }, ^ controls.cpp:162:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "Shield", 2*BOX_HEIGHT+2*SP, &newcontrols.gShieldControl }, ^ controls.cpp:163:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "Turn Clockwise", 3*BOX_HEIGHT+3*SP, &newcontrols.gTurnRControl }, ^ controls.cpp:164:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "Turn Counter-Clockwise", ^ controls.cpp:166:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "Pause", 5*BOX_HEIGHT+5*SP, &newcontrols.gPauseControl }, ^ controls.cpp:167:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "Abort Game", 6*BOX_HEIGHT+6*SP, &newcontrols.gQuitControl }, ^ controls.cpp:263:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use Chicago font!\n"); ^ controls.cpp:267:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't load configuration splash!\n"); ^ controls.cpp:284:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Cancel", chicago, fontserv, Cancel_callback); ^ controls.cpp:288:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "OK", chicago, fontserv, OK_callback); ^ controls.cpp:425:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screen->ScreenDump("ScreenShot", ^ controls.cpp:499:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "No eternal reward will forgive us", ^ controls.cpp:500:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "now", ^ controls.cpp:501:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "for", ^ controls.cpp:502:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "wasting", ^ controls.cpp:503:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "the", ^ controls.cpp:504:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "dawn." ^ controls.cpp:521:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use Chicago font!\n"); ^ controls.cpp:525:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't load alien dawn splash!\n"); ^ controls.cpp:544:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "OK", chicago, fontserv, NULL); ^ 34 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c dialog.cpp dialog.cpp:32:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SetError("%s", SDL_GetError()); ^ 1 warning generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c fastrand.cpp fastrand.cpp:33:2: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register Uint32 calc; ^~~~~~~~~ fastrand.cpp:34:2: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register Uint32 regD0; ^~~~~~~~~ fastrand.cpp:35:2: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register Uint32 regD1; ^~~~~~~~~ fastrand.cpp:36:2: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register Uint32 regD2; ^~~~~~~~~ 4 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c init.cpp In file included from init.cpp:11: ./load.h:95:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] directory = LIBDIR; ^ :12:16: note: expanded from macro 'LIBDIR' #define LIBDIR "/usr/local/share/maelstrom" ^ init.cpp:68:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't load Ambrosia splash title! (ID=%d)\n", 999); ^ init.cpp:89:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't load intro title! (ID=%d)\n", 130); ^ init.cpp:117:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Warning: %s\n", fontserv->Error()); ^ init.cpp:732:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Couldn't initialize SDL: %s\n", SDL_GetError()); ^ init.cpp:749:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Warning: Couldn't open joystick '%s' : %s\n", ^ init.cpp:758:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Fatal: %s\n", fontserv->Error()); ^ init.cpp:765:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Fatal: %s\n", sound->Error()); ^ init.cpp:772:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Fatal: Couldn't load icon: %s\n", SDL_GetError()); ^ init.cpp:780:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Fatal: %s\n", screen->Error()); ^ init.cpp:783:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screen->SetCaption("Maelstrom"); ^ init.cpp:826:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("%s\n", spriteres.Error()); ^ init.cpp:1086:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LoadSprite(%d+%d): Couldn't load ICN# resource!\n", baseID, index); ^ init.cpp:1094:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LoadSprite(%d+%d): Couldn't load icl8 resource!\n", baseID, index); ^ init.cpp:1128:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LoadSprite(%d+%d): Couldn't convert sprite image!\n", baseID, index); ^ init.cpp:1206:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LoadSmallSprite(%d+%d): Couldn't load ics# resource!\n", baseID,index); ^ init.cpp:1214:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LoadSmallSprite(%d+%d): Couldn't load ics8 resource!\n", baseID,index); ^ init.cpp:1248:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LoadSprite(%d+%d): Couldn't convert sprite image!\n", baseID, index); ^ 18 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c load.cpp In file included from load.cpp:7: ./load.h:95:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] directory = LIBDIR; ^ :12:16: note: expanded from macro 'LIBDIR' #define LIBDIR "/usr/local/share/maelstrom" ^ load.cpp:108:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("GetCIcon(%hd): Can't open CICN %s: ", ^ load.cpp:117:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); ^ load.cpp:124:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); ^ load.cpp:136:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("GetCIcon(%hd): Couldn't convert CICN!\n", cicn_id); ^ 5 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c main.cpp In file included from main.cpp:15: ./load.h:95:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] directory = LIBDIR; ^ :12:16: note: expanded from macro 'LIBDIR' #define LIBDIR "/usr/local/share/maelstrom" ^ main.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Maelstrom v1.4.3 (GPL version 3.0.6) -- 10/19/2002 by Sam Lantinga\n"; ^ main.cpp:141:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mesg("Graphics speed test took %d microseconds per cycle.\r\n", ^ main.cpp:152:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("\nUsage: %s [-netscores] -printscores\n", progname); ^ main.cpp:153:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("or\n"); ^ main.cpp:154:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Usage: %s \n\n", progname); ^ main.cpp:155:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Where can be any of:\n\n" ^ main.cpp:162:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("\n"); ^ main.cpp:203:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mesg("Current Gamma correction level: %d\n", ^ main.cpp:210:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Gamma correction value must be between 0 and 8. -- Exiting.\n"); ^ main.cpp:224:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mesg("Current volume level: %d\n", ^ main.cpp:230:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Volume must be a number between 0 and 8. -- Exiting.\n"); ^ main.cpp:243:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mesg("Checksum = %s\n", get_checksum(NULL, 0)); ^ main.cpp:256:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("%s", Version); ^ main.cpp:373:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screen->ScreenDump("ScoreDump", ^ main.cpp:438:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp:480:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't load 'title' title! (ID=%d)\n", 129); ^ main.cpp:515:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use New York (18) font! -- Exiting.\n"); ^ main.cpp:518:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(xOff+5, botDiv+22, "Name", bigfont, STYLE_ULINE, ^ main.cpp:521:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(sRt, botDiv+22, "Score", bigfont, STYLE_ULINE, ^ main.cpp:525:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(wRt, botDiv+22, "Wave", bigfont, STYLE_ULINE, ^ main.cpp:532:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use New York (14) font! -- Exiting.\n"); ^ main.cpp:561:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(xOff+5, botDiv+46+(10*18)+3, "Last Score: ", ^ main.cpp:574:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "P", " Start playing Maelstrom", RunPlayGame); ^ main.cpp:574:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "P", " Start playing Maelstrom", RunPlayGame); ^ main.cpp:578:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "C", " Configure the game controls", RunConfigureControls); ^ main.cpp:578:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "C", " Configure the game controls", RunConfigureControls); ^ main.cpp:582:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "Z", " Zap the high scores", RunZapScores); ^ main.cpp:582:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "Z", " Zap the high scores", RunZapScores); ^ main.cpp:586:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "A", " About Maelstrom...", RunDoAbout); ^ main.cpp:586:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "A", " About Maelstrom...", RunDoAbout); ^ main.cpp:592:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "Q", " Quit Maelstrom", RunQuitGame); ^ main.cpp:592:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "Q", " Quit Maelstrom", RunQuitGame); ^ main.cpp:596:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "0", " ", DecrementSound); ^ main.cpp:596:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "0", " ", DecrementSound); ^ main.cpp:599:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp:602:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(pt.h+gKeyIcon->w+3, pt.v+19, "-", ^ main.cpp:606:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "8", " Set Sound Volume", IncrementSound); ^ main.cpp:606:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawKey(&pt, "8", " Set Sound Volume", IncrementSound); ^ main.cpp:610:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(xOff+5+68, yOff+5+127, "Port to Linux by Sam Lantinga", ^ main.cpp:612:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] DrawText(rightDiv+10, yOff+259, "1992-4 Ambrosia Software, Inc.", ^~~~ main.cpp:612:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(rightDiv+10, yOff+259, "1992-4 Ambrosia Software, Inc.", ^ main.cpp:617:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DrawText(xOff+20, yOff+151, VERSION_STRING, ^ ./netlogic/netlogic.h:6:25: note: expanded from macro 'VERSION_STRING' #define VERSION_STRING VERSION ".N" ^ :8:17: note: expanded from macro 'VERSION' #define VERSION "3.0.6" ^ main.cpp:638:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp:665:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use New York(14) font! -- Exiting.\n"); ^ 45 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c myerror.cpp c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c netscore.cpp netscore.cpp:27:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); ^ ./netscore.h:4:20: note: expanded from macro 'SCORE_HOST' #define SCORE_HOST "devolution.com" ^ netscore.cpp:30:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); ^ netscore.cpp:31:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("-- High Score not registered.\r\n"); ^ netscore.cpp:42:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Warning: Score Server protocol error.\r\n"); ^ netscore.cpp:43:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("-- High Score not registered.\r\n"); ^ netscore.cpp:54:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Warning: short authentication key.\n"); ^ netscore.cpp:68:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("New high score was rejected: %s", netbuf); ^ netscore.cpp:124:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); ^ ./netscore.h:4:20: note: expanded from macro 'SCORE_HOST' #define SCORE_HOST "devolution.com" ^ netscore.cpp:127:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); ^ netscore.cpp:171:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Warning: Couldn't read complete score list!\r\n"); ^ netscore.cpp:172:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Line was: %s", netbuf); ^ 11 warnings generated. c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c rect.cpp c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c scores.cpp In file included from scores.cpp:15: ./load.h:95:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] directory = LIBDIR; ^ :12:16: note: expanded from macro 'LIBDIR' #define LIBDIR "/usr/local/share/maelstrom" ^ scores.cpp:41:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mesg("Using local score file\n\n"); ^ scores.cpp:85:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Warning: Couldn't save scores to %s\n", ^ scores.cpp:136:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use Chicago font!\n"); ^ scores.cpp:140:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't load score zapping splash!\n"); ^ scores.cpp:149:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Clear", chicago, fontserv, Clear_callback); ^ scores.cpp:153:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Cancel", chicago, fontserv, Cancel_callback); ^ scores.cpp:189:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Enter the level to start from (1-40). This"; ^ scores.cpp:191:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "disqualifies you from a high score..."; ^ scores.cpp:192:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *Ltext3 = "Level:"; ^ scores.cpp:193:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *Ltext4 = "Lives:"; ^ scores.cpp:198:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *turbotext = "Turbofunk On"; ^ scores.cpp:208:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't use Chicago font!\n"); ^ scores.cpp:212:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error("Can't load alien level splash!\n"); ^ scores.cpp:231:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Cancel", chicago, fontserv, Cancel2_callback); ^ scores.cpp:234:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Do it!", chicago, fontserv, Level_callback); ^ 16 warnings generated. c++ -O2 -pipe -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/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 -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib -lSDL_net ld: warning: fastrand.cpp(fastrand.o:(SeedRandom(unsigned int))): warning: rand() may return deterministic values, is that what you want? ld: warning: controls.cpp(controls.o:(LoadControls())): warning: sprintf() is often misused, please use snprintf() ld: warning: Mac_Wave.cpp(Mac_Wave.o:(Wave::error(char*, ...)) in archive maclib/libSDLmac.a): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: Mac_Resource.cpp(Mac_Resource.o:(Mac_Resource::Mac_Resource(char const*)) in archive maclib/libSDLmac.a): warning: strcpy() is almost always misused, please use strlcpy() cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -c Maelstrom-netd.c Maelstrom-netd.c:186:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(int argc, char *argv[]) ^ int Maelstrom-netd.c:371:2: warning: format specifies type 'unsigned long' but the argument has type '__uint16_t' (aka 'unsigned short') [-Wformat] ntohs(players[slot].raddr.sin_port)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/endian.h:97:18: note: expanded from macro 'ntohs' #define ntohs(x) __htobe16(x) ^~~~~~~~~~~~ /usr/include/sys/_endian.h:98:19: note: expanded from macro '__htobe16' #define __htobe16 __swap16 ^ /usr/include/sys/_endian.h:87:2: note: expanded from macro '__swap16' (__uint16_t)(__builtin_constant_p(x) ? __swap16gen(x) : __swap16md(x)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/local/share/maelstrom\" -o maelstrom-netd Maelstrom-netd.o -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib -lSDL_net ld: warning: Maelstrom-netd.c(Maelstrom-netd.o:(SendError)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: Maelstrom-netd.c(Maelstrom-netd.o:(CheckNewGame)): warning: sprintf() is often misused, please use snprintf() >>> Running package in games/maelstrom at 1732130458.48 ===> games/maelstrom ===> Faking installation for maelstrom-3.0.6p4 Making install in netlogic Making install in screenlib Making install in maclib /bin/sh ./mkinstalldirs /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/bin /exopi-obj/pobj/maelstrom-3.0.6/bin/install -c -s -m 755 maelstrom /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/bin/maelstrom /exopi-obj/pobj/maelstrom-3.0.6/bin/install -c -s -m 755 maelstrom-netd /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/bin/maelstrom-netd make install_gamedata target=/exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/share/maelstrom sh mkinstalldirs /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/share/maelstrom/ mkdir /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/share/maelstrom cp -R Images Maelstrom_Fonts Maelstrom_Sounds Maelstrom_Sprites Maelstrom-Scores icon.bmp icon.xpm /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/share/maelstrom/ make install_gamedocs target=/exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/share/doc/maelstrom sh mkinstalldirs /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/share/doc/maelstrom/ mkdir /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/share/doc/maelstrom cp -R README* COPYING* Docs* /exopi-obj/pobj/maelstrom-3.0.6/fake-amd64/usr/local/share/doc/maelstrom/ ===> Building package for maelstrom-3.0.6p4 Create /exopi-cvs/ports/packages/amd64/all/maelstrom-3.0.6p4.tgz Creating package maelstrom-3.0.6p4 reading plist| checking dependencies| checking dependencies|devel/sdl-net checksumming| checksumming| | 0% checksumming|* | 1% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 7% checksumming|***** | 8% checksumming|****** | 9% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 14% checksumming|********* | 15% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 22% checksumming|************** | 23% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|**************** | 27% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************** | 32% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 55% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|*************************************** | 64% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 68% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************** | 72% checksumming|********************************************* | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 78% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|***************************************************** | 86% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|***** | 8% archiving|****** | 9% archiving|****** | 10% archiving|******* | 10% archiving|******* | 11% archiving|******** | 12% archiving|******** | 13% archiving|********* | 14% archiving|********** | 15% archiving|********** | 16% archiving|*********** | 18% archiving|**************** | 25% archiving|********************* | 33% archiving|************************** | 40% archiving|****************************** | 47% archiving|********************************* | 51% archiving|************************************ | 57% archiving|********************************************** | 72% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/maelstrom-3.0.6p4.tgz >>> Running clean in games/maelstrom at 1732130461.31 ===> games/maelstrom ===> Cleaning for maelstrom-3.0.6p4 >>> Ended at 1732130461.53 max_stuck=2.96/depends=3.40/show-prepare-results=0.74/build=12.91/package=2.83/clean=0.25