+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/maelstrom-sdl-3.0.6nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/maelstrom-sdl-3.0.6nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for maelstrom-sdl-3.0.6nb1 --- all-recursive --- Making all in netlogic --- about.o --- --- blit.o --- --- about.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c about.cpp --- blit.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c blit.cpp blit.cpp: In function 'int RunFrame()': blit.cpp:26:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Game aborted!\n"); ^ --- about.o --- In file included from about.cpp:4:0: ../load.h: In member function 'const char* LibPath::Path(const char*)': ../load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ about.cpp: In function 'void DoAbout()': about.cpp:101:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Can't load 'about' title! (ID=%d)\n", idOn); ^ about.cpp:182:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Can't use New York(18) font! -- Exiting.\n"); ^ --- game.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c game.cpp --- logic.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c logic.cpp --- game.o --- In file included from game.cpp:7:0: ../load.h: In member function 'const char* LibPath::Path(const char*)': ../load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ game.cpp: In function 'void DrawStatus(Bool, Bool)': game.cpp:204:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:207:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:210:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:213:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:216:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:221:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] STYLE_BOLD, 30000>>8, 30000>>8, 0xFF); ^ game.cpp: In function 'void NewGame()': game.cpp:450:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ game.cpp: In function 'void DoGameOver()': game.cpp:733:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load 'gameover' title!\n"); ^ game.cpp:743:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York font! -- Exiting.\n"); ^ game.cpp:791:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York font! -- Exiting.\n"); ^ game.cpp:798:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newyork, STYLE_NORM, 30000>>8, 30000>>8, 0xFF); ^ game.cpp: In function 'void DoBonus()': game.cpp:910:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ game.cpp:917:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30000>>8, 30000>>8, 0xFF); ^ --- logic.o --- logic.cpp: In function 'void LogicUsage()': logic.cpp:15:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ); ^ logic.cpp: In function 'int LogicParseArgs(char***, int*)': logic.cpp:39:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "The '-player' option requires an argument!\n"); ^ logic.cpp:52:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("The '-server' option requires an argument!\n"); ^ --- make.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c make.cpp --- netplay.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c netplay.cpp netplay.cpp: In function 'int InitNetData()': netplay.cpp:61:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("NetLogic: Couldn't initialize networking!\n"); ^ netplay.cpp:70:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Out of memory (creating network buffers)\n"); ^ netplay.cpp: In function 'int AddPlayer(char*)': netplay.cpp:119:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] MAX_PLAYERS); ^ netplay.cpp:125:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Player %d specified multiple times!\r\n", playernum+1); ^ netplay.cpp:137:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't resolve host name for %s\r\n", host); ^ netplay.cpp:144:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gOurPlayer+1, playernum+1); ^ netplay.cpp: In function 'int SetServer(char*)': netplay.cpp:166:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Server host must be specified in the -server option.\r\n"); ^ netplay.cpp:178:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] MAX_PLAYERS); ^ netplay.cpp:190:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't resolve host name for %s\r\n", host); ^ netplay.cpp: In function 'int CheckPlayers()': netplay.cpp:213:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] AddPlayer("1"); ^ netplay.cpp:220:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Player %d not specified! Use the -player option for all players.\r\n", i+1); ^ netplay.cpp:226:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Which player are you? (Use the -player N option)\r\n"); ^ netplay.cpp:231:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gOurPlayer+1, gNumPlayers); ^ netplay.cpp:235:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: No deathmatch in a single player game!\r\n"); ^ netplay.cpp:243:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't create bound network socket"); ^ netplay.cpp:248:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't create socket watch set"); ^ netplay.cpp: In function 'int SyncNetwork()': netplay.cpp:323:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Timed out waiting for frame %ld\r\n", NextFrame); ^ netplay.cpp:337:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Network error: SDLNet_UDP_Recv()"); ^ netplay.cpp:353:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown packet: 0x%x\n", buf[0]); ^ netplay.cpp:357:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Packet from unknown source\n"); ^ netplay.cpp:373:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Transmitting packet for old frame (%lu)\r\n", frame); ^ netplay.cpp:377:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] frame, NextFrame); ^ netplay.cpp:389:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] frame, NextFrame); ^ netplay.cpp:400:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning!! \a Frame consistency error with player %d!! (corrected)\r\n", index+1); ^ netplay.cpp: In function 'int AlertServer(int*, int*, int*)': netplay.cpp:509:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Message("Connecting to Address Server"); ^ netplay.cpp:512:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ErrorMessage("Connection failed"); ^ netplay.cpp:518:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message = "Couldn't create socket set"; ^ netplay.cpp:531:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message = "Socket write error"; ^ netplay.cpp:535:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Message("Waiting for other players"); ^ netplay.cpp:561:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message = "Error reading player addresses"; ^ netplay.cpp:573:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message = "Error: Short server packet!"; ^ netplay.cpp: In function 'int Send_NewGame(int*, int*, int*)': netplay.cpp:702:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ErrorMessage("Network error receiving packets"); ^ netplay.cpp: In function 'int Await_NewGame(int*, int*, int*)': netplay.cpp:758:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Message("Awaiting Player 1 (server)"); ^ netplay.cpp:779:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ErrorMessage("Network error receiving packets"); ^ --- object.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c object.cpp --- objects.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c objects.cpp --- player.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/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 --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c SDL_FrameBuf.cpp --- pixel.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/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:107:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] width, height, SDL_GetError()); ^ SDL_FrameBuf.cpp:111:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrintSurface("Created foreground", screenfg); ^ SDL_FrameBuf.cpp:120:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Couldn't create background: %s", SDL_GetError()); ^ SDL_FrameBuf.cpp:123:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrintSurface("Created background", screenbg); ^ SDL_FrameBuf.cpp: In member function 'int FrameBuf::ScreenDump(char*, Uint16, Uint16, Uint16, Uint16)': SDL_FrameBuf.cpp:642:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("%s", SDL_GetError()); ^ SDL_FrameBuf.cpp: In member function 'SDL_Surface* FrameBuf::LoadImage(Uint16, Uint16, Uint8*, Uint8*)': SDL_FrameBuf.cpp:665:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Couldn't create artwork: %s", SDL_GetError()); ^ --- 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_FontServ.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c Mac_FontServ.cpp --- Mac_Resource.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c Mac_Resource.cpp Mac_Resource.cpp: In function 'FILE* Open_MacRes(char**, Uint32*)': Mac_Resource.cpp:197:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] dirname = ""; ^ Mac_Resource.cpp: In constructor 'Mac_Resource::Mac_Resource(const char*)': Mac_Resource.cpp:271:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't open resource file '%s'", filename); ^ Mac_Resource.cpp:280:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't read resource info from '%s'", filename); ^ Mac_Resource.cpp:291:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't read resource info from '%s'", filename); ^ Mac_Resource.cpp:310:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] filename); ^ Mac_Resource.cpp:336:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] filename); ^ Mac_Resource.cpp: In member function 'Uint16* Mac_Resource::ResourceIDs(const char*)': Mac_Resource.cpp:437:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't find resources of type '%s'", res_type); ^ Mac_Resource.cpp: In member function 'char* Mac_Resource::ResourceName(const char*, Uint16)': Mac_Resource.cpp:454:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't find resource of type '%s', id %hu", res_type, id); ^ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, Uint16)': Mac_Resource.cpp:481:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't read %d bytes", d->length); ^ Mac_Resource.cpp:491:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't find resource of type '%s', id %hu", res_type, id); ^ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, const char*)': Mac_Resource.cpp:518:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't read %d bytes", d->length); ^ Mac_Resource.cpp:528:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't find resource of type '%s', name %s", res_type, name); ^ Mac_Resource.cpp: In constructor 'Mac_Resource::Mac_Resource(const char*)': Mac_Resource.cpp:357:34: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&name_len, 1, 1, filep); ^ Mac_Resource.cpp:360:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 1, name_len, filep); ^ Mac_Resource.cpp: In function 'void CheckAppleFile(FILE*, Uint32*)': Mac_Resource.cpp:130:43: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] sizeof(header.versionNum), 1, resfile); ^ Mac_Resource.cpp:133:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] sizeof(header.filler), 1, resfile); ^ Mac_Resource.cpp:135:43: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] sizeof(header.numEntries), 1, resfile); ^ --- Mac_FontServ.o --- Mac_FontServ.cpp: In constructor 'FontServ::FontServ(const char*)': Mac_FontServ.cpp:80:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Couldn't load resources from %s", fontfile); ^ Mac_FontServ.cpp:84:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("FontServ: No 'FOND' resources in %s", fontfile); ^ Mac_FontServ.cpp: In member function 'MFont* FontServ::NewFont(const char*, int)': Mac_FontServ.cpp:116:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Warning: Font family '%s' not found", fontname); ^ Mac_FontServ.cpp:148:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fontname, ptsize); ^ --- Mac_Resource.o --- Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, Uint16)': Mac_Resource.cpp:476:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&d->length, 4, 1, filep); ^ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, const char*)': Mac_Resource.cpp:513:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&d->length, 4, 1, filep); ^ --- Mac_FontServ.o --- Mac_FontServ.cpp:158:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Can't find NFNT resource for %d pt %s font", ptsize, fontname); ^ Mac_FontServ.cpp:185:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (font->header)->fontType); ^ Mac_FontServ.cpp: In member function 'SDL_Surface* FontServ::TextImage(const char*, MFont*, Uint8, SDL_Color, SDL_Color)': Mac_FontServ.cpp:288:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "FontServ: Italics not implemented!"); ^ Mac_FontServ.cpp:291:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "FontServ: Unknown text style!"); ^ Mac_FontServ.cpp:329:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("No text to convert"); ^ Mac_FontServ.cpp:337:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Unable to allocate bitmap: %s", SDL_GetError()); ^ Mac_FontServ.cpp: In member function 'int FontServ::InvertText(SDL_Surface*)': Mac_FontServ.cpp:409:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("Not a text bitmap"); ^ --- Mac_Sound.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c Mac_Sound.cpp Mac_Sound.cpp: In constructor 'Sound::Sound(const char*, Uint8)': Mac_Sound.cpp:110:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", soundres->Error()); ^ Mac_Sound.cpp:114:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("No sound resources in '%s'", soundfile); ^ Mac_Sound.cpp:122:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", soundres->Error()); ^ Mac_Sound.cpp:128:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", wave->Error()); ^ --- Mac_Wave.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c Mac_Wave.cpp Mac_Wave.cpp: In member function 'int Wave::Load(const char*, Uint16)': Mac_Wave.cpp:117:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", SDL_GetError()); ^ Mac_Wave.cpp: In member function 'int Wave::Load(Mac_ResData*, Uint16)': Mac_Wave.cpp:182:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Multi-type sound not supported"); ^ Mac_Wave.cpp:187:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Not a sampled sound resource"); ^ Mac_Wave.cpp:196:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown sound format: 0x%X", snd_version); ^ Mac_Wave.cpp:209:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Multi-command sound not supported"); ^ Mac_Wave.cpp:214:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Unknown sound command: 0x%X\n", command); ^ Mac_Wave.cpp:223:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Offset too large -- corrupt sound?"); ^ Mac_Wave.cpp:241:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Sound samples don't immediately follow header"); ^ Mac_Wave.cpp:251:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Non-standard sound encoding: 0x%X", encoding); ^ Mac_Wave.cpp:259:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("truncated sound resource"); ^ Mac_Wave.cpp: In member function 'int Wave::Save(char*)': Mac_Wave.cpp:531:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't open %s for writing", wavefile); ^ Mac_Wave.cpp:566:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't write to %s", wavefile); ^ --- macres.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c macres.cpp --- snd2wav.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/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 --- macres --- --- snd2wav --- c++ -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -o snd2wav snd2wav.o libSDLmac.a -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lSDL_net --- macres --- c++ -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -o macres macres.o libSDLmac.a -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lSDL_net --- checksum.o --- --- controls.o --- --- checksum.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c checksum.cpp --- controls.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c controls.cpp --- checksum.o --- checksum.cpp: In function 'char* get_checksum(unsigned char*, int)': checksum.cpp:264:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *foo = "Checksum Not Enabled"; ^ --- dialog.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c dialog.cpp --- controls.o --- In file included from controls.cpp:9:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ controls.cpp: In function 'void KeyName(SDLKey, char*)': controls.cpp:43:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = "up arrow"; ^ controls.cpp:46:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = "down arrow"; ^ controls.cpp:49:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = "right arrow"; ^ controls.cpp:52:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = "left arrow"; ^ controls.cpp: In function 'FILE* OpenData(char*, char**)': controls.cpp:78:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] home = CUR_DIR; ^ controls.cpp:80:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] home=""; ^ controls.cpp: In function 'void LoadControls()': controls.cpp:98:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] data = OpenData("r", &datafile); ^ controls.cpp:106:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Data file '%s' is corrupt! (will fix)\n", datafile); ^ controls.cpp: In function 'void SaveControls()': controls.cpp:122:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( (data=OpenData("r", NULL)) != NULL ) { ^ controls.cpp:123:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newmode = "r+"; ^ controls.cpp:126:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newmode = "w"; ^ controls.cpp:129:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: Couldn't save controls to %s\n", datafile); ^ controls.cpp: At global scope: controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:168:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp: In function 'void ConfigureControls()': controls.cpp:263:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ controls.cpp:267:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load configuration splash!\n"); ^ controls.cpp:284:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel_callback); ^ controls.cpp:288:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "OK", chicago, fontserv, OK_callback); ^ controls.cpp: In function 'void HandleEvent(SDL_Event*)': controls.cpp:426:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0, 0, 0, 0); ^ controls.cpp: In function 'void ShowDawn()': controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:505:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controls.cpp:521:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ controls.cpp:525:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load alien dawn splash!\n"); ^ controls.cpp:544:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "OK", chicago, fontserv, NULL); ^ --- dialog.o --- dialog.cpp: In constructor 'Mac_Button::Mac_Button(int, int, int, int, char*, MFont*, FontServ*, int (*)())': dialog.cpp:32:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetError("%s", SDL_GetError()); ^ --- controls.o --- controls.cpp: In function 'void LoadControls()': controls.cpp:110:51: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gSoundLevel, sizeof(gSoundLevel), 1, data); ^ controls.cpp:111:45: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&controls, sizeof(controls), 1, data); ^ controls.cpp:112:55: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gGammaCorrect, sizeof(gGammaCorrect), 1, data); ^ --- fastrand.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c fastrand.cpp --- init.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c init.cpp In file included from init.cpp:11:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ init.cpp: In function 'void DoSplash()': init.cpp:68:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load Ambrosia splash title! (ID=%d)\n", 999); ^ init.cpp: In function 'void DoIntroScreen()': init.cpp:89:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load intro title! (ID=%d)\n", 130); ^ init.cpp:117:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: %s\n", fontserv->Error()); ^ init.cpp: In function 'int DoInitializations(Uint32)': init.cpp:732:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Couldn't initialize SDL: %s\n", SDL_GetError()); ^ init.cpp:750:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SDL_JoystickName(0), SDL_GetError()); ^ init.cpp:758:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", fontserv->Error()); ^ init.cpp:765:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", sound->Error()); ^ init.cpp:772:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Fatal: Couldn't load icon: %s\n", SDL_GetError()); ^ init.cpp:780:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Fatal: %s\n", screen->Error()); ^ init.cpp:783:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen->SetCaption("Maelstrom"); ^ init.cpp:826:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s\n", spriteres.Error()); ^ init.cpp: In function 'int LoadSprite(Mac_Resource*, Blit**, int, int)': init.cpp:1086:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't load ICN# resource!\n", baseID, index); ^ init.cpp:1094:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't load icl8 resource!\n", baseID, index); ^ init.cpp:1128:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't convert sprite image!\n", baseID, index); ^ init.cpp: In function 'int LoadSmallSprite(Mac_Resource*, Blit**, int, int)': init.cpp:1206:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSmallSprite(%d+%d): Couldn't load ics# resource!\n", baseID,index); ^ init.cpp:1214:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSmallSprite(%d+%d): Couldn't load ics8 resource!\n", baseID,index); ^ init.cpp:1248:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "LoadSprite(%d+%d): Couldn't convert sprite image!\n", baseID, index); ^ --- load.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c load.cpp In file included from load.cpp:7:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ load.cpp: In function 'SDL_Surface* GetCIcon(FrameBuf*, short int)': load.cpp:109:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cicn_id, path.Path(file)); ^ load.cpp:117:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); ^ load.cpp:124:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Corrupt CICN!\n", cicn_id); ^ load.cpp:136:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("GetCIcon(%hd): Couldn't convert CICN!\n", cicn_id); ^ --- main.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c main.cpp In file included from main.cpp:15:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ main.cpp: At global scope: main.cpp:23:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Maelstrom v1.4.3 (GPL version 3.0.6) -- 10/19/2002 by Sam Lantinga\n"; ^ main.cpp: In function 'void RunSpeedTest()': main.cpp:142:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((now-then)/test_reps)); ^ main.cpp: In function 'void PrintUsage()': main.cpp:152:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("\nUsage: %s [-netscores] -printscores\n", progname); ^ main.cpp:153:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("or\n"); ^ main.cpp:154:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Usage: %s \n\n", progname); ^ main.cpp:160:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ); ^ main.cpp:162:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("\n"); ^ main.cpp: In function 'int main(int, char**)': main.cpp:213:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGammaCorrect); ^ main.cpp:219:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Gamma correction value must be between 0 and 8. -- Exiting.\n"); ^ main.cpp:234:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSoundLevel); ^ main.cpp:239:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Volume must be a number between 0 and 8. -- Exiting.\n"); ^ main.cpp:252:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mesg("Checksum = %s\n", get_checksum(NULL, 0)); ^ main.cpp:265:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("%s", Version); ^ main.cpp:383:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 64, 48, 298, 384); ^ main.cpp: In function 'void DrawSoundLevel()': main.cpp:447:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp: In function 'void DrawMainScreen()': main.cpp:489:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load 'title' title! (ID=%d)\n", 129); ^ main.cpp:524:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York (18) font! -- Exiting.\n"); ^ main.cpp:528:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ --- myerror.o --- --- main.o --- main.cpp:531:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ main.cpp:535:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0xFF, 0xFF, 0x00); ^ main.cpp:541:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York (14) font! -- Exiting.\n"); ^ main.cpp:571:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] bigfont, STYLE_NORM, 0xFF, 0xFF, 0xFF); ^ main.cpp:583:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "P", " Start playing Maelstrom", RunPlayGame); ^ main.cpp:583:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:587:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "C", " Configure the game controls", RunConfigureControls); ^ main.cpp:587:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:591:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "Z", " Zap the high scores", RunZapScores); ^ main.cpp:591:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:595:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "A", " About Maelstrom...", RunDoAbout); ^ main.cpp:595:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:601:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "Q", " Quit Maelstrom", RunQuitGame); ^ main.cpp:601:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:605:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "0", " ", DecrementSound); ^ main.cpp:605:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:608:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp:612:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font, STYLE_NORM, 0xFF, 0xFF, 0x00); ^ main.cpp:615:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DrawKey(&pt, "8", " Set Sound Volume", IncrementSound); ^ main.cpp:615:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:620:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font, STYLE_BOLD, 0xFF, 0xFF, 0x00); ^ main.cpp:622:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font, STYLE_BOLD, 0xFF, 0xFF, 0xFF); ^ --- myerror.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c myerror.cpp --- main.o --- main.cpp:627:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font, STYLE_NORM, 0xFF, 0xFF, 0xFF); ^ main.cpp: In function 'void DrawKey(MPoint*, char*, char*, void (*)())': main.cpp:647:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Geneva font! -- Exiting.\n"); ^ main.cpp: In function 'void Message(char*)': main.cpp:674:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use New York(14) font! -- Exiting.\n"); ^ --- netscore.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c netscore.cpp netscore.cpp: In function 'void RegisterHighScore(Scores)': netscore.cpp:27:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); ^ netscore.cpp:30:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); ^ netscore.cpp:31:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("-- High Score not registered.\r\n"); ^ netscore.cpp:42:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: Score Server protocol error.\r\n"); ^ netscore.cpp:43:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("-- High Score not registered.\r\n"); ^ netscore.cpp:54:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: short authentication key.\n"); ^ netscore.cpp:68:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("New high score was rejected: %s", netbuf); ^ netscore.cpp: In function 'int NetLoadScores()': netscore.cpp:124:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] remote = Goto_ScoreServer(SCORE_HOST, SCORE_PORT); ^ netscore.cpp:127:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't connect to Maelstrom Score Server.\r\n"); ^ netscore.cpp:171:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Warning: Couldn't read complete score list!\r\n"); ^ netscore.cpp:172:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Line was: %s", netbuf); ^ --- rect.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c rect.cpp --- scores.o --- c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c scores.cpp --- Maelstrom-netd.o --- cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -c Maelstrom-netd.c --- scores.o --- In file included from scores.cpp:15:0: load.h: In member function 'const char* LibPath::Path(const char*)': load.h:95:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] directory = LIBDIR; ^ scores.cpp: In function 'void LoadScores()': scores.cpp:55:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mesg("Using local score file\n\n"); ^ scores.cpp: In function 'void SaveScores()': scores.cpp:114:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Warning: Couldn't save scores to %s\n", pathstr); ^ scores.cpp: In function 'int ZapHighScores()': scores.cpp:164:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ scores.cpp:168:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load score zapping splash!\n"); ^ scores.cpp:177:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Clear", chicago, fontserv, Clear_callback); ^ scores.cpp:181:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel_callback); ^ scores.cpp: In function 'int GetStartLevel()': scores.cpp:217:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Enter the level to start from (1-40). This"; ^ scores.cpp:219:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "disqualifies you from a high score..."; ^ scores.cpp:220:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *Ltext3 = "Level:"; ^ scores.cpp:221:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *Ltext4 = "Lives:"; ^ scores.cpp:226:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *turbotext = "Turbofunk On"; ^ scores.cpp:236:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't use Chicago font!\n"); ^ scores.cpp:240:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error("Can't load alien level splash!\n"); ^ scores.cpp:259:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Cancel", chicago, fontserv, Cancel2_callback); ^ scores.cpp:262:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Do it!", chicago, fontserv, Level_callback); ^ --- Maelstrom-netd.o --- Maelstrom-netd.c: In function 'DisconnectPlayer': Maelstrom-netd.c:48:10: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] (void) free(players[which].packet); ^ Maelstrom-netd.c: In function 'SendError': Maelstrom-netd.c:62:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(3); ^ Maelstrom-netd.c: In function 'Fatal': Maelstrom-netd.c:82:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(3); ^ Maelstrom-netd.c: In function 'CheckNewGame': Maelstrom-netd.c:157:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strcpy(ptr, (char *)inet_ntoa(player->raddr.sin_addr)); ^ Maelstrom-netd.c: In function 'I_Crashed': Maelstrom-netd.c:181:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(sig); ^ Maelstrom-netd.c: In function 'main': Maelstrom-netd.c:198:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(3); ^ Maelstrom-netd.c:207:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(3); ^ Maelstrom-netd.c:211:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(3); ^ Maelstrom-netd.c:250:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(3); ^ Maelstrom-netd.c:266:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(3); ^ Maelstrom-netd.c:274:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(3); ^ Maelstrom-netd.c: In function 'SendError': Maelstrom-netd.c:68:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(players[which].sockfd, mesgbuf, mesglen); ^ Maelstrom-netd.c: In function 'CheckNewGame': Maelstrom-netd.c:169:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(players[positions[i]].sockfd, buffer, len); ^ --- Maelstrom-netd --- --- Maelstrom --- --- Maelstrom-netd --- cc -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -o Maelstrom-netd Maelstrom-netd.o -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lSDL_net --- Maelstrom --- c++ -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -DMAELSTROM_SCOREDIR=\"/var/games\" -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/pkg/share/Maelstrom\" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -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/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lSDL_net