+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/maelstrom-sdl-3.0.6nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/maelstrom-sdl-3.0.6nb2/work.log ===> Building for maelstrom-sdl-3.0.6nb2 --- all-recursive --- Making all in netlogic --- about.o --- --- blit.o --- --- game.o --- --- logic.o --- --- about.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c about.cpp --- blit.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c blit.cpp --- game.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c game.cpp --- logic.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c logic.cpp --- game.o --- ../load.h: In member function 'const char* LibPath::Path(const char*)': : warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ../load.h:95:37: note: in expansion of macro 'LIBDIR' 95 | directory = LIBDIR; | ^~~~~~ game.cpp: In function 'void DrawStatus(Bool, Bool)': game.cpp:203:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 203 | i = DrawText(x, gStatusLine+11, "Score:", geneva, STYLE_BOLD, | ^~~~~~~~ game.cpp:206:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 206 | i = DrawText(x, gStatusLine+11, "Shield:", geneva, STYLE_BOLD, | ^~~~~~~~~ game.cpp:209:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 209 | i = DrawText(x, gStatusLine+11, "Wave:", geneva, STYLE_BOLD, | ^~~~~~~ game.cpp:212:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 212 | i = DrawText(x, gStatusLine+11, "Lives:", geneva, STYLE_BOLD, | ^~~~~~~~ game.cpp:215:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 215 | DrawText(x, gStatusLine+11, "Bonus:", geneva, STYLE_BOLD, | ^~~~~~~~ game.cpp:220:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 220 | i = DrawText(x, gStatusLine+11, "Frags:", geneva, | ^~~~~~~~ game.cpp: In function 'void NewGame()': game.cpp:450:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 450 | error("Can't use Geneva font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In function 'void DoGameOver()': game.cpp:733:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 733 | error("Can't load 'gameover' title!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:743:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 743 | error("Can't use New York font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:791:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 791 | error("Can't use New York font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:797:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 797 | x += DrawText(x, 300, "Enter your name: ", | ^~~~~~~~~~~~~~~~~~~ game.cpp: In function 'void DoBonus()': game.cpp:909:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 909 | DrawText(x, 200, "Bonus Score: ", geneva, STYLE_BOLD, | ^~~~~~~~~~~~~~~~~~~ game.cpp:916:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 916 | DrawText(x, 220, "Score: ", geneva, STYLE_BOLD, | ^~~~~~~~~~~~~ --- logic.o --- logic.cpp: In function 'void LogicUsage()': logic.cpp:12:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 12 | " -player N[@host][:port] # Designate player N (at host and/or port)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 | " -server N@host[:port] # Play with N players using server at host\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 | " -deathmatch [N] # Play deathmatch to N frags (default = 8)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic.cpp: In function 'int LogicParseArgs(char***, int*)': logic.cpp:39:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 39 | "The '-player' option requires an argument!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic.cpp:52:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 52 | error("The '-server' option requires an argument!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- about.o --- ../load.h: In member function 'const char* LibPath::Path(const char*)': : warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ../load.h:95:37: note: in expansion of macro 'LIBDIR' 95 | directory = LIBDIR; | ^~~~~~ about.cpp: In function 'void DoAbout()': about.cpp:101:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 101 | "Can't load 'about' title! (ID=%d)\n", idOn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ about.cpp:182:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 182 | "Can't use New York(18) font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- blit.o --- blit.cpp: In function 'int RunFrame()': blit.cpp:26:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 26 | error("Game aborted!\n"); | ^~~~~~~~~~~~~~~~~ --- make.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c make.cpp --- netplay.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c netplay.cpp netplay.cpp: In function 'int InitNetData()': netplay.cpp:61:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 61 | error("NetLogic: Couldn't initialize networking!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:70:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 70 | error("Out of memory (creating network buffers)\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp: In function 'int AddPlayer(char*)': netplay.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 118 | "Argument to '-player' must be in integer between 1 and %d inclusive.\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:125:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 125 | error("Player %d specified multiple times!\r\n", playernum+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:137:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 137 | error("Couldn't resolve host name for %s\r\n", host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:143:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 143 | "More than one local player! (players %d and %d specified as local players)\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp: In function 'int SetServer(char*)': netplay.cpp:166:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 166 | "Server host must be specified in the -server option.\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:177:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 177 | "The number of players must be an integer between 1 and %d inclusive.\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:190:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 190 | error("Couldn't resolve host name for %s\r\n", host); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp: In function 'int CheckPlayers()': netplay.cpp:213:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 213 | AddPlayer("1"); | ^~~ netplay.cpp:220:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 220 | "Player %d not specified! Use the -player option for all players.\r\n", i+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:226:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 226 | error("Which player are you? (Use the -player N option)\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:230:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 230 | error("You cannot be player %d in a %d player game.\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:235:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 235 | error("Warning: No deathmatch in a single player game!\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:243:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 243 | error("Couldn't create bound network socket"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:248:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 248 | error("Couldn't create socket watch set"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp: In function 'int SyncNetwork()': netplay.cpp:323:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 323 | error("Timed out waiting for frame %ld\r\n", NextFrame); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:337:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 337 | error("Network error: SDLNet_UDP_Recv()"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:353:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 353 | error("Unknown packet: 0x%x\n", buf[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:357:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 357 | error("Packet from unknown source\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:373:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 373 | error("Transmitting packet for old frame (%lu)\r\n", frame); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:376:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 376 | error("Received packet for next frame! (%lu, current = %lu)\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:388:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 388 | error("Warning! Received packet for really old frame! (%lu, current = %lu)\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:400:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 400 | "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:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 509 | Message("Connecting to Address Server"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:512:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 512 | ErrorMessage("Connection failed"); | ^~~~~~~~~~~~~~~~~~~ netplay.cpp:518:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 518 | message = "Couldn't create socket set"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:531:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 531 | message = "Socket write error"; | ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:535:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 535 | Message("Waiting for other players"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:561:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 561 | message = "Error reading player addresses"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:573:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 573 | message = "Error: Short server packet!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp: In function 'int Send_NewGame(int*, int*, int*)': netplay.cpp:702:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 702 | ErrorMessage("Network error receiving packets"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp: In function 'int Await_NewGame(int*, int*, int*)': netplay.cpp:758:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 758 | Message("Awaiting Player 1 (server)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ netplay.cpp:779:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 779 | ErrorMessage("Network error receiving packets"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- object.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c object.cpp --- objects.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c objects.cpp --- player.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c player.cpp --- liblogic.a --- 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 --- SDL_FrameBuf.o --- --- pixel.o --- --- SDL_FrameBuf.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c SDL_FrameBuf.cpp --- pixel.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c pixel.cpp --- SDL_FrameBuf.o --- SDL_FrameBuf.cpp: In member function 'int FrameBuf::Init(int, int, Uint32, SDL_Color*, SDL_Surface*)': SDL_FrameBuf.cpp:106:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 106 | SetError("Couldn't set %dx%d video mode: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDL_FrameBuf.cpp:111:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 111 | PrintSurface("Created foreground", screenfg); | ^~~~~~~~~~~~~~~~~~~~ SDL_FrameBuf.cpp:120:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 120 | SetError("Couldn't create background: %s", SDL_GetError()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDL_FrameBuf.cpp:123:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 123 | PrintSurface("Created background", screenbg); | ^~~~~~~~~~~~~~~~~~~~ SDL_FrameBuf.cpp: In member function 'int FrameBuf::ScreenDump(char*, Uint16, Uint16, Uint16, Uint16)': SDL_FrameBuf.cpp:642:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 642 | SetError("%s", SDL_GetError()); | ^~~~ SDL_FrameBuf.cpp: In member function 'SDL_Surface* FrameBuf::LoadImage(Uint16, Uint16, Uint8*, Uint8*)': SDL_FrameBuf.cpp:665:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 665 | SetError("Couldn't create artwork: %s", SDL_GetError()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- libSDLscreen.a --- rm -f libSDLscreen.a ar cru libSDLscreen.a SDL_FrameBuf.o pixel.o ranlib libSDLscreen.a Making all in maclib --- Mac_FontServ.o --- --- Mac_Resource.o --- --- Mac_Sound.o --- --- Mac_Wave.o --- --- Mac_FontServ.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c Mac_FontServ.cpp --- Mac_Resource.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c Mac_Resource.cpp --- Mac_Sound.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c Mac_Sound.cpp --- Mac_Wave.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c Mac_Wave.cpp --- Mac_Sound.o --- Mac_Sound.cpp: In constructor 'Sound::Sound(const char*, Uint8)': Mac_Sound.cpp:110:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 110 | error("%s", soundres->Error()); | ^~~~ Mac_Sound.cpp:114:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 114 | error("No sound resources in '%s'", soundfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Sound.cpp:122:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 122 | error("%s", soundres->Error()); | ^~~~ Mac_Sound.cpp:128:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 128 | error("%s", wave->Error()); | ^~~~ --- Mac_FontServ.o --- Mac_FontServ.cpp: In constructor 'FontServ::FontServ(const char*)': Mac_FontServ.cpp:80:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 80 | SetError("Couldn't load resources from %s", fontfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp:84:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 84 | SetError("FontServ: No 'FOND' resources in %s", fontfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp: In member function 'MFont* FontServ::NewFont(const char*, int)': Mac_FontServ.cpp:116:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 116 | SetError("Warning: Font family '%s' not found", fontname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp:147:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 147 | "Warning: Font family '%s' doesn't have %d pt fonts", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp:158:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 158 | "Warning: Can't find NFNT resource for %d pt %s font", ptsize, fontname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp:184:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 184 | SetError("Warning: Bad font Magic number: 0x%04x", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp: In member function 'SDL_Surface* FontServ::TextImage(const char*, MFont*, Uint8, SDL_Color, SDL_Color)': Mac_FontServ.cpp:288:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 288 | "FontServ: Italics not implemented!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp:291:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 291 | "FontServ: Unknown text style!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp:329:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 329 | SetError("No text to convert"); | ^~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp:337:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 337 | SetError("Unable to allocate bitmap: %s", SDL_GetError()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_FontServ.cpp: In member function 'int FontServ::InvertText(SDL_Surface*)': Mac_FontServ.cpp:409:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 409 | SetError("Not a text bitmap"); | ^~~~~~~~~~~~~~~~~~~ --- Mac_Resource.o --- Mac_Resource.cpp: In function 'std::FILE* Open_MacRes(char**, Uint32*)': Mac_Resource.cpp:197:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 197 | dirname = ""; | ^~ Mac_Resource.cpp: In constructor 'Mac_Resource::Mac_Resource(const char*)': Mac_Resource.cpp:271:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 271 | error("Couldn't open resource file '%s'", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:280:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 280 | error("Couldn't read resource info from '%s'", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Mac_Wave.o --- Mac_Wave.cpp: In member function 'int Wave::Load(const char*, Uint16)': Mac_Wave.cpp:117:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 117 | error("%s", SDL_GetError()); | ^~~~ --- Mac_Resource.o --- Mac_Resource.cpp:291:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 291 | error("Couldn't read resource info from '%s'", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:309:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 309 | error("Couldn't read resource info from '%s'", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Mac_Wave.o --- Mac_Wave.cpp: In member function 'int Wave::Load(Mac_ResData*, Uint16)': Mac_Wave.cpp:182:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 182 | error("Multi-type sound not supported"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Mac_Resource.o --- Mac_Resource.cpp:335:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 335 | error("Couldn't read resource info from '%s'", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Mac_Wave.o --- Mac_Wave.cpp:187:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 187 | error("Not a sampled sound resource"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp:196:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 196 | error("Unknown sound format: 0x%X", snd_version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp:209:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 209 | error("Multi-command sound not supported"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp:214:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 214 | error("Unknown sound command: 0x%X\n", command); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp:223:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 223 | error("Offset too large -- corrupt sound?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp:241:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 241 | error("Sound samples don't immediately follow header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp:251:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 251 | error("Non-standard sound encoding: 0x%X", encoding); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp:259:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 259 | error("truncated sound resource"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- Mac_Resource.o --- Mac_Resource.cpp: In member function 'Uint16* Mac_Resource::ResourceIDs(const char*)': Mac_Resource.cpp:437:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 437 | 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:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 454 | 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:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 481 | error("Couldn't read %d bytes", d->length); | ^~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:491:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 491 | 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:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 518 | error("Couldn't read %d bytes", d->length); | ^~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:528:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 528 | error("Couldn't find resource of type '%s', name %s", res_type, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Mac_Wave.o --- Mac_Wave.cpp: In member function 'int Wave::Save(char*)': Mac_Wave.cpp:531:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 531 | error("Couldn't open %s for writing", wavefile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp:566:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 566 | error("Couldn't write to %s", wavefile); | ^~~~~~~~~~~~~~~~~~~~~~ --- macres.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c macres.cpp --- snd2wav.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c snd2wav.cpp --- libSDLmac.a --- rm -f libSDLmac.a ar cru libSDLmac.a Mac_FontServ.o Mac_Resource.o Mac_Sound.o Mac_Wave.o ranlib libSDLmac.a --- snd2wav --- g++ -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -o snd2wav snd2wav.o libSDLmac.a -lsocket -lnsl -L/opt/pkg/lib -R/opt/pkg/lib -lSDL -lpthread -lposix4 -lSDL_net --- macres --- g++ -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -o macres macres.o libSDLmac.a -lsocket -lnsl -L/opt/pkg/lib -R/opt/pkg/lib -lSDL -lpthread -lposix4 -lSDL_net --- checksum.o --- --- controls.o --- --- dialog.o --- --- fastrand.o --- --- checksum.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c checksum.cpp --- controls.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c controls.cpp --- dialog.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c dialog.cpp --- fastrand.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c fastrand.cpp --- checksum.o --- checksum.cpp: In function 'char* get_checksum(unsigned char*, int)': checksum.cpp:264:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 264 | static char *foo = "Checksum Not Enabled"; | ^~~~~~~~~~~~~~~~~~~~~~ --- init.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c init.cpp --- controls.o --- load.h: In member function 'const char* LibPath::Path(const char*)': : warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] load.h:95:37: note: in expansion of macro 'LIBDIR' 95 | directory = LIBDIR; | ^~~~~~ --- load.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c load.cpp --- dialog.o --- dialog.cpp: In constructor 'Mac_Button::Mac_Button(int, int, int, int, char*, MFont*, FontServ*, int (*)())': dialog.cpp:32:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 32 | SetError("%s", SDL_GetError()); | ^~~~ --- init.o --- load.h: In member function 'const char* LibPath::Path(const char*)': : warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] load.h:95:37: note: in expansion of macro 'LIBDIR' 95 | directory = LIBDIR; | ^~~~~~ --- controls.o --- controls.cpp: In function 'void KeyName(SDLKey, char*)': controls.cpp:43:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 43 | name = "up arrow"; | ^~~~~~~~~~ controls.cpp:46:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 46 | name = "down arrow"; | ^~~~~~~~~~~~ controls.cpp:49:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 49 | name = "right arrow"; | ^~~~~~~~~~~~~ controls.cpp:52:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 52 | name = "left arrow"; | ^~~~~~~~~~~~ In file included from controls.cpp:9: controls.cpp: In function 'std::FILE* OpenData(char*, char**)': load.h:34:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 34 | #define CUR_DIR "." | ^~~ controls.cpp:78:32: note: in expansion of macro 'CUR_DIR' 78 | home = CUR_DIR; | ^~~~~~~ controls.cpp:80:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 80 | home=""; | ^~ controls.cpp: In function 'void LoadControls()': controls.cpp:98:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 98 | data = OpenData("r", &datafile); | ^~~ controls.cpp:106:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 106 | "Warning: Data file '%s' is corrupt! (will fix)\n", datafile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp: In function 'void SaveControls()': controls.cpp:122:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 122 | if ( (data=OpenData("r", NULL)) != NULL ) { | ^~~ controls.cpp:123:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 123 | newmode = "r+"; | ^~~~ controls.cpp:126:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 126 | newmode = "w"; | ^~~ controls.cpp:129:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 129 | error("Warning: Couldn't save controls to %s\n", datafile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp: At global scope: controls.cpp:160:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 160 | { "Fire", 0*BOX_HEIGHT+0*SP, &newcontrols.gFireControl }, | ^~~~~~ controls.cpp:161:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 161 | { "Thrust", 1*BOX_HEIGHT+1*SP, &newcontrols.gThrustControl }, | ^~~~~~~~ controls.cpp:162:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 162 | { "Shield", 2*BOX_HEIGHT+2*SP, &newcontrols.gShieldControl }, | ^~~~~~~~ controls.cpp:163:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 163 | { "Turn Clockwise", 3*BOX_HEIGHT+3*SP, &newcontrols.gTurnRControl }, | ^~~~~~~~~~~~~~~~ controls.cpp:164:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 164 | { "Turn Counter-Clockwise", | ^~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp:166:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 166 | { "Pause", 5*BOX_HEIGHT+5*SP, &newcontrols.gPauseControl }, | ^~~~~~~ controls.cpp:167:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 167 | { "Abort Game", 6*BOX_HEIGHT+6*SP, &newcontrols.gQuitControl }, | ^~~~~~~~~~~~ controls.cpp: In function 'void ConfigureControls()': controls.cpp:263:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 263 | error("Can't use Chicago font!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp:267:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 267 | error("Can't load configuration splash!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp:284:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 284 | "Cancel", chicago, fontserv, Cancel_callback); | ^~~~~~~~ controls.cpp:288:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 288 | "OK", chicago, fontserv, OK_callback); | ^~~~ controls.cpp: In function 'void HandleEvent(SDL_Event*)': controls.cpp:425:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 425 | screen->ScreenDump("ScreenShot", | ^~~~~~~~~~~~ controls.cpp: In function 'void ShowDawn()': controls.cpp:499:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 499 | "No eternal reward will forgive us", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp:500:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 500 | "now", | ^~~~~ controls.cpp:501:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 501 | "for", | ^~~~~ controls.cpp:502:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 502 | "wasting", | ^~~~~~~~~ controls.cpp:503:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 503 | "the", | ^~~~~ controls.cpp:504:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 504 | "dawn." | ^~~~~~~ controls.cpp:521:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 521 | error("Can't use Chicago font!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp:525:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 525 | error("Can't load alien dawn splash!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp:544:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 544 | "OK", chicago, fontserv, NULL); | ^~~~ --- init.o --- init.cpp: In function 'void DoSplash()': init.cpp:68:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 68 | error("Can't load Ambrosia splash title! (ID=%d)\n", 999); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp: In function 'void DoIntroScreen()': init.cpp:89:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 89 | error("Can't load intro title! (ID=%d)\n", 130); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp:117:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 117 | error("Warning: %s\n", fontserv->Error()); | ^~~~~~~~~~~~~~~ init.cpp: In function 'int DoInitializations(Uint32)': init.cpp:732:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 732 | error("Couldn't initialize SDL: %s\n", SDL_GetError()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp:749:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 749 | error("Warning: Couldn't open joystick '%s' : %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp:758:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 758 | error("Fatal: %s\n", fontserv->Error()); | ^~~~~~~~~~~~~ init.cpp:765:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 765 | error("Fatal: %s\n", sound->Error()); | ^~~~~~~~~~~~~ init.cpp:772:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 772 | error("Fatal: Couldn't load icon: %s\n", SDL_GetError()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp:780:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 780 | error("Fatal: %s\n", screen->Error()); | ^~~~~~~~~~~~~ init.cpp:783:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 783 | screen->SetCaption("Maelstrom"); | ^~~~~~~~~~~ init.cpp:826:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 826 | error("%s\n", spriteres.Error()); | ^~~~~~ init.cpp: In function 'int LoadSprite(Mac_Resource*, Blit**, int, int)': init.cpp:1086:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1086 | "LoadSprite(%d+%d): Couldn't load ICN# resource!\n", baseID, index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp:1094:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1094 | "LoadSprite(%d+%d): Couldn't load icl8 resource!\n", baseID, index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp:1128:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1128 | "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:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1206 | "LoadSmallSprite(%d+%d): Couldn't load ics# resource!\n", baseID,index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp:1214:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1214 | "LoadSmallSprite(%d+%d): Couldn't load ics8 resource!\n", baseID,index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.cpp:1248:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1248 | "LoadSprite(%d+%d): Couldn't convert sprite image!\n", baseID, index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- load.o --- load.h: In member function 'const char* LibPath::Path(const char*)': : warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] load.h:95:37: note: in expansion of macro 'LIBDIR' 95 | directory = LIBDIR; | ^~~~~~ load.cpp: In function 'SDL_Surface* GetCIcon(FrameBuf*, short int)': load.cpp:108:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 108 | error("GetCIcon(%hd): Can't open CICN %s: ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.cpp:117:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 117 | error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.cpp:124:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 124 | error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.cpp:136:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 136 | error("GetCIcon(%hd): Couldn't convert CICN!\n", cicn_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- main.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c main.cpp --- myerror.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c myerror.cpp --- netscore.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c netscore.cpp --- main.o --- load.h: In member function 'const char* LibPath::Path(const char*)': : warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] load.h:95:37: note: in expansion of macro 'LIBDIR' 95 | directory = LIBDIR; | ^~~~~~ main.cpp: At global scope: main.cpp:23:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 23 | "Maelstrom v1.4.3 (GPL version 3.0.6) -- 10/19/2002 by Sam Lantinga\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void RunSpeedTest()': main.cpp:141:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 141 | mesg("Graphics speed test took %d microseconds per cycle.\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void PrintUsage()': main.cpp:152:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 152 | error("\nUsage: %s [-netscores] -printscores\n", progname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:153:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 153 | error("or\n"); | ^~~~~~ main.cpp:154:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 154 | error("Usage: %s \n\n", progname); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:155:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 155 | error("Where can be any of:\n\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | " -fullscreen # Run Maelstrom in full-screen mode\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 157 | " -gamma [0-8] # Set the gamma correction\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 158 | " -volume [0-8] # Set the sound volume\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | " -netscores # Use the world-wide network score server\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:162:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 162 | error("\n"); | ^~~~ main.cpp: In function 'int main(int, char**)': main.cpp:212:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 212 | mesg("Current Gamma correction level: %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:219:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 219 | "Gamma correction value must be between 0 and 8. -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:233:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 233 | mesg("Current volume level: %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:239:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 239 | "Volume must be a number between 0 and 8. -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:252:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 252 | mesg("Checksum = %s\n", get_checksum(NULL, 0)); | ^~~~~~~~~~~~~~~~~ main.cpp:265:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 265 | error("%s", Version); | ^~~~ main.cpp:382:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 382 | screen->ScreenDump("ScoreDump", | ^~~~~~~~~~~ main.cpp: In function 'void DrawSoundLevel()': main.cpp:447:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 447 | error("Can't use Geneva font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void DrawMainScreen()': main.cpp:489:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 489 | error("Can't load 'title' title! (ID=%d)\n", 129); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:524:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 524 | error("Can't use New York (18) font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:527:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 527 | DrawText(xOff+5, botDiv+22, "Name", bigfont, STYLE_ULINE, | ^~~~~~ main.cpp:530:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 530 | DrawText(sRt, botDiv+22, "Score", bigfont, STYLE_ULINE, | ^~~~~~~ main.cpp:534:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 534 | DrawText(wRt, botDiv+22, "Wave", bigfont, STYLE_ULINE, | ^~~~~~ main.cpp:541:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 541 | error("Can't use New York (14) font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:570:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 570 | DrawText(xOff+5, botDiv+46+(10*18)+3, "Last Score: ", | ^~~~~~~~~~~~~~ main.cpp:583:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 583 | DrawKey(&pt, "P", " Start playing Maelstrom", RunPlayGame); | ^~~ main.cpp:583:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 583 | DrawKey(&pt, "P", " Start playing Maelstrom", RunPlayGame); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:587:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 587 | DrawKey(&pt, "C", " Configure the game controls", RunConfigureControls); | ^~~ main.cpp:587:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 587 | DrawKey(&pt, "C", " Configure the game controls", RunConfigureControls); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:591:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 591 | DrawKey(&pt, "Z", " Zap the high scores", RunZapScores); | ^~~ main.cpp:591:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 591 | DrawKey(&pt, "Z", " Zap the high scores", RunZapScores); | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:595:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 595 | DrawKey(&pt, "A", " About Maelstrom...", RunDoAbout); | ^~~ main.cpp:595:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 595 | DrawKey(&pt, "A", " About Maelstrom...", RunDoAbout); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp:601:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 601 | DrawKey(&pt, "Q", " Quit Maelstrom", RunQuitGame); | ^~~ main.cpp:601:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 601 | DrawKey(&pt, "Q", " Quit Maelstrom", RunQuitGame); | ^~~~~~~~~~~~~~~~~ main.cpp:605:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 605 | DrawKey(&pt, "0", " ", DecrementSound); | ^~~ main.cpp:605:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 605 | DrawKey(&pt, "0", " ", DecrementSound); | ^~~ main.cpp:608:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 608 | error("Can't use Geneva font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:611:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 611 | DrawText(pt.h+gKeyIcon->w+3, pt.v+19, "-", | ^~~ main.cpp:615:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 615 | DrawKey(&pt, "8", " Set Sound Volume", IncrementSound); | ^~~ main.cpp:615:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 615 | DrawKey(&pt, "8", " Set Sound Volume", IncrementSound); | ^~~~~~~~~~~~~~~~~~~ main.cpp:619:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 619 | DrawText(xOff+5+68, yOff+5+127, "Port to Linux by Sam Lantinga", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:621:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 621 | DrawText(rightDiv+10, yOff+259, "©1992-4 Ambrosia Software, Inc.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ./netlogic/netlogic.h:6:33: note: in expansion of macro 'VERSION' 6 | #define VERSION_STRING VERSION ".N" | ^~~~~~~ main.cpp:626:37: note: in expansion of macro 'VERSION_STRING' 626 | DrawText(xOff+20, yOff+151, VERSION_STRING, | ^~~~~~~~~~~~~~ main.cpp: In function 'void DrawKey(MPoint*, char*, char*, void (*)())': main.cpp:647:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 647 | error("Can't use Geneva font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void Message(char*)': main.cpp:674:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 674 | error("Can't use New York(14) font! -- Exiting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- netscore.o --- In file included from netscore.cpp:10: netscore.cpp: In function 'void RegisterHighScore(Scores)': netscore.h:4:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 4 | #define SCORE_HOST "devolution.com" | ^~~~~~~~~~~~~~~~ netscore.cpp:27:35: note: in expansion of macro 'SCORE_HOST' 27 | remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); | ^~~~~~~~~~ netscore.cpp:30:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30 | "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netscore.cpp:31:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 31 | error("-- High Score not registered.\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netscore.cpp:42:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 42 | error("Warning: Score Server protocol error.\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netscore.cpp:43:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 43 | error("-- High Score not registered.\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netscore.cpp:54:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 54 | error("Warning: short authentication key.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netscore.cpp:68:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 68 | error("New high score was rejected: %s", netbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netscore.cpp: In function 'int NetLoadScores()': netscore.h:4:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 4 | #define SCORE_HOST "devolution.com" | ^~~~~~~~~~~~~~~~ netscore.cpp:124:35: note: in expansion of macro 'SCORE_HOST' 124 | remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); | ^~~~~~~~~~ netscore.cpp:127:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 127 | "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netscore.cpp:171:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 171 | "Warning: Couldn't read complete score list!\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netscore.cpp:172:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 172 | error("Line was: %s", netbuf); | ^~~~~~~~~~~~~~ --- rect.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c rect.cpp --- scores.o --- g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c scores.cpp --- Maelstrom-netd.o --- gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/opt/pkg/games\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/opt/pkg/share/Maelstrom\" -c Maelstrom-netd.c Maelstrom-netd.c: In function 'DisconnectPlayer': Maelstrom-netd.c:48:24: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 48 | (void) free(players[which].packet); | ^~~~ Maelstrom-netd.c:24:1: note: include '' or provide a declaration of 'free' 23 | #include "protocol.h" +++ |+#include 24 | Maelstrom-netd.c:48:24: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 48 | (void) free(players[which].packet); | ^~~~ Maelstrom-netd.c:48:24: note: include '' or provide a declaration of 'free' Maelstrom-netd.c: In function 'SendError': Maelstrom-netd.c:62:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 62 | exit(3); | ^~~~ Maelstrom-netd.c:62:17: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:62:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] Maelstrom-netd.c:62:17: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: In function 'Fatal': Maelstrom-netd.c:82:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 82 | exit(3); | ^~~~ Maelstrom-netd.c:82:9: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: In function 'CheckNewGame': Maelstrom-netd.c:157:45: error: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] 157 | strcpy(ptr, (char *)inet_ntoa(player->raddr.sin_addr)); | ^~~~~~~~~ Maelstrom-netd.c:157:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 157 | strcpy(ptr, (char *)inet_ntoa(player->raddr.sin_addr)); | ^ Maelstrom-netd.c: In function 'I_Crashed': Maelstrom-netd.c:181:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 181 | exit(sig); | ^~~~ Maelstrom-netd.c:181:9: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: At top level: Maelstrom-netd.c:184:1: error: return type defaults to 'int' [-Wimplicit-int] 184 | main(int argc, char *argv[]) | ^~~~ Maelstrom-netd.c: In function 'main': Maelstrom-netd.c:198:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 198 | exit(3); | ^~~~ Maelstrom-netd.c:198:17: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:207:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 207 | exit(3); | ^~~~ Maelstrom-netd.c:207:17: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:211:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 211 | exit(3); | ^~~~ Maelstrom-netd.c:211:17: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:250:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 250 | exit(3); | ^~~~ Maelstrom-netd.c:250:33: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:266:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 266 | exit(3); | ^~~~ Maelstrom-netd.c:266:33: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:274:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 274 | exit(3); | ^~~~ Maelstrom-netd.c:274:33: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:357:33: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 357 | malloc(players[slot].packetlen)) == NULL) { | ^~~~~~ Maelstrom-netd.c:357:33: note: include '' or provide a declaration of 'malloc' Maelstrom-netd.c:357:33: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] Maelstrom-netd.c:357:33: note: include '' or provide a declaration of 'malloc' *** [Maelstrom-netd.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/games/maelstrom-sdl/work/Maelstrom-3.0.6 --- scores.o --- load.h: In member function 'const char* LibPath::Path(const char*)': : warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] load.h:95:37: note: in expansion of macro 'LIBDIR' 95 | directory = LIBDIR; | ^~~~~~ scores.cpp: In function 'void LoadScores()': scores.cpp:55:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 55 | mesg("Using local score file\n\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp: In function 'void SaveScores()': scores.cpp:114:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 114 | error("Warning: Couldn't save scores to %s\n", pathstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp: In function 'int ZapHighScores()': scores.cpp:164:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 164 | error("Can't use Chicago font!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp:168:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 168 | error("Can't load score zapping splash!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp:177:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 177 | "Clear", chicago, fontserv, Clear_callback); | ^~~~~~~ scores.cpp:181:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 181 | "Cancel", chicago, fontserv, Cancel_callback); | ^~~~~~~~ scores.cpp: In function 'int GetStartLevel()': scores.cpp:217:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 217 | "Enter the level to start from (1-40). This"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp:219:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 219 | "disqualifies you from a high score..."; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp:220:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 220 | static char *Ltext3 = "Level:"; | ^~~~~~~~ scores.cpp:221:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 221 | static char *Ltext4 = "Lives:"; | ^~~~~~~~ scores.cpp:226:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 226 | static char *turbotext = "Turbofunk On"; | ^~~~~~~~~~~~~~ scores.cpp:236:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 236 | error("Can't use Chicago font!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp:240:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 240 | error("Can't load alien level splash!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scores.cpp:259:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 259 | "Cancel", chicago, fontserv, Cancel2_callback); | ^~~~~~~~ scores.cpp:262:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 262 | "Do it!", chicago, fontserv, Level_callback); | ^~~~~~~~ bmake[1]: 1 error bmake[1]: stopped making "all-am" in /home/pbulk/build/games/maelstrom-sdl/work/Maelstrom-3.0.6 *** [all-recursive] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/maelstrom-sdl/work/Maelstrom-3.0.6 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/games/maelstrom-sdl/work/Maelstrom-3.0.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/maelstrom-sdl *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/maelstrom-sdl