* Package: games-arcade/sdb-1.0.2-r2 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking sdb-1.0.2.tar.gz to /var/tmp/portage/games-arcade/sdb-1.0.2-r2/work >>> Source unpacked in /var/tmp/portage/games-arcade/sdb-1.0.2-r2/work >>> Preparing source in /var/tmp/portage/games-arcade/sdb-1.0.2-r2/work/sdb-1.0.2 ... * Applying sdb-1.0.2-endian.patch ... [ ok ] * Applying sdb-1.0.2-gcc43.patch ... [ ok ] * Applying sdb-1.0.2-ldflags.patch ... [ ok ] * Applying sdb-1.0.2-gcc-11.patch ... [ ok ] * Applying sdb-1.0.2-return-type.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/sdb-1.0.2-r2/work/sdb-1.0.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/sdb-1.0.2-r2/work/sdb-1.0.2 ... make -j2 -C src 'CXXFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' CC=x86_64-pc-linux-gnu-gcc CPP=x86_64-pc-linux-gnu-g++ make: Entering directory '/var/tmp/portage/games-arcade/sdb-1.0.2-r2/work/sdb-1.0.2/src' x86_64-pc-linux-gnu-g++ -c bitmapfont.cpp -o bitmapfont.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT x86_64-pc-linux-gnu-g++ -c levelobjects.cpp -o levelobjects.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT x86_64-pc-linux-gnu-g++ -c level.cpp -o level.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT level.cpp: In function ‘std::string fetchLevelName(char*)’: level.cpp:43:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 43 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not open level file %s", filename.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:43:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 43 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not open level file %s", filename.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:57:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 57 | errorMessage(4, "FLAGRANT SYSTEM ERROR", "%s has an invalid header", filename.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:57:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 57 | errorMessage(4, "FLAGRANT SYSTEM ERROR", "%s has an invalid header", filename.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp: In member function ‘void Level::readLevelData(char*)’: level.cpp:81:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 81 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "No level file specified"); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:81:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 81 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "No level file specified"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:91:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 91 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load level file %s", filename.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:91:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 91 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load level file %s", filename.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:116:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 116 | errorMessage(4, "FLAGRANT SYSTEM ERROR", "%s has an invalid header", filename.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:116:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 116 | errorMessage(4, "FLAGRANT SYSTEM ERROR", "%s has an invalid header", filename.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:131:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'bg' needs 3 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:131:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'bg' needs 3 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:141:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 141 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'grid' needs 5 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:141:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 141 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'grid' needs 5 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:151:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 151 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'ambient' needs 5 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:151:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 151 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'ambient' needs 5 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:162:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 162 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'player' needs 3 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:162:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 162 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'player' needs 3 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:177:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 177 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'walls' needs >= 17 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:177:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 177 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'walls' needs >= 17 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:180:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 180 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC5), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:180:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 180 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC5), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:183:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 183 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:183:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 183 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:187:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 187 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:187:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 187 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:205:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 205 | errorMessage(6, "FLAGRANT SYSTEM ERROR", "X without Y in 'walls' (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:205:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 205 | errorMessage(6, "FLAGRANT SYSTEM ERROR", "X without Y in 'walls' (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:234:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 234 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'door' needs 23 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:234:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 234 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'door' needs 23 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:237:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 237 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC9), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:237:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 237 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC9), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:240:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 240 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Unlockwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:240:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 240 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Unlockwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:244:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 244 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Openwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:244:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 244 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Openwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:248:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 248 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Jamwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:248:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 248 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Jamwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:252:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 252 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:252:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 252 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:256:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 256 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:256:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 256 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:272:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 272 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 14 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:272:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 272 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 14 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:275:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 275 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:275:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 275 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:279:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 279 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:279:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 279 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:291:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 291 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 10 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:291:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 291 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 10 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:303:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 303 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 15 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:303:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 303 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 15 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:306:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 306 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC3), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:306:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 306 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC3), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:309:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 309 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:309:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 309 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:313:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 313 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:313:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 313 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:325:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 325 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 13 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:325:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 325 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 13 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:328:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 328 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Openwhen < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:328:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 328 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Openwhen < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:342:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 342 | errorMessage(6, "FLAGRANT SYSTEM ERROR", "X without Y in '%s' (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:342:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 342 | errorMessage(6, "FLAGRANT SYSTEM ERROR", "X without Y in '%s' (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:373:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 373 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'obj' needs 10 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:373:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 373 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'obj' needs 10 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:376:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 376 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid object type '%d' (%s:%d)", S2I(tC1), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:376:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 376 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid object type '%d' (%s:%d)", S2I(tC1), filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:379:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 379 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:379:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 379 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:383:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 383 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Wakewhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:383:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 383 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Wakewhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:387:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 387 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Killwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:387:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 387 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Killwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:391:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 391 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:391:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 391 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp:402:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 402 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'light' needs 8 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:402:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 402 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'light' needs 8 values (%s:%d)", filename.c_str(), lineCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.cpp: In member function ‘void Level::calculateGrid()’: level.cpp:747:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 747 | errorMessage(7, "FLAGRANT SYSTEM ERROR", "Invalid grid bounds"); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:747:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 747 | errorMessage(7, "FLAGRANT SYSTEM ERROR", "Invalid grid bounds"); | ^~~~~~~~~~~~~~~~~~~~~ level.cpp:754:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 754 | if (!grid) errorMessage(7, "FLAGRANT SYSTEM ERROR", "Could not allocate grid space"); | ^~~~~~~~~~~~~~~~~~~~~~~ level.cpp:754:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 754 | if (!grid) errorMessage(7, "FLAGRANT SYSTEM ERROR", "Could not allocate grid space"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c md2.cpp -o md2.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT In file included from md2.cpp:30: byteswap.h:130: warning: "htobe16" redefined 130 | #define htobe16 swap16 | In file included from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdlib:75, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/stdlib.h:36, from sdb.h:29, from md2.cpp:29: /usr/include/endian.h:39: note: this is the location of the previous definition 39 | # define htobe16(x) __bswap_16 (x) | In file included from md2.cpp:30: byteswap.h:131: warning: "htobe32" redefined 131 | #define htobe32 swap32 | In file included from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdlib:75, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/stdlib.h:36, from sdb.h:29, from md2.cpp:29: /usr/include/endian.h:44: note: this is the location of the previous definition 44 | # define htobe32(x) __bswap_32 (x) | In file included from md2.cpp:30: byteswap.h:135: warning: "htole16" redefined 135 | #define htole16(x) (x) | In file included from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdlib:75, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/stdlib.h:36, from sdb.h:29, from md2.cpp:29: /usr/include/endian.h:40: note: this is the location of the previous definition 40 | # define htole16(x) __uint16_identity (x) | In file included from md2.cpp:30: byteswap.h:136: warning: "htole32" redefined 136 | #define htole32(x) (x) | In file included from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdlib:75, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/stdlib.h:36, from sdb.h:29, from md2.cpp:29: /usr/include/endian.h:45: note: this is the location of the previous definition 45 | # define htole32(x) __uint32_identity (x) | md2.cpp: In member function ‘bool MD2Loader::ImportMD2(Model*, char*, int)’: md2.cpp:146:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 146 | errorMessage(8, "FLAGRANT SYSTEM ERROR", "Unable to load model %s", strFileName); | ^~~~~~~~~~~~~~~~~~~~~~~ md2.cpp:146:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 146 | errorMessage(8, "FLAGRANT SYSTEM ERROR", "Unable to load model %s", strFileName); | ^~~~~~~~~~~~~~~~~~~~~~~~~ md2.cpp:168:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 168 | errorMessage(8, "FLAGRANT SYSTEM ERROR", "Invalid file format (version not 8) %s", strFileName); | ^~~~~~~~~~~~~~~~~~~~~~~ md2.cpp:168:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 168 | errorMessage(8, "FLAGRANT SYSTEM ERROR", "Invalid file format (version not 8) %s", strFileName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md2.cpp:148:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | fread(&m_Header, 1, sizeof(tMd2Header), m_FilePointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md2.cpp: In member function ‘void MD2Loader::ReadMD2Data()’: md2.cpp:211:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 211 | fread(m_pSkins, sizeof(tMd2Skin), m_Header.numSkins, m_FilePointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md2.cpp:217:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 217 | fread(m_pTexCoords, sizeof(tMd2TexCoord), m_Header.numTexCoords, m_FilePointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md2.cpp:227:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 227 | fread(m_pTriangles, sizeof(tMd2Face), m_Header.numTriangles, m_FilePointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md2.cpp:243:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 243 | fread(pFrame, 1, m_Header.frameSize, m_FilePointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c weapons.cpp -o weapons.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT weapons.cpp: In function ‘void initWeaponTypes()’: weapons.cpp:299:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 299 | wpnType[i].set("None", NO_BULLET, NO_SPRITE, NO_SPRITE, NO_SOUND, 0, 0, 0, 0, 1, 0, 0, 0,0 ); | ^~~~~~ weapons.cpp:302:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 302 | wpnType[i].set("Rifle", BLT_RIFLE, TEX_WPN_RIFLE, PART_RIFLE_SHELL, SND_WPN_RIFLE, 2.0, 0.3, 40, 320, 1, 10, 1, torad(2), 160); | ^~~~~~~ weapons.cpp:305:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 305 | wpnType[i].set("Shotgun", BLT_SHOTGUN, TEX_WPN_SHOTGUN, PART_SHOTGUN_SHELL, SND_WPN_SHOTGUN, 2.0, 0.25, 6, 42, 10, 1*SEMI_AUTO, 2.5, torad(8), 4800); | ^~~~~~~~~ weapons.cpp:308:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 308 | wpnType[i].set("H.E.P.A.", BLT_HEPA, TEX_WPN_HEPA, NO_SPRITE, SND_WPN_HEPA, 2.0, 1.0, 4, 30, 1, 0.75*SEMI_AUTO, 2.5, 0, 6000); | ^~~~~~~~~~ weapons.cpp:311:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 311 | wpnType[i].set("Grenade", BLT_GRENADE, NO_SPRITE, NO_SPRITE, NO_SOUND, 0.3, 0.3, 1, 9, 1, 0.5*SEMI_AUTO, 2.5, 0, 0); | ^~~~~~~~~ weapons.cpp:314:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 314 | wpnType[i].set("Laser", BLT_LASER, TEX_WPN_LASER, NO_SPRITE, SND_WPN_LASER, 2.0, 1.0, 6, 30, 1, 4*SEMI_AUTO, 2.0, 0, 6000); | ^~~~~~~ weapons.cpp:317:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 317 | wpnType[i].set("EM Shock Gen", ESG_EXPLODER, TEX_WPN_ESG, NO_SPRITE, SND_WPN_ESG, 2.0, 2.0, 1, 5, 1, 1.5*SEMI_AUTO, 3.5, 0, 0); | ^~~~~~~~~~~~~~ weapons.cpp:320:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 320 | wpnType[i].set("Subdermal Blaster", BLT_BLASTER, NO_SPRITE, NO_SPRITE, SND_WPN_HEPA, 0, 0, 100, 1000, 1, 10*SEMI_AUTO, 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~ weapons.cpp:323:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 323 | wpnType[i].set("Turret gun", BLT_RIFLE, TEX_WPN_RIFLE, PART_RIFLE_SHELL, SND_WPN_RIFLE, 2.0, 0, 10, 999999, 1, 10, 1, torad(5), 0); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c objects.cpp -o objects.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT x86_64-pc-linux-gnu-g++ -c enemies.cpp -o enemies.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT x86_64-pc-linux-gnu-g++ -c input.cpp -o input.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT x86_64-pc-linux-gnu-g++ -c player.cpp -o player.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT x86_64-pc-linux-gnu-g++ -c game.cpp -o game.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT player.cpp: In member function ‘void Player::loadPlayerData()’: player.cpp:141:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 141 | errorMessage(7, "FLAGRANT SYSTEM ERROR", | ^~~~~~~~~~~~~~~~~~~~~~~ player.cpp:142:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 142 | "Player profile corrupt. Defaults restored."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In function ‘void gameInitSDL()’: game.cpp:464:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 464 | errorMessage(1, "FLAGRANT SYSTEM ERROR", "Could not initialize SDL (%s)", SDL_GetError()); | ^~~~~~~~~~~~~~~~~~~~~~~ game.cpp:464:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 464 | errorMessage(1, "FLAGRANT SYSTEM ERROR", "Could not initialize SDL (%s)", SDL_GetError()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In function ‘void gameSetVideoMode(int, int, int, int)’: game.cpp:516:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 516 | errorMessage(2, "FLAGRANT SYSTEM ERROR", "Could not set video mode: %s\nChange your video settings in %s%s%s", SDL_GetError(), getenv("HOME"), DATA_DIRECTORY, CONFIG_FILE); | ^~~~~~~~~~~~~~~~~~~~~~~ game.cpp:516:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 516 | errorMessage(2, "FLAGRANT SYSTEM ERROR", "Could not set video mode: %s\nChange your video settings in %s%s%s", SDL_GetError(), getenv("HOME"), DATA_DIRECTORY, CONFIG_FILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In function ‘void gameLoadSprites()’: game.cpp:651:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 651 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load texture %d", i); | ^~~~~~~~~~~~~~~~~~~~~~~ game.cpp:651:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 651 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load texture %d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In function ‘void gameLoadModels()’: game.cpp:688:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 688 | case MDL_PLAYER_LEGS: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/player_legs" MD2_SUFFIX, MTEX_PLAYER); game.cpp:690:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 690 | case MDL_PLAYER_TORSO: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/player_torso" MD2_SUFFIX, MTEX_PLAYER); game.cpp:692:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 692 | case MDL_PLAYER_TORSO2: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/player_torso" MD2_SUFFIX, MTEX_PLAYER2); game.cpp:694:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 694 | case MDL_BOX: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/box" MD2_SUFFIX, TEX_BOX_NORMAL); game.cpp:696:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 696 | case MDL_BARREL: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/barrel" MD2_SUFFIX, MTEX_BARREL); game.cpp:698:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 698 | case MDL_STEELBOX: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/box" MD2_SUFFIX, TEX_STEELBOX_NORMAL); game.cpp:700:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 700 | case MDL_TURRET: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/turret" MD2_SUFFIX, MTEX_TURRET); game.cpp:702:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 702 | case MDL_MIB: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/mib" MD2_SUFFIX, MTEX_MIB); game.cpp:704:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 704 | case MDL_UNARMED_GUARD: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/unarmedguard" MD2_SUFFIX, MTEX_UNARMED_GUARD); game.cpp:706:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 706 | case MDL_ARMED_DRONE: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/armeddrone" MD2_SUFFIX, MTEX_ARMED_DRONE); game.cpp:708:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 708 | case MDL_HUNTER: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/hunter" MD2_SUFFIX, MTEX_HUNTER); game.cpp:710:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 710 | case MDL_GLADIATOR: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/gladiator" MD2_SUFFIX, MTEX_GLADIATOR); game.cpp:712:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 712 | case MDL_ZERO: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/zero" MD2_SUFFIX, MTEX_FADE); game.cpp:714:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 714 | case MDL_ONE: modelLoader.ImportMD2(&models[i], "/usr/share/sdb/models/one" MD2_SUFFIX, MTEX_FADE); game.cpp: In function ‘void gameLoadSounds()’: game.cpp:777:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 777 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load sound %d", i); | ^~~~~~~~~~~~~~~~~~~~~~~ game.cpp:777:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 777 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load sound %d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In function ‘void gameLoadMusic()’: game.cpp:797:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 797 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load song %d", i); | ^~~~~~~~~~~~~~~~~~~~~~~ game.cpp:797:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 797 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load song %d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~ game.cpp: In function ‘int playCurrentLevel(bool)’: game.cpp:1166:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1166 | pauseMenu.addString(1, "Abort?"); pauseMenu.addString(0, ""); | ^~~~~~~~ game.cpp:1166:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1166 | pauseMenu.addString(1, "Abort?"); pauseMenu.addString(0, ""); | ^~ game.cpp:1167:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1167 | pauseMenu.addString(0, " yes"); pauseMenu.addString(0, " no"); | ^~~~~~~ game.cpp:1167:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1167 | pauseMenu.addString(0, " yes"); pauseMenu.addString(0, " no"); | ^~~~~~ game.cpp:1168:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1168 | pauseMenu.addString(0, ""); pauseMenu.addString(0, "(sdb)"); | ^~ game.cpp:1168:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1168 | pauseMenu.addString(0, ""); pauseMenu.addString(0, "(sdb)"); | ^~~~~~~ game.cpp:1187:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1187 | { errorMessage(9, "FLAGRANT OPENGL ERROR", "CODE %d: %s", errnum, gluErrorString(errnum)); } | ^~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1187:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1187 | { errorMessage(9, "FLAGRANT OPENGL ERROR", "CODE %d: %s", errnum, gluErrorString(errnum)); } | ^~~~~~~~~~~~~ game.cpp:1420:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1420 | deadMenu.addString(1, "Captured!"); | ^~~~~~~~~~~ game.cpp:1422:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1422 | deadMenu.addString(1, "You have died."); | ^~~~~~~~~~~~~~~~ game.cpp:1424:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1424 | deadMenu.addString(0, ""); | ^~ game.cpp:1425:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1425 | deadMenu.addString(0, " restart level"); deadMenu.addString(0, " return to menu"); | ^~~~~~~~~~~~~~~~~ game.cpp:1425:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1425 | Menu.addString(0, " restart level"); deadMenu.addString(0, " return to menu"); | ^~~~~~~~~~~~~~~~~~ game.cpp:1426:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1426 | deadMenu.addString(0, ""); deadMenu.addString(0, "(sdb)"); | ^~ game.cpp:1426:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1426 | adMenu.addString(0, ""); deadMenu.addString(0, "(sdb)"); | ^~~~~~~ game.cpp:1650:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1650 | font.printf(CENTERED, SCREEN_TOP-2.0, 2.0, 1.6, "%03d FPS", timer.FPS()); | ^~~~~~~~~~ game.cpp:1656:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1656 | font.printf(-98.0, SCREEN_TOP-2.0, 3.0, 2.0, "* SYSTEM BACKDOOR ACTIVE *"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1704:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1704 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "==="); | ^~~~~ game.cpp:1707:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1707 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "%3.f", ceil(PLAYER_OBJECT->Health())); | ^~~~~~ game.cpp:1709:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1709 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "<<<"); | ^~~~~ game.cpp:1715:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1715 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "%3.f", ceil(PLAYER_OBJECT->Health())); | ^~~~~~ game.cpp:1717:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1717 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "<<<"); | ^~~~~ game.cpp:1725:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1725 | font.LEDprintf(64, -SCREEN_TOP+6, 6.0, 6.0, "======"); | ^~~~~~~~ game.cpp:1728:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1728 | font.printf(64, -SCREEN_TOP+14.0, 2.8, 2.4, "%16s", wpnType[PLAYER_OBJECT->Wpn()->Type()].name); | ^~~~~~ game.cpp:1734:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1734 | font.LEDprintf(64, -SCREEN_TOP+6, 6.0, 6.0, "%2d%s%3d", | ^~~~~~~~~~ game.cpp:1740:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1740 | font.LEDprintf(64, -SCREEN_TOP+6, 6.0, 6.0, "%2d%s%3d", | ^~~~~~~~~~ game.cpp:1747:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1747 | font.LEDprintf(64, -SCREEN_TOP+6, 6.0, 6.0, "<< <<<"); | ^~~~~~~~ game.cpp:1757:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1757 | font.LEDprintf(50, -SCREEN_TOP+14.0, 2.0, 2.0, "======"); | ^~~~~~~~ game.cpp:1758:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1758 | font.LEDprintf(50, -SCREEN_TOP+14.0, 2.0, 2.0, "%c%c%c%c%c%c",PLAYER_OBJECT->weaponState(1), | ^~~~~~~~~~~~~~ game.cpp:1763:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1763 | PLAYER_OBJECT->CurrWeapon()-1), -SCREEN_TOP+14.0, 2.0, 2.0, "%d", PLAYER_OBJECT->CurrWeapon()+1); | ^~~~ game.cpp:1767:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1767 | font.LEDprintf(-77.1, -SCREEN_TOP+3.5, 4.5, 4.5, ">"); | ^~~ game.cpp:1768:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1768 | font.LEDprintf(-77.1, -SCREEN_TOP+3.5, 4.5, 4.5, "%c", PLAYER_OBJECT->keyState(3)); | ^~~~ game.cpp:1770:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1770 | font.LEDprintf(-77, -SCREEN_TOP+6, 4.5, 4.5, ">"); | ^~~ game.cpp:1771:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1771 | font.LEDprintf(-77, -SCREEN_TOP+6, 4.5, 4.5, "%c", PLAYER_OBJECT->keyState(2)); | ^~~~ game.cpp:1773:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1773 | font.LEDprintf(-76.9, -SCREEN_TOP+8.5, 4.5, 4.5, ">"); | ^~~ game.cpp:1774:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1774 | font.LEDprintf(-76.9, -SCREEN_TOP+8.5, 4.5, 4.5, "%c", PLAYER_OBJECT->keyState(1)); | ^~~~ game.cpp:1779:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1779 | font.LEDprintf(CENTERED, -SCREEN_TOP+6, 3.0, 3.0, "==:==;=="); | ^~~~~~~~~~ game.cpp:1780:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1780 | font.LEDprintf(CENTERED, -SCREEN_TOP+6, 3.0, 3.0, "%2d:%02d;%02d", (int)(P.gameTime/60), | ^~~~~~~~~~~~~~~ game.cpp:1788:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1788 | font.printf(-95.0, -SCREEN_TOP+14.0, 3.7, 3.2, "%s", message); | ^~~~ game.cpp:1851:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1851 | font.printf(CENTERED, 10, 5.4, 4.4, "NANO-ACTIVATION SEQUENCE COMMENCING IN"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1854:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1854 | font.printf(CENTERED, 0, 7.4, 6.4, "%d", (int)(11-transitionTimer)); | ^~~~ game.cpp: In function ‘void tcbError(GLenum)’: game.cpp:2053:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2053 | errorMessage(6, "TESSELLATION ERROR", "CODE %d: %s", errnum, gluErrorString(errnum)); | ^~~~~~~~~~~~~~~~~~~~ game.cpp:2053:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2053 | errorMessage(6, "TESSELLATION ERROR", "CODE %d: %s", errnum, gluErrorString(errnum)); | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c interface.cpp -o interface.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT interface.cpp: In member function ‘void TerminalWindow::draw()’: interface.cpp:142:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 142 | charWidth/0.75, charHeight*0.75, "%s", lines[rowStart+i].c_str()); | ^~~~ interface.cpp:146:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 146 | charWidth/0.75, charHeight*0.75, "%s", | ^~~~ interface.cpp:154:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 154 | charWidth/0.75, charHeight*0.75, "%s", curString.c_str()); | ^~~~ interface.cpp: In function ‘int setMenu(TerminalWindow*, int, Uint8*)’: interface.cpp:300:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 300 | m->addString(0, " continue game"); | ^~~~~~~~~~~~~~~~~ interface.cpp:302:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 302 | m->addString(0, " new game"); | ^~~~~~~~~~~~ interface.cpp:303:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 303 | m->addString(0, " options"); | ^~~~~~~~~~~ interface.cpp:304:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 304 | m->addString(0, " records"); | ^~~~~~~~~~~ interface.cpp:305:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 305 | m->addString(0, " help"); | ^~~~~~~~ interface.cpp:306:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 306 | m->addString(0, " credits"); | ^~~~~~~~~~~ interface.cpp:307:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 307 | m->addString(0, " exit"); | ^~~~~~~~ interface.cpp:308:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 308 | m->addString(0, ""); | ^~ interface.cpp:309:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 309 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:320:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 320 | m->addString(1, "Continue game?"); | ^~~~~~~~~~~~~~~~ interface.cpp:321:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 321 | m->addString(0, ""); | ^~ interface.cpp:322:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 322 | m->addString(0, "%02d %s", P.level+((P.level != NUM_LEVELS)?1:0), levelName.c_str()); | ^~~~~~~~~ interface.cpp:324:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 324 | m->addString(0, "%3d:%02d.%02d", (int)(P.totalTime()/60), (int)fmod(P.totalTime(), 60), | ^~~~~~~~~~~~~~~ interface.cpp:327:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 327 | m->addString(0, ""); | ^~ interface.cpp:329:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 329 | m->addString(0, ""); | ^~ interface.cpp:330:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 330 | m->addString(0, " yes"); | ^~~~~~~ interface.cpp:331:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 331 | m->addString(0, " no"); | ^~~~~~ interface.cpp:332:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 332 | m->addString(0, ""); | ^~ interface.cpp:333:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 333 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:339:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 339 | m->addString(1, "Select starting level"); | ^~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:340:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 340 | m->addString(0, ""); | ^~ interface.cpp:341:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 341 | m->addString(0, " (cancel)"); | ^~~~~~~~~~~~ interface.cpp:356:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 356 | m->addString(0, "%s", line.c_str()); | ^~~~ interface.cpp:359:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 359 | m->addString(0, ""); | ^~ interface.cpp:360:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 360 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:366:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 366 | m->addString(0, " Level | Fastest time | Most kills | Fewest shots | Least times hit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:367:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 367 | m->addString(0, "-------------------------------+--------------+------------+--------------+----------------"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:374:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 374 | m->addString((i < NUM_LEVELS)?0:1, "%30s | %2d:%02d.%02d | %5d | %5d | %5d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:383:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 383 | m->addString(0, ""); | ^~ interface.cpp:385:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 385 | m->addString(0, ""); | ^~ interface.cpp:386:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 386 | m->addString(0, " return to menu"); | ^~~~~~~~~~~~~~~~~~ interface.cpp:387:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 387 | m->addString(0, " clear records"); | ^~~~~~~~~~~~~~~~~ interface.cpp:394:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 394 | m->addString(0, " CONTROLS "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:395:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 395 | m->addString(0, ""); | ^~ interface.cpp:396:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 396 | m->addString(0, "move forward: %12s | turn left: %12s or mouse", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:398:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 398 | m->addString(0, "move backward: %12s | turn right: %12s or mouse", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:400:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 400 | m->addString(0, "sidestep left: %12s | jump: %12s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:402:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 402 | m->addString(0, "sidestep right: %12s |", SDL_GetKeyName(config.keys[KEY_STRAFE_R])); | ^~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:403:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 403 | m->addString(0, "----------------------------------------------------------------"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:404:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 404 | m->addString(0, " fire weapon: %12s or left mouse button", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:406:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 406 | m->addString(0, " throw grenade: %12s or right mouse button", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:408:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 408 | m->addString(0, " reload weapon: %12s", SDL_GetKeyName(config.keys[KEY_RELOAD])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:409:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 409 | m->addString(0, " switch weapon: %12s", SDL_GetKeyName(config.keys[KEY_SWITCH_WPN])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:410:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 410 | m->addString(0, " select weapon: numbers 1-7"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:411:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 411 | m->addString(0, "----------------------------------------------------------------"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:412:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 412 | m->addString(0, " switch view: %12s", SDL_GetKeyName(config.keys[KEY_SWITCH_VIEW])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:413:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 413 | m->addString(0, " quick zoom out: %12s or middle mouse button", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:415:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 415 | m->addString(0, " options: F2"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:416:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 416 | m->addString(0, " pause/abort: ESC"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:417:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 417 | m->addString(0, " press enter to return to menu"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:423:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 423 | m->addString(0, " SHOTGUN DEBUGGER"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:424:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 424 | m->addString(0, ""); | ^~ interface.cpp:425:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 425 | m->addString(0, "project leader, programming, concepts, 2d art MATT SARNOFF"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:426:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 426 | m->addString(0, "lead level designer, design feedback CHRIS DELEON"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:427:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 427 | m->addString(0, "character models JOHN NESKY"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:428:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 428 | m->addString(0, "level designers GREGORY PENG"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:429:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 429 | m->addString(0, " JEFF THOENE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:430:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 430 | m->addString(0, "sound effects CHRIS DELEON"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:431:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 431 | m->addString(0, " MATT SARNOFF"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:432:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 432 | m->addString(0, "music TUSCAN KNOX"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:433:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 433 | m->addString(0, "testing MICHAEL WEBER"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:434:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 434 | m->addString(0, ""); | ^~ interface.cpp:435:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 435 | m->addString(0, "A project of the Game Creation Society at Carnegie Mellon University"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:436:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 436 | m->addString(0, " sdb.gamecreation.org"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:437:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 437 | m->addString(0, ""); | ^~ interface.cpp:438:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 438 | m->addString(0, "Version %s; %s", GAME_VERSION, GAME_DATE); | ^~~~~~~~~~~~~~~~ interface.cpp:439:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 439 | m->addString(0, "Copyright 2005 Game Creation Society; Released under the GNU GPL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:440:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 440 | m->addString(0, ""); | ^~ interface.cpp:441:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 441 | m->addString(0, " press enter to return to menu"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:447:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 447 | m->addString(1, "Exit?"); | ^~~~~~~ interface.cpp:448:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 448 | m->addString(0, ""); | ^~ interface.cpp:449:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 449 | m->addString(0, " yes"); | ^~~~~~~ interface.cpp:450:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 450 | m->addString(0, " no"); | ^~~~~~ interface.cpp:451:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 451 | m->addString(0, ""); | ^~ interface.cpp:452:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 452 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:459:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 459 | m->addString(1, "This will erase your"); | ^~~~~~~~~~~~~~~~~~~~~~ interface.cpp:460:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 460 | m->addString(1, "current saved game."); | ^~~~~~~~~~~~~~~~~~~~~ interface.cpp:461:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 461 | m->addString(1, "Proceed?"); | ^~~~~~~~~~ interface.cpp:462:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 462 | m->addString(0, ""); | ^~ interface.cpp:463:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 463 | m->addString(0, " yes"); | ^~~~~~~ interface.cpp:464:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 464 | m->addString(0, " no"); | ^~~~~~ interface.cpp:465:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 465 | m->addString(0, ""); | ^~ interface.cpp:466:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 466 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:472:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 472 | m->addString(1, "Erase all records?"); | ^~~~~~~~~~~~~~~~~~~~ interface.cpp:473:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 473 | m->addString(0, ""); | ^~ interface.cpp:474:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 474 | m->addString(0, " yes"); | ^~~~~~~ interface.cpp:475:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 475 | m->addString(0, " no"); | ^~~~~~ interface.cpp:476:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 476 | m->addString(0, ""); | ^~ interface.cpp:477:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 477 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:483:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 483 | m->addString(1, "This will erase your"); | ^~~~~~~~~~~~~~~~~~~~~~ interface.cpp:484:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 484 | m->addString(1, "current saved game."); | ^~~~~~~~~~~~~~~~~~~~~ interface.cpp:485:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 485 | m->addString(1, "Proceed?"); | ^~~~~~~~~~ interface.cpp:486:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 486 | m->addString(0, ""); | ^~ interface.cpp:487:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 487 | m->addString(0, " yes"); | ^~~~~~~ interface.cpp:488:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 488 | m->addString(0, " no"); | ^~~~~~ interface.cpp:489:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 489 | m->addString(0, ""); | ^~ interface.cpp:490:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 490 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:496:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 496 | m->addString(1, "This will erase ALL game progress"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:497:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 497 | m->addString(1, "and your current saved game."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:498:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 498 | m->addString(1, "Proceed?"); | ^~~~~~~~~~ interface.cpp:499:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 499 | m->addString(0, ""); | ^~ interface.cpp:500:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 500 | m->addString(0, " yes"); | ^~~~~~~ interface.cpp:501:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 501 | m->addString(0, " no"); | ^~~~~~ interface.cpp:502:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 502 | m->addString(0, ""); | ^~ interface.cpp:503:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 503 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:509:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 509 | m->addString(0, " CUSTOMIZE KEYS"); | ^~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:512:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 512 | m->addString(0, ""); | ^~ interface.cpp:514:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 514 | m->addString(0, " Defaults"); | ^~~~~~~~~~~~ interface.cpp:515:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 515 | m->addString(0, " Save and return"); | ^~~~~~~~~~~~~~~~~~~ interface.cpp:516:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 516 | m->addString(0, ""); | ^~ interface.cpp:517:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 517 | m->addString(0, "(sdb)"); | ^~~~~~~ interface.cpp: In function ‘int title(bool, bool)’: interface.cpp:789:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 789 | font.printf(-90.0, 10.0, 6.0, 4.8, "SHOTGUN DEBUGGER"); | ^~~~~~~~~~~~~~~~~~ interface.cpp:791:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 791 | font.printf(-80.0, -40, 2.5, 2.5, "A project of the Game Creation Society - sdb.gamecreation.org"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:792:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 792 | font.printf(-80.0, LAST_Y, 2.5, 2.5, "Ver. %s", GAME_VERSION); | ^~~~~~~~~ interface.cpp:796:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 796 | font.printf(CENTERED, LAST_Y, 2.5, 2.5, "Press Enter"); | ^~~~~~~~~~~~~ interface.cpp:801:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 801 | font.printf(-98.0, SCREEN_TOP-2.0, 3.0, 2.0, "* AUGMENTATIONS ACTIVE *"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function ‘void loadingScreen(int)’: interface.cpp:845:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 845 | font.LEDprintf(CENTERED, 0, 20.0, 20.0, ">>>>"); | ^~~~~~ interface.cpp:850:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 850 | case 4: font.LEDprintf(CENTERED, 0, 20.0, 20.0, " ?"); | ^~~~~~ interface.cpp:851:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 851 | case 3: font.LEDprintf(CENTERED, 0, 20.0, 20.0, " ? "); | ^~~~~~ interface.cpp:852:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 852 | case 2: font.LEDprintf(CENTERED, 0, 20.0, 20.0, " ? "); | ^~~~~~ interface.cpp:853:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 853 | case 1: font.LEDprintf(CENTERED, 0, 20.0, 20.0, "? "); | ^~~~~~ interface.cpp: In function ‘void levelIntroScreen(bool)’: interface.cpp:929:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 929 | window.addString(0, "%s", currLevel.introText[linesRead].c_str()); | ^~~~ interface.cpp:931:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 931 | window.addString(style, "%s", (currLevel.introText[linesRead].substr(1, currLevel.introText[linesRead].length()-1)).c_str()); | ^~~~ interface.cpp:934:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 934 | window.addString(0, ""); | ^~ interface.cpp:935:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 935 | window.addString(1, "press enter"); | ^~~~~~~~~~~~~ interface.cpp:990:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 990 | window.addString(0, "%s", currLevel.introText[linesRead].c_str()); | ^~~~ interface.cpp:992:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 992 | window.addString(style, "%s", (currLevel.introText[linesRead].substr(1, currLevel.introText[linesRead].length()-1)).c_str()); | ^~~~ interface.cpp:1002:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1002 | window.addString(0, ""); | ^~ interface.cpp:1003:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1003 | window.addString(1, "press enter"); | ^~~~~~~~~~~~~ interface.cpp:1032:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1032 | font.printf(CENTERED, 0, 6.0, 4.8, "%s", currLevel.name.c_str()); | ^~~~ interface.cpp:1039:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1039 | font.printf(-92, LAST_Y, 3.0, 2.6, "Fastest time: %2d:%02d.%02d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1042:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1042 | font.printf(-92, LAST_Y, 3.0, 2.6, "Most kills: %5d", P.levelRecords[P.level].kills); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1043:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1043 | font.printf(-92, LAST_Y, 3.0, 2.6, "Fewest shots: %5d", P.levelRecords[P.level].shots); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1044:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1044 | font.printf(-92, LAST_Y, 3.0, 2.6, "Least times hit: %5d", P.levelRecords[P.level].hits); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function ‘void levelWinScreen(bool)’: interface.cpp:1086:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1086 | stats.addString(0, "Completion time %2d:%02d.%02d", (int)(P.gameTime/60), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1088:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1088 | stats.addString(0, "Enemies killed %5d", P.kills); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1089:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1089 | stats.addString(0, "Shots fired %5d", P.shots); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1090:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1090 | stats.addString(0, "Times hit %5d", P.hits); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1091:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1091 | stats.addString(0, ""); | ^~ interface.cpp:1092:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1092 | stats.addString(0, " press enter to continue"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1096:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1096 | stats.addString(0, " | Prev. record"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1099:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1099 | "Completion time %2d:%02d.%02d | %2d:%02d.%02d", (int)(P.gameTime/60), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1104:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1104 | "Enemies killed %5d | %5d", P.kills, P.levelRecords[l].kills); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1107:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1107 | "Shots fired %5d | %5d", P.shots, P.levelRecords[l].shots); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1110:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1110 | "Times hit %5d | %5d", P.hits, P.levelRecords[l].hits); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1112:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1112 | stats.addString(0, ""); | ^~ interface.cpp:1113:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1113 | stats.addString(0, " press enter to continue"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1169:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1169 | font.printf(CENTERED, 37.0, 6.0, 4.8, "LEVEL COMPLETED"); | ^~~~~~~~~~~~~~~~~ interface.cpp: In function ‘void finalStatistics()’: interface.cpp:1209:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1209 | stats.addString(0, "Final statistics are not"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1210:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1210 | stats.addString(0, "recorded if you cheat."); | ^~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1211:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1211 | stats.addString(0, ""); | ^~ interface.cpp:1212:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1212 | stats.addString(0, ""); | ^~ interface.cpp:1213:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1213 | stats.addString(0, ""); | ^~ interface.cpp:1214:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1214 | stats.addString(0, " press enter to continue"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1218:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1218 | stats.addString(0, "Final statistics are not"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1219:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1219 | stats.addString(0, "recorded if you use"); | ^~~~~~~~~~~~~~~~~~~~~ interface.cpp:1220:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1220 | stats.addString(0, "augmentations on levels"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1221:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1221 | stats.addString(0, "other than the last."); | ^~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1222:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1222 | stats.addString(0, ""); | ^~ interface.cpp:1223:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1223 | stats.addString(0, " press enter to continue"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1227:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1227 | stats.addString(0, "Final statistics are not"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1228:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1228 | stats.addString(0, "recorded if you do not"); | ^~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1229:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1229 | stats.addString(0, "start at the first level."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1230:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1230 | stats.addString(0, ""); | ^~ interface.cpp:1231:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1231 | stats.addString(0, ""); | ^~ interface.cpp:1232:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1232 | stats.addString(0, " press enter to continue"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1237:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1237 | stats.addString(0, "Completion time %2d:%02d.%02d", (int)(P.currStats[NUM_LEVELS].time/60), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1239:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1239 | stats.addString(0, "Enemies killed %5d", P.currStats[NUM_LEVELS].kills); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1240:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1240 | stats.addString(0, "Shots fired %5d", P.currStats[NUM_LEVELS].shots); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1241:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1241 | stats.addString(0, "Times hit %5d", P.currStats[NUM_LEVELS].hits); | ^~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1242:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1242 | stats.addString(0, ""); | ^~ interface.cpp:1243:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1243 | stats.addString(0, " press enter to continue"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1247:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1247 | stats.addString(0, " | Prev. record"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1250:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1250 | "Completion time %2d:%02d.%02d | %2d:%02d.%02d", (int)(P.gameTime/60), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1255:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1255 | "Enemies killed %5d | %5d", P.kills, P.levelRecords[NUM_LEVELS].kills); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1258:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1258 | "Shots fired %5d | %5d", P.shots, P.levelRecords[NUM_LEVELS].shots); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1261:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1261 | "Times hit %5d | %5d", P.hits, P.levelRecords[NUM_LEVELS].hits); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1263:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1263 | stats.addString(0, ""); | ^~ interface.cpp:1264:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1264 | stats.addString(0, " press enter to continue"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1323:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1323 | font.printf(CENTERED, 37.0, 6.0, 4.8, "FINAL STATISTICS"); | ^~~~~~~~~~~~~~~~~~ interface.cpp:1329:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1329 | font.printf(CENTERED, -27, 4.0, 3.2, "Congratulations!"); | ^~~~~~~~~~~~~~~~~~ interface.cpp:1330:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1330 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "You've beaten the game amazingly quick."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1331:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1331 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "As a reward, you can now play ANY level with"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1332:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1332 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "your cyborg enhancements. Turn them on and off by"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1333:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1333 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "pressing X at the main menu. w00t!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function ‘void objectStats(int)’: interface.cpp:1347:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1347 | font.printf(-98.0, SCREEN_TOP-3.0, 4.0, 3.2, "FPS %03d", timer.FPS()); | ^~~~~~~~~~~~~~~~ interface.cpp:1348:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1348 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "\x7FT %0.5f", timer.dT()); | ^~~~~~~~~~~~~~~~~~~~ interface.cpp:1349:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1349 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "POSITION %0.3f %0.3f", | ^~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1351:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1351 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "VELOCITY %0.3f %0.3f", | ^~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1353:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1353 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "SPEED %0.3f %0.3f", | ^~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1355:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1355 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "HEADING %0.3f", | ^~~~~~~~~~~~~~~~~ interface.cpp:1357:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1357 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "TURN VEL. %0.3f", | ^~~~~~~~~~~~~~~~~ interface.cpp:1359:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1359 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "HEIGHT %0.3f", | ^~~~~~~~~~~~~~~~~ interface.cpp:1361:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1361 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "VERT VEL. %0.3f", | ^~~~~~~~~~~~~~~~~ interface.cpp:1363:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1363 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "EVENTS % .0f % .0f %d %d %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1366:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1366 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "KEYS %d %d %d %d", currLevelObjs[obj]->Keys() & 1, | ^~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1368:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1368 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "S.C. %lld", currLevelObjs[obj]->ShockCollisions()); | ^~~~~~~~~~~~~~~~ interface.cpp:1370:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1370 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "PARTICLES %d", liveParticles); | ^~~~~~~~~~~~~~ interface.cpp:1371:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1371 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "BULLETS %d", liveBullets); | ^~~~~~~~~~~~~~ interface.cpp:1372:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1372 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "FORCES %d", liveForces); | ^~~~~~~~~~~~~~ interface.cpp:1373:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1373 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "CELL %d", currLevel.cellNumber(currLevelObjs[obj]->Pos())); | ^~~~~~~~~~~~~~ interface.cpp: In function ‘void errorMessage(int, char*, char*, ...)’: interface.cpp:1417:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1417 | font.print(CENTERED, LAST_Y-2.0, 4.0, 3.2, 0.75, "PRESS ANY KEY TO EXIT"); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from interface.cpp:26: sdb.h:78:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 78 | #define CONFIG_FILE "preferences.txt" | ^~~~~~~~~~~~~~~~~ interface.cpp:1428:24: note: in expansion of macro ‘CONFIG_FILE’ 1428 | config.writeToFile(CONFIG_FILE); | ^~~~~~~~~~~ interface.cpp: In function ‘void drawPaths()’: interface.cpp:1440:83: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1440 | Level.node[i].pos.c[X], currLevel.node[i].pos.c[Y], 1.0, 0.8, "%d", i); | ^~~~ interface.cpp: In function ‘void configScreen(bool, float&, float&)’: interface.cpp:1516:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1516 | window.addString(0, " OPTIONS"); | ^~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1517:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1517 | window.addString(0, ""); | ^~ interface.cpp:1518:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1518 | window.addString(0, " %s %d x %d%s", options[0], ((currRes > -1) ? abs(resolutions[2*currRes]) : config.xres), | ^~~~~~~~~~~~~~~~~ interface.cpp:1520:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1520 | window.addString(0, " %s %d bits", options[1], (currDepth > -1) ? depths[currDepth] : config.depth); | ^~~~~~~~~~~~~~~ interface.cpp:1521:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1521 | window.addString(0, " %s %s", options[2], onOff[config.fullscreen]); | ^~~~~~~~~~ interface.cpp:1522:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1522 | window.addString(0, " %s %s", options[3], onOff[config.blur]); | ^~~~~~~~~~ interface.cpp:1523:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1523 | window.addString(0, " %s %s", options[4], onOff[config.sfx]); | ^~~~~~~~~~ interface.cpp:1524:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1524 | window.addString(0, " %s %s", options[5], onOff[config.music]); | ^~~~~~~~~~ interface.cpp:1527:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1527 | window.addString(0, " %s", options[i]); | ^~~~~~ interface.cpp:1529:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1529 | window.addString(0, ""); | ^~ interface.cpp:1530:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1530 | window.addString(0, "(sdb)"); | ^~~~~~~ interface.cpp:1590:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1590 | window.changeString(option, 0, " %s %d x %d%s", options[0], ((currRes > -1) ? abs(resolutions[2*currRes]) : config.xres), | ^~~~~~~~~~~~~~~~~ interface.cpp:1596:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1596 | window.changeString(option, 0, " %s %d bits", options[1], (currDepth > -1) ? depths[currDepth] : config.depth); | ^~~~~~~~~~~~~~~ interface.cpp:1600:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1600 | window.changeString(option, 0, " %s %s", options[2], onOff[config.fullscreen]); | ^~~~~~~~~~ interface.cpp:1604:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1604 | window.changeString(option, 0, " %s %s", options[3], onOff[config.blur]); | ^~~~~~~~~~ interface.cpp:1608:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1608 | window.changeString(option, 0, " %s %s", options[4], onOff[config.sfx]); | ^~~~~~~~~~ interface.cpp:1612:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1612 | window.changeString(option, 0, " %s %s", options[5], onOff[config.music]); | ^~~~~~~~~~ interface.cpp:1618:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1618 | window2.changeString(i+1, 0, " %s %12s", keyLabels[i], SDL_GetKeyName(config.keys[i])); | ^~~~~~~~~~~ interface.cpp:1660:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1660 | window2.changeString(currKey+1, 0, " %s %12s", keyLabels[currKey], SDL_GetKeyName(config.keys[currKey])); | ^~~~~~~~~~~ interface.cpp:1671:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1671 | window2.changeString(currKey+1, 0, " %s %12s", keyLabels[currKey], SDL_GetKeyName(config.keys[currKey])); | ^~~~~~~~~~~ interface.cpp:1677:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1677 | window2.changeString(i+1, 0, " %s %12s", keyLabels[i], SDL_GetKeyName(config.keys[i])); | ^~~~~~~~~~~ interface.cpp:1692:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1692 | window2.changeString(option2, 1, " %s new key?", keyLabels[currKey]); | ^~~~~~~~~~~~~~~~~~~ interface.cpp:1698:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1698 | window2.changeString(i+1, 0, " %s %12s", keyLabels[i], SDL_GetKeyName(config.keys[i])); | ^~~~~~~~~~~ interface.cpp:1787:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1787 | font.printf(CENTERED, -42, 3.0, 2.6, "New display settings take effect on restart"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1793:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1793 | font.printf(CENTERED, -48, 3.0, 2.6, "You cannot erase progress while playing a game"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:1798:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1798 | font.printf(CENTERED, -48, 3.0, 2.6, "That key is reserved"); | ^~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function ‘void finalCredits()’: interface.cpp:2075:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2075 | font.printf(CENTERED, y, 6.0, 4.8, "%s", lines[0].c_str()); | ^~~~ interface.cpp:2078:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2078 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "%s", lines[i].c_str()); | ^~~~ interface.cpp:2081:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2081 | font.printf(CENTERED, -SCREEN_TOP+18.0, 4.0, 3.2, "THE END"); | ^~~~~~~~~ interface.cpp:2082:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2082 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "COPYRIGHT 2005 GAME CREATION SOCIETY"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:2083:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2083 | font.printf(CENTERED, LAST_Y, 2.0, 1.6, "press enter"); | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c main.cpp -o main.o -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT In file included from main.cpp:26: main.cpp: In function ‘int main(int, char**)’: sdb.h:78:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 78 | #define CONFIG_FILE "preferences.txt" | ^~~~~~~~~~~~~~~~~ main.cpp:50:23: note: in expansion of macro ‘CONFIG_FILE’ 50 | config.loadFromFile(CONFIG_FILE); | ^~~~~~~~~~~ sdb.h:78:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 78 | #define CONFIG_FILE "preferences.txt" | ^~~~~~~~~~~~~~~~~ main.cpp:118:22: note: in expansion of macro ‘CONFIG_FILE’ 118 | config.writeToFile(CONFIG_FILE); | ^~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 bitmapfont.o levelobjects.o level.o md2.o weapons.o objects.o enemies.o input.o player.o game.o interface.o main.o -o sdb `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU make: Leaving directory '/var/tmp/portage/games-arcade/sdb-1.0.2-r2/work/sdb-1.0.2/src' >>> Source compiled. >>> Test phase [not enabled]: games-arcade/sdb-1.0.2-r2 >>> Install games-arcade/sdb-1.0.2-r2 into /var/tmp/portage/games-arcade/sdb-1.0.2-r2/image >>> Completed installing games-arcade/sdb-1.0.2-r2 into /var/tmp/portage/games-arcade/sdb-1.0.2-r2/image * Final size of build directory: 15020 KiB (14.6 MiB) * Final size of installed tree: 13772 KiB (13.4 MiB) strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/bin/sdb * checking 155 files for package collisions * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / ` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at https://bugs.gentoo.org/ unless you report exactly * which two packages install the same file(s). See * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how * to solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * Detected file collision(s): * * /usr/bin/sdb * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-lang/snobol-1.4.1-r1:0::gentoo * /usr/bin/sdb * * Package 'games-arcade/sdb-1.0.2-r2' NOT merged due to file collisions. * If necessary, refer to your elog messages for the whole content of the * above message.