+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xu4-1.0beta3nb17/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xu4-1.0beta3nb17/work.log ===> Building for xu4-1.0beta3nb17 => Fixing path to installed files. gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o lzw/hash.o lzw/hash.c gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o lzw/lzw.o lzw/lzw.c gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o unzip.o unzip.c g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o annotation.o annotation.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o armor.o armor.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o aura.o aura.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o camp.o camp.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o cheat.o cheat.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o city.o city.cpp In file included from combat.h:15, from camp.h:8, from camp.cpp:9: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from camp.cpp:29: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o codex.o codex.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o combat.o combat.cpp In file included from observable.h:11, from aura.h:10, from context.h:10, from cheat.cpp:8: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from cheat.cpp:15: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o config.o config.cpp In file included from observable.h:11, from aura.h:10, from context.h:10, from codex.cpp:12: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from codex.cpp:20: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ In file included from combat.h:15, from combat.cpp:10: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from combat.cpp:31: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o controller.o controller.cpp config.cpp: In static member function 'static const Config* Config::getInstance()': config.cpp:34:36: warning: 'int xmlFileMatch(const char*)' is deprecated [-Wdeprecated-declarations] 34 | xmlRegisterInputCallbacks(&xmlFileMatch, &fileOpen, xmlFileRead, xmlFileClose); | ^~~~~~~~~~~~ In file included from /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/parser.h:26, from config.cpp:11: /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/xmlIO.h:361:9: note: declared here 361 | xmlFileMatch (const char *filename); | ^~~~~~~~~~~~ config.cpp:34:34: warning: 'int xmlFileRead(void*, char*, int)' is deprecated [-Wdeprecated-declarations] 34 | xmlRegisterInputCallbacks(&xmlFileMatch, &fileOpen, xmlFileRead, xmlFileClose); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/xmlIO.h:367:9: note: declared here 367 | xmlFileRead (void * context, | ^~~~~~~~~~~ config.cpp:34:34: warning: 'int xmlFileClose(void*)' is deprecated [-Wdeprecated-declarations] 34 | xmlRegisterInputCallbacks(&xmlFileMatch, &fileOpen, xmlFileRead, xmlFileClose); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/xmlIO.h:372:9: note: declared here 372 | xmlFileClose (void * context); | ^~~~~~~~~~~~ config.cpp: In static member function 'static void* Config::fileOpen(const char*)': config.cpp:89:25: warning: 'void* xmlFileOpen(const char*)' is deprecated [-Wdeprecated-declarations] 89 | result = xmlFileOpen(pathname.c_str()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/xmlIO.h:364:9: note: declared here 364 | xmlFileOpen (const char *filename); | ^~~~~~~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o conversation.o conversation.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o creature.o creature.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o death.o death.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o debug.o debug.cpp creature.cpp: In member function 'virtual bool Creature::applyDamage(int, bool)': creature.cpp:838:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 838 | else | ^~~~ creature.cpp:842:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 842 | remove(); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o dialogueloader.o dialogueloader.cpp In file included from observable.h:11, from aura.h:10, from context.h:10, from death.cpp:15: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from death.cpp:25: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o dialogueloader_tlk.o dialogueloader_tlk.cpp debug.cpp: In member function 'void Debug::trace(const std::string&, const std::string&, const std::string&, int, bool)': debug.cpp:201:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 201 | sprintf(ln, "%d", line); | ^~ debug.cpp:201:25: note: directive argument in the range [1, 2147483647] 201 | sprintf(ln, "%d", line); | ^~~~ debug.cpp:201:20: note: 'std::sprintf' output between 2 and 11 bytes into a destination of size 8 201 | sprintf(ln, "%d", line); | ~~~~~~~^~~~~~~~~~~~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o direction.o direction.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o dngview.o dngview.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o dungeon.o dungeon.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o dungeonview.o dungeonview.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o error.o error.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o event.o event.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o event_sdl.o event_sdl.cpp In file included from combat.h:15, from dungeon.h:10, from dungeon.cpp:8: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from dungeon.cpp:19: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o filesystem.o filesystem.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o game.o game.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o io.o io.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o image_sdl.o image_sdl.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o imageloader.o imageloader.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o imageloader_png.o imageloader_png.cpp In file included from game.h:13, from game.cpp:12: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from game.cpp:50: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ game.cpp: In function 'void gameLordBritishCheckLevels()': game.cpp:3211:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3211 | if (player->getRealLevel() < | ^~ game.cpp:3220:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3220 | player->advanceLevel(); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o imageloader_u4.o imageloader_u4.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o imageloader_u5.o imageloader_u5.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o imagemgr.o imagemgr.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o imageview.o imageview.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o intro.o intro.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o item.o item.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o location.o location.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o map.o map.cpp item.cpp: In function 'void itemHandleStones(const std::string&)': item.cpp:556:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 556 | isStoneInInventory((void *)(1<::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from person.cpp:26: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ portal.cpp: In function 'int usePortalAt(Location*, MapCoords, PortalTriggerAction)': portal.cpp:86:49: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 86 | sprintf(msg, "Descend down to level %d\n", portal->start.z+1); | ^~ portal.cpp:86:26: note: directive argument in the range [-2147483647, 2147483647] 86 | sprintf(msg, "Descend down to level %d\n", portal->start.z+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ portal.cpp:86:20: note: 'std::sprintf' output between 25 and 35 bytes into a destination of size 32 86 | sprintf(msg, "Descend down to level %d\n", portal->start.z+1); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o rle.o rle.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o savegame.o savegame.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o scale.o scale.cpp rle.cpp: In function 'long int rleGetDecompressedSize(unsigned char*, long int)': rle.cpp:64:30: warning: variable 'val' set but not used [-Wunused-but-set-variable] 64 | unsigned char ch, count, val; | ^~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o script.o script.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o screen.o screen.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o screen_sdl.o screen_sdl.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o settings.o settings.cpp In file included from combat.h:15, from camp.h:8, from script.cpp:12: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from script.cpp:26: stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o shrine.o shrine.cpp In file included from screen_sdl.cpp:19: cursors.h:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7 | "32 32 3 1", | ^~~~~~~~~~~ cursors.h:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 8 | " c None", | ^~~~~~~~~~~~~ cursors.h:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | ". c #FFFFFF", | ^~~~~~~~~~~~~~~~ cursors.h:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 10 | "X c #000000", | ^~~~~~~~~~~~~~~~ cursors.h:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 11 | " XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 12 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 13 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 14 | " X....X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:15:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 15 | " X....X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:16:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | " X......X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:17:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | " X......X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:18:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 18 | " X........X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:19:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | " X........X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:20:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | " X..........X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:21:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 21 | " X..........X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:22:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | "X..XXX..XXX..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:23:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | "XXX X..X XXX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:24:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 24 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:25:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:26:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 26 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:27:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:29:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | " XXXX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:31:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:33:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:34:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:36:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:37:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:38:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:39:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:41:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:42:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:43:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 43 | "6,0"}; | ^~~~~ cursors.h:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | "32 32 3 1", | ^~~~~~~~~~~ cursors.h:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | " c None", | ^~~~~~~~~~~~~ cursors.h:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | ". c #FFFFFF", | ^~~~~~~~~~~~~~~~ cursors.h:50:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | "X c #000000", | ^~~~~~~~~~~~~~~~ cursors.h:51:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | " XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:52:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | " X.XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:53:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | " X...XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:54:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | " X....XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:55:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | " X......XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | "XXXXXXXX........XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | "X.................X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:58:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | "X.................X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:59:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | "XXXXXXXX........XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:60:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | " X......XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:61:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | " X....XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:62:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | " X...XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:63:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | " X.XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | " XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:65:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:66:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:67:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:69:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:71:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:74:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:75:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:76:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:77:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:78:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:79:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:80:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:81:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:82:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:83:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | "18,6"}; | ^~~~~~ cursors.h:87:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | "32 32 3 1", | ^~~~~~~~~~~ cursors.h:88:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | " c None", | ^~~~~~~~~~~~~ cursors.h:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | ". c #FFFFFF", | ^~~~~~~~~~~~~~~~ cursors.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | "X c #000000", | ^~~~~~~~~~~~~~~~ cursors.h:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | " XXXX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:92:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:93:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:94:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:95:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:96:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:97:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | "XXX X..X XXX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:98:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | "X..XXX..XXX..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:99:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | " X..........X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:100:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | " X..........X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:101:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | " X........X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:102:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | " X........X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:103:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | " X......X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:104:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | " X......X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:105:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | " X....X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:106:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | " X....X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:107:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:108:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | " X..X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:109:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | " XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:110:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:111:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:112:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:113:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:114:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 115 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:116:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:117:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:118:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:119:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:120:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:121:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:122:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:123:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | "6,18"}; | ^~~~~~ cursors.h:127:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | "32 32 3 1", | ^~~~~~~~~~~ cursors.h:128:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | " c None", | ^~~~~~~~~~~~~ cursors.h:129:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | ". c #FFFFFF", | ^~~~~~~~~~~~~~~~ cursors.h:130:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 130 | "X c #000000", | ^~~~~~~~~~~~~~~~ cursors.h:131:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | " XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | " XX.X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:133:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | " XX...X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:134:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | " XX....X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:135:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | " XX......X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:136:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | " XX........XXXXXXXX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:137:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | "X.................X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | "X.................X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:139:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | " XX........XXXXXXXX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:140:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | " XX......X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:141:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | " XX....X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:142:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | " XX...X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:143:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | " XX.X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:144:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | " XX ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:145:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:146:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:148:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:149:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:150:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 150 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:151:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:153:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:154:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:155:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:156:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:157:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:158:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:159:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:160:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:161:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:162:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | " ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursors.h:163:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | "0,6"}; | ^~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o sound.o sound.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o spell.o spell.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o stats.o stats.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o textview.o textview.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o tile.o tile.cpp In file included from observable.h:11, from stats.h:9, from stats.cpp:9: observer.h:30:18: warning: 'void Observer::update(O, NoArg*) [with O = Aura*]' was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ stats.h:59:18: note: by 'StatsArea::update' 59 | virtual void update(Menu *menu, MenuEvent &event); | ^~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o tileanim.o tileanim.cpp stats.cpp: In member function 'void StatsArea::showPartyView(bool)': stats.cpp:208:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | char *format = "%d%c%-9.8s%3d%c"; | ^~~~~~~~~~~~~~~~~ g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o tilemap.o tilemap.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o tileset.o tileset.cpp tile.cpp: In member function 'void Tile::loadProperties(const ConfigElement&)': tile.cpp:84:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wformat=] 84 | errorFatal("Error: %d directions for tile but only %d frames", dirs.length(), frames); | ~^ ~~~~~~~~~~~~~ | | | | int std::__cxx11::basic_string::size_type {aka long unsigned int} | %ld g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o tileview.o tileview.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o u4.o u4.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o u4_sdl.o u4_sdl.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o u4file.o u4file.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o utils.o utils.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o view.o view.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o weapon.o weapon.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o xml.o xml.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o lzw/u4decode.o lzw/u4decode.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o lzw/u6decode.o lzw/u6decode.cpp g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o util/dumpsavegame.o util/dumpsavegame.cpp gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o util/u4enc.o util/u4enc.c xml.cpp: In function 'void* xmlXu4FileOpen(const char*)': xml.cpp:38:25: warning: 'void* xmlFileOpen(const char*)' is deprecated [-Wdeprecated-declarations] 38 | result = xmlFileOpen(pathname.c_str()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/parser.h:26, from xml.cpp:11: /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/xmlIO.h:364:9: note: declared here 364 | xmlFileOpen (const char *filename); | ^~~~~~~~~~~ xml.cpp: In function 'void xmlRegisterIO()': xml.cpp:47:32: warning: 'int xmlFileMatch(const char*)' is deprecated [-Wdeprecated-declarations] 47 | xmlRegisterInputCallbacks(&xmlFileMatch, &xmlXu4FileOpen, xmlFileRead, xmlFileClose); | ^~~~~~~~~~~~ /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/xmlIO.h:361:9: note: declared here 361 | xmlFileMatch (const char *filename); | ^~~~~~~~~~~~ xml.cpp:47:30: warning: 'int xmlFileRead(void*, char*, int)' is deprecated [-Wdeprecated-declarations] 47 | xmlRegisterInputCallbacks(&xmlFileMatch, &xmlXu4FileOpen, xmlFileRead, xmlFileClose); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/xmlIO.h:367:9: note: declared here 367 | xmlFileRead (void * context, | ^~~~~~~~~~~ xml.cpp:47:30: warning: 'int xmlFileClose(void*)' is deprecated [-Wdeprecated-declarations] 47 | xmlRegisterInputCallbacks(&xmlFileMatch, &xmlXu4FileOpen, xmlFileRead, xmlFileClose); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/xu4/work/.buildlink/include/libxml2/libxml/xmlIO.h:372:9: note: declared here 372 | xmlFileClose (void * context); | ^~~~~~~~~~~~ gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o util/pngconv.o util/pngconv.c gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o util/u4dec.o util/u4dec.c gcc -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/libxml2 -c -o util/tlkconv.o util/tlkconv.c g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -o dumpsavegame util/dumpsavegame.o savegame.o io.o names.o g++ -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/pkg/include/libxml2 -DICON_FILE=\"/opt/pkg/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -o u4enc util/u4enc.o lzw/hash.o util/pngconv.o -lpng -lz util/tlkconv.c: In function 'xmlToTlk': util/tlkconv.c:62:41: error: implicit declaration of function 'strtoul'; did you mean 'strtok'? [-Wimplicit-function-declaration] 62 | tlk_buffer[2] = (unsigned char) strtoul(val, NULL, 10); | ^~~~~~~ | strtok util/tlkconv.c:89:25: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 89 | exit(1); | ^~~~ util/tlkconv.c:10:1: note: include '' or provide a declaration of 'exit' 9 | #include +++ |+#include 10 | util/tlkconv.c:89:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 89 | exit(1); | ^~~~ util/tlkconv.c:89:25: note: include '' or provide a declaration of 'exit' util/tlkconv.c:119:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 119 | exit(1); | ^~~~ util/tlkconv.c:119:17: note: include '' or provide a declaration of 'exit' util/tlkconv.c:132:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 132 | exit(1); | ^~~~ util/tlkconv.c:132:17: note: include '' or provide a declaration of 'exit' util/tlkconv.c:138:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 138 | exit(1); | ^~~~ util/tlkconv.c:138:17: note: include '' or provide a declaration of 'exit' util/tlkconv.c:142:17: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 142 | free(str[i]); | ^~~~ util/tlkconv.c:142:17: note: include '' or provide a declaration of 'free' util/tlkconv.c:142:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] util/tlkconv.c:142:17: note: include '' or provide a declaration of 'free' util/tlkconv.c: In function 'tlkToXml': util/tlkconv.c:245:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 245 | free(response1); | ^~~~ util/tlkconv.c:245:9: note: include '' or provide a declaration of 'free' util/tlkconv.c: In function 'main': util/tlkconv.c:264:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 264 | exit(1); | ^~~~ util/tlkconv.c:264:9: note: include '' or provide a declaration of 'exit' util/tlkconv.c:270:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 270 | exit(1); | ^~~~ util/tlkconv.c:270:9: note: include '' or provide a declaration of 'exit' util/tlkconv.c:276:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 276 | exit(1); | ^~~~ util/tlkconv.c:276:9: note: include '' or provide a declaration of 'exit' util/tlkconv.c:288:24: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 288 | xml = (char *) malloc(xmlSize); | ^~~~~~ util/tlkconv.c:288:24: note: include '' or provide a declaration of 'malloc' util/tlkconv.c:288:24: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] util/tlkconv.c:288:24: note: include '' or provide a declaration of 'malloc' util/tlkconv.c:295:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 295 | exit(1); | ^~~~ util/tlkconv.c:295:9: note: include '' or provide a declaration of 'exit' gmake: *** [: util/tlkconv.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xu4 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xu4