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