/home/debian/widelands/src/minizip/unzip.cc:1303:12: warning: unused variable 'zip_copyright' [-Wunused-const-variable] const char zip_copyright[] = ^ 1 warning generated. /home/debian/widelands/src/game_io/game_preload_data_packet.cc:133:64: warning: unused variable 'player_tmp' [-Wunused-variable] iterate_players_existing_const(p, map.get_nrplayers(), game, player_tmp) { ^ /home/debian/widelands/src/logic/editor_game_base.h:235:43: note: expanded from macro 'iterate_players_existing_const' if (Widelands::Player const * const player = (egbase).get_player(p)) \ ^ 1 warning generated. /home/debian/widelands/src/graphic/animation.cc:276:40: warning: format string is not a string literal [-Wformat-nonliteral] snprintf(sectname, sizeof(sectname), sectnamebase, dirstrings[dir]); ^~~~~~~~~~~~ /home/debian/widelands/src/graphic/animation.cc:290:40: warning: format string is not a string literal [-Wformat-nonliteral] snprintf(sectname, sizeof(sectname), dirpictempl, dirstrings[dir]); ^~~~~~~~~~~ 2 warnings generated. In file included from /home/debian/widelands/src/economy/portdock.cc:29: /home/debian/widelands/src/logic/expedition_bootstrap.h:35:1: warning: class 'Map_Map_Object_Loader' was previously declared as a struct [-Wmismatched-tags] class Map_Map_Object_Loader; ^ /home/debian/widelands/src/economy/wares_queue.h:31:8: note: previous use is here struct Map_Map_Object_Loader; ^ In file included from /home/debian/widelands/src/economy/portdock.cc:29: /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: warning: class 'PortDock' was previously declared as a struct [-Wmismatched-tags] class PortDock; ^ /home/debian/widelands/src/economy/portdock.h:61:8: note: previous use is here struct PortDock : PlayerImmovable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: note: did you mean struct here? class PortDock; ^~~~~ struct /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: warning: class 'Request' was previously declared as a struct [-Wmismatched-tags] class Request; ^ /home/debian/widelands/src/economy/wares_queue.h:34:8: note: previous use is here struct Request; ^ In file included from /home/debian/widelands/src/economy/portdock.cc:29: /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: warning: class 'WaresQueue' was previously declared as a struct [-Wmismatched-tags] class WaresQueue; ^ /home/debian/widelands/src/economy/wares_queue.h:41:8: note: previous use is here struct WaresQueue { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: note: did you mean struct here? class WaresQueue; ^~~~~ struct In file included from /home/debian/widelands/src/economy/portdock.cc:32: In file included from /home/debian/widelands/src/logic/player.h:30: In file included from /home/debian/widelands/src/logic/tribe.h:34: In file included from /home/debian/widelands/src/logic/military_data.h:34: In file included from /home/debian/widelands/src/logic/worker.h:23: In file included from /home/debian/widelands/src/economy/idleworkersupply.h:23: /home/debian/widelands/src/economy/supply.h:30:1: warning: struct 'Request' was previously declared as a class [-Wmismatched-tags] struct Request; ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:37:7: note: previous use is here class Request; ^ In file included from /home/debian/widelands/src/economy/portdock.cc:32: In file included from /home/debian/widelands/src/logic/player.h:31: In file included from /home/debian/widelands/src/logic/warehouse.h:23: In file included from /home/debian/widelands/src/economy/request.h:23: /home/debian/widelands/src/logic/requirements.h:37:1: warning: struct 'Map_Map_Object_Loader' was previously declared as a class [-Wmismatched-tags] struct Map_Map_Object_Loader; ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:35:7: note: previous use is here class Map_Map_Object_Loader; ^ In file included from /home/debian/widelands/src/economy/portdock.cc:32: In file included from /home/debian/widelands/src/logic/player.h:31: In file included from /home/debian/widelands/src/logic/warehouse.h:23: /home/debian/widelands/src/economy/request.h:60:1: warning: 'Request' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct Request : public Trackable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: note: did you mean struct here? class Request; ^~~~~ struct In file included from /home/debian/widelands/src/economy/portdock.cc:35: /home/debian/widelands/src/map_io/widelands_map_map_object_loader.h:44:1: warning: 'Map_Map_Object_Loader' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct Map_Map_Object_Loader { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:35:1: note: did you mean struct here? class Map_Map_Object_Loader; ^~~~~ struct 8 warnings generated. In file included from /home/debian/widelands/src/map_io/widelands_map_buildingdata_data_packet.cc:34: /home/debian/widelands/src/logic/expedition_bootstrap.h:35:1: warning: class 'Map_Map_Object_Loader' was previously declared as a struct [-Wmismatched-tags] class Map_Map_Object_Loader; ^ /home/debian/widelands/src/economy/transfer.h:30:8: note: previous use is here struct Map_Map_Object_Loader; ^ In file included from /home/debian/widelands/src/map_io/widelands_map_buildingdata_data_packet.cc:34: /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: warning: class 'PortDock' was previously declared as a struct [-Wmismatched-tags] class PortDock; ^ /home/debian/widelands/src/economy/portdock.h:61:8: note: previous use is here struct PortDock : PlayerImmovable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: note: did you mean struct here? class PortDock; ^~~~~ struct /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: warning: class 'Request' was previously declared as a struct [-Wmismatched-tags] class Request; ^ /home/debian/widelands/src/economy/request.h:60:8: note: previous use is here struct Request : public Trackable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: note: did you mean struct here? class Request; ^~~~~ struct /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: warning: class 'WaresQueue' was previously declared as a struct [-Wmismatched-tags] class WaresQueue; ^ /home/debian/widelands/src/economy/wares_queue.h:41:8: note: previous use is here struct WaresQueue { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: note: did you mean struct here? class WaresQueue; ^~~~~ struct In file included from /home/debian/widelands/src/map_io/widelands_map_buildingdata_data_packet.cc:48: /home/debian/widelands/src/map_io/widelands_map_map_object_loader.h:44:1: warning: 'Map_Map_Object_Loader' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct Map_Map_Object_Loader { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:35:1: note: did you mean struct here? class Map_Map_Object_Loader; ^~~~~ struct 5 warnings generated. /home/debian/widelands/src/minizip/unzip.cc:1303:12: warning: unused variable 'zip_copyright' [-Wunused-const-variable] const char zip_copyright[] = ^ 1 warning generated. In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:20: /home/debian/widelands/src/logic/expedition_bootstrap.h:35:1: warning: class 'Map_Map_Object_Loader' was previously declared as a struct [-Wmismatched-tags] class Map_Map_Object_Loader; ^ /home/debian/widelands/src/economy/wares_queue.h:31:8: note: previous use is here struct Map_Map_Object_Loader; ^ In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:20: /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: warning: class 'Request' was previously declared as a struct [-Wmismatched-tags] class Request; ^ /home/debian/widelands/src/economy/wares_queue.h:34:8: note: previous use is here struct Request; ^ In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:20: /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: warning: class 'WaresQueue' was previously declared as a struct [-Wmismatched-tags] class WaresQueue; ^ /home/debian/widelands/src/economy/wares_queue.h:41:8: note: previous use is here struct WaresQueue { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: note: did you mean struct here? class WaresQueue; ^~~~~ struct In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:24: In file included from /home/debian/widelands/src/economy/portdock.h:25: In file included from /home/debian/widelands/src/economy/shippingitem.h:23: In file included from /home/debian/widelands/src/logic/game.h:24: In file included from /home/debian/widelands/src/logic/editor_game_base.h:29: In file included from /home/debian/widelands/src/logic/bob.h:23: /home/debian/widelands/src/economy/route.h:34:1: warning: struct 'Map_Map_Object_Loader' was previously declared as a class [-Wmismatched-tags] struct Map_Map_Object_Loader; ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:35:7: note: previous use is here class Map_Map_Object_Loader; ^ In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:24: In file included from /home/debian/widelands/src/economy/portdock.h:25: In file included from /home/debian/widelands/src/economy/shippingitem.h:23: In file included from /home/debian/widelands/src/logic/game.h:24: In file included from /home/debian/widelands/src/logic/editor_game_base.h:29: In file included from /home/debian/widelands/src/logic/bob.h:23: /home/debian/widelands/src/economy/route.h:43:9: warning: struct 'Request' was previously declared as a class [-Wmismatched-tags] friend struct Request; ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:37:7: note: previous use is here class Request; ^ In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:24: In file included from /home/debian/widelands/src/economy/portdock.h:25: /home/debian/widelands/src/economy/shippingitem.h:35:1: warning: struct 'PortDock' was previously declared as a class [-Wmismatched-tags] struct PortDock; ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:36:7: note: previous use is here class PortDock; ^ In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:24: /home/debian/widelands/src/economy/portdock.h:61:1: warning: 'PortDock' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct PortDock : PlayerImmovable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: note: did you mean struct here? class PortDock; ^~~~~ struct In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:25: In file included from /home/debian/widelands/src/logic/player.h:30: In file included from /home/debian/widelands/src/logic/tribe.h:34: In file included from /home/debian/widelands/src/logic/military_data.h:34: In file included from /home/debian/widelands/src/logic/worker.h:23: In file included from /home/debian/widelands/src/economy/idleworkersupply.h:23: /home/debian/widelands/src/economy/supply.h:30:1: warning: struct 'Request' was previously declared as a class [-Wmismatched-tags] struct Request; ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:37:7: note: previous use is here class Request; ^ In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:25: In file included from /home/debian/widelands/src/logic/player.h:31: In file included from /home/debian/widelands/src/logic/warehouse.h:23: /home/debian/widelands/src/economy/request.h:60:1: warning: 'Request' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct Request : public Trackable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: note: did you mean struct here? class Request; ^~~~~ struct In file included from /home/debian/widelands/src/logic/expedition_bootstrap.cc:27: /home/debian/widelands/src/map_io/widelands_map_map_object_loader.h:44:1: warning: 'Map_Map_Object_Loader' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct Map_Map_Object_Loader { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:35:1: note: did you mean struct here? class Map_Map_Object_Loader; ^~~~~ struct 10 warnings generated. In file included from /home/debian/widelands/src/logic/warehouse.cc:36: /home/debian/widelands/src/logic/expedition_bootstrap.h:35:1: warning: class 'Map_Map_Object_Loader' was previously declared as a struct [-Wmismatched-tags] class Map_Map_Object_Loader; ^ /home/debian/widelands/src/economy/wares_queue.h:31:8: note: previous use is here struct Map_Map_Object_Loader; ^ In file included from /home/debian/widelands/src/logic/warehouse.cc:36: /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: warning: class 'PortDock' was previously declared as a struct [-Wmismatched-tags] class PortDock; ^ /home/debian/widelands/src/economy/portdock.h:61:8: note: previous use is here struct PortDock : PlayerImmovable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: note: did you mean struct here? class PortDock; ^~~~~ struct /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: warning: class 'Request' was previously declared as a struct [-Wmismatched-tags] class Request; ^ /home/debian/widelands/src/economy/request.h:60:8: note: previous use is here struct Request : public Trackable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: note: did you mean struct here? class Request; ^~~~~ struct /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: warning: class 'WaresQueue' was previously declared as a struct [-Wmismatched-tags] class WaresQueue; ^ /home/debian/widelands/src/economy/wares_queue.h:41:8: note: previous use is here struct WaresQueue { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: note: did you mean struct here? class WaresQueue; ^~~~~ struct 4 warnings generated. In file included from /home/debian/widelands/src/wui/portdockwaresdisplay.cc:26: /home/debian/widelands/src/logic/expedition_bootstrap.h:35:1: warning: class 'Map_Map_Object_Loader' was previously declared as a struct [-Wmismatched-tags] class Map_Map_Object_Loader; ^ /home/debian/widelands/src/economy/wares_queue.h:31:8: note: previous use is here struct Map_Map_Object_Loader; ^ In file included from /home/debian/widelands/src/wui/portdockwaresdisplay.cc:26: /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: warning: class 'PortDock' was previously declared as a struct [-Wmismatched-tags] class PortDock; ^ /home/debian/widelands/src/economy/portdock.h:61:8: note: previous use is here struct PortDock : PlayerImmovable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:36:1: note: did you mean struct here? class PortDock; ^~~~~ struct /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: warning: class 'Request' was previously declared as a struct [-Wmismatched-tags] class Request; ^ /home/debian/widelands/src/economy/wares_queue.h:34:8: note: previous use is here struct Request; ^ In file included from /home/debian/widelands/src/wui/portdockwaresdisplay.cc:26: /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: warning: class 'WaresQueue' was previously declared as a struct [-Wmismatched-tags] class WaresQueue; ^ /home/debian/widelands/src/economy/wares_queue.h:41:8: note: previous use is here struct WaresQueue { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:40:1: note: did you mean struct here? class WaresQueue; ^~~~~ struct In file included from /home/debian/widelands/src/wui/portdockwaresdisplay.cc:27: In file included from /home/debian/widelands/src/logic/player.h:31: In file included from /home/debian/widelands/src/logic/warehouse.h:23: In file included from /home/debian/widelands/src/economy/request.h:23: /home/debian/widelands/src/logic/requirements.h:37:1: warning: struct 'Map_Map_Object_Loader' was previously declared as a class [-Wmismatched-tags] struct Map_Map_Object_Loader; ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:35:7: note: previous use is here class Map_Map_Object_Loader; ^ In file included from /home/debian/widelands/src/wui/portdockwaresdisplay.cc:27: In file included from /home/debian/widelands/src/logic/player.h:31: In file included from /home/debian/widelands/src/logic/warehouse.h:23: /home/debian/widelands/src/economy/request.h:60:1: warning: 'Request' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct Request : public Trackable { ^ /home/debian/widelands/src/logic/expedition_bootstrap.h:37:1: note: did you mean struct here? class Request; ^~~~~ struct 6 warnings generated. /home/debian/widelands/src/ui_basic/progresswindow.cc:165:36: warning: format string is not a string literal [-Wformat-nonliteral] vsnprintf(buffer, sizeof(buffer), format, va); ^~~~~~ 1 warning generated.