=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for kajaani-kombat-0.7nb11 c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o game_obj.o game_obj.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o terrain.o terrain.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o msg.o msg.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o rotozoom.o rotozoom.cpp In file included from terrain.h:34:0, from msg.h:25, from msg.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from terrain.h:34:0, from rotozoom.h:25, from rotozoom.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from terrain.h:34:0, from terrain.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from msg.cpp:21:0: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.cpp:176:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* msg::recv (TCPsocket sock) throw (string) ^~~~~ msg.cpp:289:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg::send (TCPsocket sock) const throw (string) ^~~~~ msg.cpp:327:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg::write_uint(TCPsocket sock, Uint32 d) throw (string) ^~~~~ msg.cpp:336:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Uint32 msg::read_uint(TCPsocket sock) throw (string) ^~~~~ msg.cpp:348:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg::write_coord(TCPsocket sock, const coord &c) throw (string) ^~~~~ msg.cpp:354:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] coord msg::read_coord(TCPsocket sock) throw (string) ^~~~~ msg.cpp:361:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg::write_string(TCPsocket sock, const string &s) throw (string) ^~~~~ msg.cpp:369:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string msg::read_string(TCPsocket sock) throw (string) ^~~~~ msg.cpp:386:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_serverhello::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:393:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_serverhello::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:401:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_clienthello::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:407:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_clienthello::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:441:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_start_game::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:445:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_start_game::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:462:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_playerinfo::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:468:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_playerinfo::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:486:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_talkmessage::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:492:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_talkmessage::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:510:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_castle_location::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:516:56: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_castle_location::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:535:65: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_cannonplacer::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:541:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_cannonplacer::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:558:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_characterchooser::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:564:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_characterchooser::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:584:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_blockplacer::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o gfx.o gfx.cpp msg.cpp:590:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_blockplacer::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:631:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_place_cannon::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:637:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_change_cannon::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:642:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_change_cannon::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:647:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_place_cannon::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:653:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_place_big_cannon::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:659:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_place_big_cannon::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:683:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_choose_character::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:690:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_choose_character::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:708:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_chooser_lock::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:713:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_chooser_lock::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:730:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_chooser::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:736:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_chooser::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:754:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_chooser_req::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:760:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_chooser_req::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:777:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_rotate_block::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:782:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_rotate_block::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:800:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_place_block::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:807:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_place_block::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:828:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_shoot::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:836:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_shoot::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:862:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_disconnect::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:866:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_disconnect::read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.cpp:870:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_cursor::write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.cpp:878:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void msg_move_cursor::read_msgdata(TCPsocket sock) throw (string) ^~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o game_client.o game_client.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o main.o main.cpp In file included from terrain.h:34:0, from gfx.h:29, from gfx.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from particle_efects.h:24:0, from gfx.h:35, from gfx.cpp:21: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from terrain.h:34:0, from msg.h:25, from game_client.h:33, from game_client.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from game_client.h:33:0, from game_client.cpp:21: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from player.h:27:0, from gfx.h:39, from gfx.cpp:21: connects.h:19:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() const throw (string &) = 0; ^~~~~ connects.h:20:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *receive() throw (string &) = 0; ^~~~~ connects.h:21:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send (msg *m) throw (string &) = 0; ^~~~~ connects.h:39:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects(TCPsocket s) throw (string &); ^~~~~ connects.h:43:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:44:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:45:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.h:55:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects(monitor_queue *in, monitor_queue *out) throw (string &); ^~~~~ connects.h:58:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:59:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:60:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ gfx.cpp: In member function 'void gfx::draw_bar(float, const char*)': gfx.cpp:1112:16: warning: variable 'r' set but not used [-Wunused-but-set-variable] SDL_Rect r = draw_text_baseline (screen, font, buf, tpos); ^ gfx.cpp:1119:12: warning: variable 'r' set but not used [-Wunused-but-set-variable] SDL_Rect r = draw_text_baseline (screen, font, buf, tpos); ^ In file included from player.h:27:0, from gfx.h:39, from game_client.h:36, from game_client.cpp:21: connects.h:19:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() const throw (string &) = 0; ^~~~~ connects.h:20:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *receive() throw (string &) = 0; ^~~~~ connects.h:21:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send (msg *m) throw (string &) = 0; ^~~~~ connects.h:39:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects(TCPsocket s) throw (string &); ^~~~~ connects.h:43:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:44:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:45:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.h:55:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects(monitor_queue *in, monitor_queue *out) throw (string &); ^~~~~ connects.h:58:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:59:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:60:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ In file included from gui.h:36:0, from game_client.h:44, from game_client.cpp:21: audio.h:38:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] audio() throw (string &){} ^~~~~ audio.h:60:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Music *load_mus(const string &fname) throw (string); ^~~~~ audio.h:61:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Chunk *load_sfx(const string &fname) throw (string); ^~~~~ audio.h:67:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] nullaudio() throw (string &){} ^~~~~ audio.h:94:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] realaudio() throw (string &); ^~~~~ In file included from gui.h:40:0, from game_client.h:44, from game_client.cpp:21: config.h:60:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string& get_name( int player ) throw ( string ) { ^~~~~ config.h:80:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const char *key_to_str( int key ) throw ( int ); ^~~~~ config.h:107:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_config( string& fn ) throw ( string ); ^~~~~ config.h:108:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_config( string& fn ) throw ( string ); ^~~~~ config.h:111:79: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_string( FILE *fp, const char *key, const char *value ) throw ( string ); ^~~~~ config.h:112:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_int( FILE *fp, const char *key, int value ) throw ( string ); ^~~~~ In file included from game_client.h:44:0, from game_client.cpp:21: gui.h:104:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void action(SDLKey sym, SDLMod mod) throw (int); ^~~~~ gui.h:231:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void action(SDLKey sym, SDLMod mod) throw(int) ^~~~~ In file included from game_client.h:48:0, from game_client.cpp:21: client_net.h:38:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *recv() throw (string &) = 0; ^~~~~ client_net.h:39:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send(msg * m) throw (string &) = 0; ^~~~~ client_net.h:40:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() throw (string &) = 0; ^~~~~ client_net.h:47:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] client_tcpnet(IPaddress *serv_ip) throw (string &); ^~~~~ client_net.h:50:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *recv() throw (string &); ^~~~~ client_net.h:51:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send(msg * m) throw (string &); ^~~~~ client_net.h:52:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() throw (string &); ^~~~~ client_net.h:78:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *recv() throw (string &); ^~~~~ client_net.h:79:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send(msg * m) throw (string &); ^~~~~ client_net.h:80:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() throw (string &); ^~~~~ In file included from game_client.cpp:21:0: game_client.h:107:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect() throw (string &); ^~~~~ game_client.h:109:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect_local(monitor_queue **in, monitor_queue ** out) throw (string &); ^~~~~ game_client.h:242:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_inactive() throw (exception); ^~~~~ game_client.h:246:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_character_select() throw (exception); ^~~~~ game_client.h:250:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_castle_select() throw (exception); ^~~~~ game_client.h:254:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_shooting() throw (exception); ^~~~~ game_client.h:258:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_place_cannons() throw (exception); ^~~~~ game_client.h:262:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_repair() throw (exception); ^~~~~ game_client.h:267:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool mode_endround() throw (exception); ^~~~~ game_client.h:271:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_endgame() throw (exception); ^~~~~ game_client.h:300:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void handle_player_disconnect(int index) throw (last_player_exception); ^~~~~ game_client.cpp: In destructor 'virtual game_client::~game_client()': game_client.cpp:87:14: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete m; ^ game_client.cpp: In member function 'void game_client::disconnect()': game_client.cpp:98:14: warning: deleting object of abstract class type 'client_net' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete serv_conn; ^~~~~~~~~ game_client.cpp: At global scope: game_client.cpp:103:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::connect() throw (string &) ^~~~~ game_client.cpp: In member function 'void game_client::connect()': game_client.cpp:137:21: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] if (m) { delete m; m = 0; } ^ game_client.cpp:141:12: warning: deleting object of abstract class type 'client_net' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete serv_conn; ^~~~~~~~~ game_client.cpp:145:19: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] if (m) { delete m; m = 0;} ^ game_client.cpp: At global scope: game_client.cpp:151:92: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::connect_local(monitor_queue **in_q, monitor_queue ** out_q) throw (string &) ^~~~~ game_client.cpp: In member function 'void game_client::data_transfer()': game_client.cpp:532:14: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete m; ^ game_client.cpp:540:14: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete sm; ^~ game_client.cpp: At global scope: game_client.cpp:544:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::mode_character_select() throw (exception) ^~~~~ game_client.cpp:669:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::mode_castle_select() throw (exception) ^~~~~ game_client.cpp:854:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::mode_shooting() throw (exception) ^~~~~ game_client.cpp: In member function 'void game_client::mode_shooting()': game_client.cpp:905:33: warning: variable 'ite' set but not used [-Wunused-but-set-variable] vector::iterator ite = own_cannons[player_index[pn]].begin(); ^~~ game_client.cpp:922:33: warning: variable 'ite' set but not used [-Wunused-but-set-variable] vector::iterator ite = own_cannons[player_index[pn]].begin(); ^~~ game_client.cpp: At global scope: game_client.cpp:1225:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::mode_place_cannons() throw (exception) ^~~~~ game_client.cpp: In member function 'bool game_client::place_cannon(int)': game_client.cpp:1563:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(players[player_index[i]].get_kredits() >= BIG_CANNON_COST && players[player_index[i]].is_alive() || (players[player_index[i]].get_kredits() >= CANNON_COST && players[player_index[i]].is_alive())) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_client.cpp: In member function 'bool game_client::place_big_cannon(int)': game_client.cpp:1654:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(players[player_index[i]].get_kredits() >= BIG_CANNON_COST && players[player_index[i]].is_alive() || (players[player_index[i]].get_kredits() >= CANNON_COST && players[player_index[i]].is_alive())) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game_client.cpp: At global scope: game_client.cpp:1670:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::mode_inactive() throw (exception) ^~~~~ game_client.cpp:1874:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::mode_repair() throw (exception) ^~~~~ In file included from terrain.h:34:0, from msg.h:25, from main.cpp:26: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ game_client.cpp:2065:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool game_client::mode_endround() throw (exception) ^~~~~ game_client.cpp:2236:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::mode_endgame() throw (exception) ^~~~~ game_client.cpp:2651:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void game_client::handle_player_disconnect(int index) throw (last_player_exception) ^~~~~ game_client.cpp: In member function 'virtual void game_client::process_objects()': game_client.cpp:2868:14: warning: deleting object of abstract class type 'game_obj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete o; ^ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o coord.o coord.cpp In file included from main.cpp:26:0: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o block.o block.cpp In file included from player.h:27:0, from gfx.h:39, from game_client.h:36, from main.cpp:28: connects.h:19:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() const throw (string &) = 0; ^~~~~ connects.h:20:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *receive() throw (string &) = 0; ^~~~~ connects.h:21:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send (msg *m) throw (string &) = 0; ^~~~~ connects.h:39:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects(TCPsocket s) throw (string &); ^~~~~ connects.h:43:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:44:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:45:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.h:55:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects(monitor_queue *in, monitor_queue *out) throw (string &); ^~~~~ connects.h:58:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:59:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:60:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ In file included from gui.h:36:0, from game_client.h:44, from main.cpp:28: audio.h:38:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] audio() throw (string &){} ^~~~~ audio.h:60:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Music *load_mus(const string &fname) throw (string); ^~~~~ audio.h:61:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Chunk *load_sfx(const string &fname) throw (string); ^~~~~ audio.h:67:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] nullaudio() throw (string &){} ^~~~~ audio.h:94:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] realaudio() throw (string &); ^~~~~ In file included from gui.h:40:0, from game_client.h:44, from main.cpp:28: config.h:60:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string& get_name( int player ) throw ( string ) { ^~~~~ config.h:80:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const char *key_to_str( int key ) throw ( int ); ^~~~~ config.h:107:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_config( string& fn ) throw ( string ); ^~~~~ config.h:108:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_config( string& fn ) throw ( string ); ^~~~~ config.h:111:79: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_string( FILE *fp, const char *key, const char *value ) throw ( string ); ^~~~~ config.h:112:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_int( FILE *fp, const char *key, int value ) throw ( string ); ^~~~~ In file included from game_client.h:44:0, from main.cpp:28: gui.h:104:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void action(SDLKey sym, SDLMod mod) throw (int); ^~~~~ gui.h:231:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void action(SDLKey sym, SDLMod mod) throw(int) ^~~~~ In file included from game_client.h:48:0, from main.cpp:28: client_net.h:38:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *recv() throw (string &) = 0; ^~~~~ client_net.h:39:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send(msg * m) throw (string &) = 0; ^~~~~ client_net.h:40:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() throw (string &) = 0; ^~~~~ client_net.h:47:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] client_tcpnet(IPaddress *serv_ip) throw (string &); ^~~~~ client_net.h:50:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *recv() throw (string &); ^~~~~ client_net.h:51:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send(msg * m) throw (string &); ^~~~~ client_net.h:52:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() throw (string &); ^~~~~ client_net.h:78:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *recv() throw (string &); ^~~~~ client_net.h:79:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send(msg * m) throw (string &); ^~~~~ client_net.h:80:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() throw (string &); ^~~~~ In file included from main.cpp:28:0: game_client.h:107:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect() throw (string &); ^~~~~ game_client.h:109:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect_local(monitor_queue **in, monitor_queue ** out) throw (string &); ^~~~~ game_client.h:242:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_inactive() throw (exception); ^~~~~ game_client.h:246:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_character_select() throw (exception); ^~~~~ game_client.h:250:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_castle_select() throw (exception); ^~~~~ game_client.h:254:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_shooting() throw (exception); ^~~~~ game_client.h:258:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_place_cannons() throw (exception); ^~~~~ game_client.h:262:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_repair() throw (exception); ^~~~~ game_client.h:267:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool mode_endround() throw (exception); ^~~~~ game_client.h:271:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_endgame() throw (exception); ^~~~~ game_client.h:300:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void handle_player_disconnect(int index) throw (last_player_exception); ^~~~~ In file included from gui_screens.h:31:0, from main.cpp:29: game_server.h:46:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] game_server(IPaddress _ip, int num_castles, int _wins) throw (string &); ^~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o particle_efects.o particle_efects.cpp In file included from block.cpp:21:0: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o animation.o animation.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o gfx_functions.o gfx_functions.cpp In file included from terrain.h:34:0, from msg.h:25, from particle_efects.h:24, from particle_efects.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from particle_efects.h:24:0, from particle_efects.cpp:21: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o gui.o gui.cpp In file included from terrain.h:34:0, from msg.h:25, from particle_efects.h:24, from animation.h:25, from animation.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from particle_efects.h:24:0, from animation.h:25, from animation.cpp:21: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from terrain.h:34:0, from gfx.h:29, from gui.h:34, from gui.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from particle_efects.h:24:0, from gfx.h:35, from gui.h:34, from gui.cpp:21: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o gui_screens.o gui_screens.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o game_server.o game_server.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o audio.o audio.cpp msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from player.h:27:0, from gfx.h:39, from gui.h:34, from gui.cpp:21: connects.h:19:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() const throw (string &) = 0; ^~~~~ connects.h:20:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *receive() throw (string &) = 0; ^~~~~ connects.h:21:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send (msg *m) throw (string &) = 0; ^~~~~ connects.h:39:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects(TCPsocket s) throw (string &); ^~~~~ connects.h:43:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:44:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:45:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.h:55:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects(monitor_queue *in, monitor_queue *out) throw (string &); ^~~~~ connects.h:58:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:59:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:60:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ In file included from gui.h:36:0, from gui.cpp:21: audio.h:38:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] audio() throw (string &){} ^~~~~ audio.h:60:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Music *load_mus(const string &fname) throw (string); ^~~~~ audio.h:61:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Chunk *load_sfx(const string &fname) throw (string); ^~~~~ audio.h:67:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] nullaudio() throw (string &){} ^~~~~ audio.h:94:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] realaudio() throw (string &); ^~~~~ In file included from gui.h:40:0, from gui.cpp:21: config.h:60:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string& get_name( int player ) throw ( string ) { ^~~~~ config.h:80:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const char *key_to_str( int key ) throw ( int ); ^~~~~ config.h:107:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_config( string& fn ) throw ( string ); ^~~~~ config.h:108:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_config( string& fn ) throw ( string ); ^~~~~ config.h:111:79: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_string( FILE *fp, const char *key, const char *value ) throw ( string ); ^~~~~ config.h:112:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_int( FILE *fp, const char *key, int value ) throw ( string ); ^~~~~ In file included from gui.cpp:21:0: gui.h:104:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void action(SDLKey sym, SDLMod mod) throw (int); ^~~~~ gui.h:231:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void action(SDLKey sym, SDLMod mod) throw(int) ^~~~~ gui.cpp: In destructor 'virtual gui_screen::~gui_screen()': gui.cpp:284:20: warning: deleting object of abstract class type 'game_obj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete objs[i]; ^ gui.cpp: At global scope: gui.cpp:291:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void gui_button::action(SDLKey sym, SDLMod mod) throw (int) ^~~~~ gui.cpp: In member function 'virtual void gui_screen::process_objects()': gui.cpp:667:14: warning: deleting object of abstract class type 'game_obj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete o; ^ gui.cpp: In member function 'void gui_screen::remove_text_objects()': gui.cpp:702:11: warning: deleting object of abstract class type 'game_obj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete o; ^ In file included from audio.cpp:21:0: audio.h:38:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] audio() throw (string &){} ^~~~~ audio.h:60:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Music *load_mus(const string &fname) throw (string); ^~~~~ audio.h:61:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Chunk *load_sfx(const string &fname) throw (string); ^~~~~ audio.h:67:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] nullaudio() throw (string &){} ^~~~~ audio.h:94:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] realaudio() throw (string &); ^~~~~ audio.cpp:42:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Mix_Music *audio::load_mus(const string &fname) throw (string) ^~~~~ audio.cpp:59:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] Mix_Chunk *audio::load_sfx(const string &fname) throw (string) ^~~~~ audio.cpp:76:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] realaudio::realaudio() throw (string &) ^~~~~ In file included from terrain.h:34:0, from msg.h:25, from game_server.h:28, from game_server.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from terrain.h:34:0, from gfx.h:29, from gui.h:34, from gui_screens.h:25, from gui_screens.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from game_server.h:28:0, from game_server.cpp:21: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from particle_efects.h:24:0, from gfx.h:35, from gui.h:34, from gui_screens.h:25, from gui_screens.cpp:21: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o game_statistic.o game_statistic.cpp In file included from player.h:27:0, from game_server.h:29, from game_server.cpp:21: connects.h:19:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() const throw (string &) = 0; ^~~~~ connects.h:20:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *receive() throw (string &) = 0; ^~~~~ connects.h:21:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send (msg *m) throw (string &) = 0; ^~~~~ connects.h:39:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects(TCPsocket s) throw (string &); ^~~~~ connects.h:43:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:44:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:45:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.h:55:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects(monitor_queue *in, monitor_queue *out) throw (string &); ^~~~~ connects.h:58:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:59:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:60:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ In file included from game_server.cpp:21:0: game_server.h:46:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] game_server(IPaddress _ip, int num_castles, int _wins) throw (string &); ^~~~~ In file included from player.h:27:0, from gfx.h:39, from gui.h:34, from gui_screens.h:25, from gui_screens.cpp:21: connects.h:19:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() const throw (string &) = 0; ^~~~~ connects.h:20:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *receive() throw (string &) = 0; ^~~~~ connects.h:21:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send (msg *m) throw (string &) = 0; ^~~~~ connects.h:39:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects(TCPsocket s) throw (string &); ^~~~~ connects.h:43:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:44:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:45:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.h:55:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects(monitor_queue *in, monitor_queue *out) throw (string &); ^~~~~ connects.h:58:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ game_server.cpp: In destructor 'game_server::~game_server()': game_server.cpp:30:29: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete output_queue.pop(); ^ connects.h:59:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:60:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ game_server.cpp: At global scope: game_server.cpp:35:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] game_server::game_server(IPaddress _ip, int _num_castles, int _wins) throw(string &) ^~~~~ In file included from gui.h:36:0, from gui_screens.h:25, from gui_screens.cpp:21: audio.h:38:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] audio() throw (string &){} ^~~~~ audio.h:60:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Music *load_mus(const string &fname) throw (string); ^~~~~ audio.h:61:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Mix_Chunk *load_sfx(const string &fname) throw (string); ^~~~~ audio.h:67:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] nullaudio() throw (string &){} ^~~~~ audio.h:94:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] realaudio() throw (string &); ^~~~~ In file included from gui.h:40:0, from gui_screens.h:25, from gui_screens.cpp:21: config.h:60:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string& get_name( int player ) throw ( string ) { ^~~~~ config.h:80:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const char *key_to_str( int key ) throw ( int ); ^~~~~ config.h:107:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_config( string& fn ) throw ( string ); ^~~~~ config.h:108:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_config( string& fn ) throw ( string ); ^~~~~ config.h:111:79: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_string( FILE *fp, const char *key, const char *value ) throw ( string ); ^~~~~ config.h:112:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_int( FILE *fp, const char *key, int value ) throw ( string ); ^~~~~ In file included from gui_screens.h:25:0, from gui_screens.cpp:21: gui.h:104:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void action(SDLKey sym, SDLMod mod) throw (int); ^~~~~ gui.h:231:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void action(SDLKey sym, SDLMod mod) throw(int) ^~~~~ In file included from game_client.h:48:0, from gui_screens.h:30, from gui_screens.cpp:21: client_net.h:38:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *recv() throw (string &) = 0; ^~~~~ client_net.h:39:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send(msg * m) throw (string &) = 0; ^~~~~ client_net.h:40:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() throw (string &) = 0; ^~~~~ game_server.cpp: In member function 'void game_server::data_transfer()': game_server.cpp:707:11: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete m; ^ client_net.h:47:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] client_tcpnet(IPaddress *serv_ip) throw (string &); ^~~~~ client_net.h:50:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *recv() throw (string &); ^~~~~ client_net.h:51:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send(msg * m) throw (string &); ^~~~~ client_net.h:52:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() throw (string &); ^~~~~ game_server.cpp:806:14: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete sm; ^~ game_server.cpp: In static member function 'static int game_server::connection_accepter(void*)': game_server.cpp:881:19: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] if (m) {delete m; m=0; } ^ client_net.h:78:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *recv() throw (string &); ^~~~~ client_net.h:79:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send(msg * m) throw (string &); ^~~~~ client_net.h:80:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() throw (string &); ^~~~~ In file included from gui_screens.h:30:0, from gui_screens.cpp:21: game_client.h:107:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect() throw (string &); ^~~~~ game_client.h:109:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void connect_local(monitor_queue **in, monitor_queue ** out) throw (string &); ^~~~~ game_client.h:242:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_inactive() throw (exception); ^~~~~ game_client.h:246:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_character_select() throw (exception); ^~~~~ game_client.h:250:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_castle_select() throw (exception); ^~~~~ game_client.h:254:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_shooting() throw (exception); ^~~~~ game_client.h:258:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_place_cannons() throw (exception); ^~~~~ game_client.h:262:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_repair() throw (exception); ^~~~~ game_client.h:267:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool mode_endround() throw (exception); ^~~~~ game_client.h:271:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void mode_endgame() throw (exception); ^~~~~ game_client.h:300:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void handle_player_disconnect(int index) throw (last_player_exception); ^~~~~ In file included from gui_screens.h:31:0, from gui_screens.cpp:21: game_server.h:46:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] game_server(IPaddress _ip, int num_castles, int _wins) throw (string &); ^~~~~ gui_screens.cpp:23:1: warning: 'typedef' was ignored in this declaration typedef struct server_numpl { ^~~~~~~ c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o mosaic.o mosaic.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o interpolation.o interpolation.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o connects.o connects.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o player.o player.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o client_net.o client_net.cpp c++ `sdl-config --cflags` -Wall -O -D MEDIA_PATH=\"/usr/pkg/share/kajaani-kombat/\" -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/X11R7/include/freetype2 -c -o config.o config.cpp In file included from terrain.h:34:0, from msg.h:25, from connects.h:10, from connects.cpp:1: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from connects.h:10:0, from connects.cpp:1: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from connects.cpp:1:0: connects.h:19:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() const throw (string &) = 0; ^~~~~ connects.h:20:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *receive() throw (string &) = 0; ^~~~~ connects.h:21:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send (msg *m) throw (string &) = 0; ^~~~~ connects.h:39:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects(TCPsocket s) throw (string &); ^~~~~ connects.h:43:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:44:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:45:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.h:55:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects(monitor_queue *in, monitor_queue *out) throw (string &); ^~~~~ connects.h:58:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:59:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:60:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.cpp:61:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects::tcp_connects(TCPsocket s) throw (string &) ^~~~~ connects.cpp:87:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void tcp_connects::send (msg *m) throw (string &) ^~~~~ connects.cpp:92:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool tcp_connects::has_msgs() const throw (string &) ^~~~~ connects.cpp:103:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *tcp_connects::receive() throw (string &) ^~~~~ connects.cpp:111:87: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects::local_connects(monitor_queue *_in, monitor_queue *_out) throw (string &) ^~~~~ connects.cpp:117:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void local_connects::send(msg *m) throw (string &) ^~~~~ connects.cpp:122:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool local_connects::has_msgs() const throw (string &) ^~~~~ connects.cpp:127:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *local_connects::receive() throw (string &) ^~~~~ In file included from terrain.h:34:0, from msg.h:25, from connects.h:10, from player.h:27, from player.cpp:1: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from connects.h:10:0, from player.h:27, from player.cpp:1: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from player.h:27:0, from player.cpp:1: connects.h:19:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() const throw (string &) = 0; ^~~~~ connects.h:20:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *receive() throw (string &) = 0; ^~~~~ connects.h:21:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send (msg *m) throw (string &) = 0; ^~~~~ connects.h:39:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] tcp_connects(TCPsocket s) throw (string &); ^~~~~ connects.h:43:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:44:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:45:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ connects.h:55:71: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] local_connects(monitor_queue *in, monitor_queue *out) throw (string &); ^~~~~ connects.h:58:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (msg *m) throw (string &); ^~~~~ connects.h:59:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() const throw (string &); ^~~~~ connects.h:60:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg* receive() throw (string &); ^~~~~ In file included from terrain.h:34:0, from msg.h:25, from client_net.h:29, from client_net.cpp:21: block.h:39:3: warning: 'typedef' was ignored in this declaration typedef enum block_type { ^~~~~~~ In file included from config.cpp:21:0: config.h:60:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] string& get_name( int player ) throw ( string ) { ^~~~~ config.h:80:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const char *key_to_str( int key ) throw ( int ); ^~~~~ config.h:107:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_config( string& fn ) throw ( string ); ^~~~~ config.h:108:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_config( string& fn ) throw ( string ); ^~~~~ config.h:111:79: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_string( FILE *fp, const char *key, const char *value ) throw ( string ); ^~~~~ config.h:112:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_int( FILE *fp, const char *key, int value ) throw ( string ); ^~~~~ config.cpp:143:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void file_config::read_config( string& fn ) throw ( string ) ^~~~~ config.cpp:245:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void file_config::write_config( string& fn ) throw ( string ) { ^~~~~ config.cpp:282:80: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void file_config::write_string( FILE *fp, const char *key, const char *value ) throw ( string ) { ^~~~~ config.cpp:289:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void file_config::write_int( FILE *fp, const char *key, int value ) throw ( string ) { ^~~~~ config.cpp:576:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] const char *config::key_to_str( int key ) throw ( int ) { ^~~~~ In file included from client_net.h:29:0, from client_net.cpp:21: msg.h:50:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send (const TCPsocket sock) const throw (string); ^~~~~ msg.h:53:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static msg* recv (TCPsocket sock) throw (string); ^~~~~ msg.h:61:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void write_msgdata(TCPsocket sock) const throw (string) = 0; ^~~~~ msg.h:62:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void read_msgdata(TCPsocket sock) throw (string) = 0; ^~~~~ msg.h:65:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_uint(TCPsocket sock, Uint32 d) throw (string); ^~~~~ msg.h:66:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static Uint32 read_uint(TCPsocket sock) throw (string); ^~~~~ msg.h:68:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_string(TCPsocket sock, const string &s) throw (string); ^~~~~ msg.h:69:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static string read_string(TCPsocket sock) throw (string); ^~~~~ msg.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void write_coord(TCPsocket sock, const coord &c) throw (string); ^~~~~ msg.h:72:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static coord read_coord(TCPsocket sock) throw (string); ^~~~~ msg.h:86:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:87:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:103:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ; ^~~~~ msg.h:104:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:122:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:124:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:139:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:141:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:156:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:158:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:172:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:174:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:188:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:190:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:204:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:206:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:220:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:222:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:236:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:238:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:252:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string) ^~~~~ msg.h:254:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string) ^~~~~ msg.h:270:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:271:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:289:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:290:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:309:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:310:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:331:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:332:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:353:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:354:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:375:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:376:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:397:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:398:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:419:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:420:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:439:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:440:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:460:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:461:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:484:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:485:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:504:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:505:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:526:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:527:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:548:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:549:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:568:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:569:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:591:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:592:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:618:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:619:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:644:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:645:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ msg.h:661:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void write_msgdata(TCPsocket sock) const throw (string); ^~~~~ msg.h:662:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void read_msgdata(TCPsocket sock) throw (string); ^~~~~ In file included from client_net.cpp:21:0: client_net.h:38:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual msg *recv() throw (string &) = 0; ^~~~~ client_net.h:39:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual void send(msg * m) throw (string &) = 0; ^~~~~ client_net.h:40:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] virtual bool has_msgs() throw (string &) = 0; ^~~~~ client_net.h:47:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] client_tcpnet(IPaddress *serv_ip) throw (string &); ^~~~~ client_net.h:50:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *recv() throw (string &); ^~~~~ client_net.h:51:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send(msg * m) throw (string &); ^~~~~ client_net.h:52:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() throw (string &); ^~~~~ client_net.h:78:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg *recv() throw (string &); ^~~~~ client_net.h:79:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void send(msg * m) throw (string &); ^~~~~ client_net.h:80:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool has_msgs() throw (string &); ^~~~~ client_net.cpp:23:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] client_tcpnet::client_tcpnet(IPaddress *server_ip) throw(string &) ^~~~~ client_net.cpp:80:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg * client_tcpnet::recv() throw (string &) ^~~~~ client_net.cpp:88:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void client_tcpnet::send(msg *m) throw (string &) ^~~~~ client_net.cpp:100:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool client_tcpnet::has_msgs() throw (string &) ^~~~~ client_net.cpp:106:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] msg * client_localnet::recv() throw (string &) ^~~~~ client_net.cpp:111:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void client_localnet::send(msg * m) throw (string &) ^~~~~ client_net.cpp:116:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool client_localnet::has_msgs() throw (string &) ^~~~~ client_net.cpp: In static member function 'static int client_tcpnet::transf_func(void*)': client_net.cpp:171:22: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] if (m) delete m; ^ client_net.cpp:177:18: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] if (m) delete m; ^ client_net.cpp: In static member function 'static int client_tcpnet::input_func(void*)': client_net.cpp:200:22: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] if (m) delete m; ^ client_net.cpp:205:18: warning: deleting object of abstract class type 'msg' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] if (m) delete m; ^ c++ game_obj.o terrain.o msg.o rotozoom.o gfx.o game_client.o main.o coord.o block.o particle_efects.o animation.o gfx_functions.o gui.o gui_screens.o game_server.o audio.o game_statistic.o mosaic.o interpolation.o connects.o player.o client_net.o config.o -o kajaani-kombat `sdl-config --libs` -lSDL_net -lSDL_image -lSDL_ttf -lSDL_mixer