C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:41:14: warning: 'CGameState* CPrivilagedInfoCallback::gameState()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGameState * CPrivilagedInfoCallback::gameState () ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:46:13: warning: 'PlayerColor CGameInfoCallback::getOwner(ObjectInstanceID) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] PlayerColor CGameInfoCallback::getOwner(ObjectInstanceID heroID) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:53:5: warning: 'int CGameInfoCallback::getResource(PlayerColor, Res::ERes) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameInfoCallback::getResource(PlayerColor Player, Res::ERes which) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:61:23: warning: 'const CGHeroInstance* CGameInfoCallback::getSelectedHero(PlayerColor) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGHeroInstance* CGameInfoCallback::getSelectedHero( PlayerColor Player ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:68:23: warning: 'const CGHeroInstance* CGameInfoCallback::getSelectedHero() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGHeroInstance* CGameInfoCallback::getSelectedHero() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:73:24: warning: 'const PlayerSettings* CGameInfoCallback::getPlayerSettings(PlayerColor) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const PlayerSettings * CGameInfoCallback::getPlayerSettings(PlayerColor color) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:78:6: warning: 'void CPrivilagedInfoCallback::getTilesInRange(std::unordered_set&, int3, int, boost::optional, int) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CPrivilagedInfoCallback::getTilesInRange( std::unordered_set &tiles, int3 pos, int radious, boost::optional player/*=uninit*/, int mode/*=0*/ ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:108:6: warning: 'void CPrivilagedInfoCallback::getAllTiles(std::unordered_set&, boost::optional, int, int) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CPrivilagedInfoCallback::getAllTiles (std::unordered_set &tiles, boost::optional Player/*=uninit*/, int level, int surface ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:144:6: warning: 'void CPrivilagedInfoCallback::getFreeTiles(std::vector&) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CPrivilagedInfoCallback::getFreeTiles (std::vector &tiles) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:167:6: warning: 'bool CGameInfoCallback::isAllowed(int, int)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameInfoCallback::isAllowed( int type, int id ) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:182:6: warning: 'void CPrivilagedInfoCallback::pickAllowedArtsSet(std::vector&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CPrivilagedInfoCallback::pickAllowedArtsSet(std::vector &out) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:192:12: warning: 'ArtifactID CPrivilagedInfoCallback::getRandomArt(int)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] ArtifactID CPrivilagedInfoCallback::getRandomArt (int flags) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:197:12: warning: 'ArtifactID CPrivilagedInfoCallback::getArtSync(ui32, int, bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] ArtifactID CPrivilagedInfoCallback::getArtSync (ui32 rand, int flags, bool erasePicked) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:202:6: warning: 'void CPrivilagedInfoCallback::getAllowedSpells(std::vector&, ui16)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CPrivilagedInfoCallback::getAllowedSpells(std::vector &out, ui16 level) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:257:15: warning: 'TerrainTile* CNonConstInfoCallback::getTile(int3)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] TerrainTile * CNonConstInfoCallback::getTile( int3 pos ) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:264:21: warning: 'const PlayerState* CGameInfoCallback::getPlayer(PlayerColor, bool) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const PlayerState * CGameInfoCallback::getPlayer(PlayerColor color, bool verbose) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:271:15: warning: 'const CTown* CGameInfoCallback::getNativeTown(PlayerColor) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CTown * CGameInfoCallback::getNativeTown(PlayerColor color) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:278:26: warning: 'const CGObjectInstance* CGameInfoCallback::getObjByQuestIdentifier(int) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGObjectInstance * CGameInfoCallback::getObjByQuestIdentifier(int identifier) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:288:25: warning: 'const CGObjectInstance* CGameInfoCallback::getObj(ObjectInstanceID, bool) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const CGObjectInstance* CGameInfoCallback::getObj(ObjectInstanceID objid, bool verbose) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:316:23: warning: 'const CGHeroInstance* CGameInfoCallback::getHero(ObjectInstanceID) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const CGHeroInstance* CGameInfoCallback::getHero(ObjectInstanceID objid) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:324:23: warning: 'const CGTownInstance* CGameInfoCallback::getTown(ObjectInstanceID) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGTownInstance* CGameInfoCallback::getTown(ObjectInstanceID objid) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:333:6: warning: 'void CGameInfoCallback::getUpgradeInfo(const CArmedInstance*, SlotID, UpgradeInfo&) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CGameInfoCallback::getUpgradeInfo(const CArmedInstance *obj, SlotID stackPos, UpgradeInfo &out) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:342:19: warning: 'const StartInfo* CGameInfoCallback::getStartInfo(bool) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const StartInfo * CGameInfoCallback::getStartInfo(bool beforeRandomization /*= false*/) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:351:5: warning: 'int CGameInfoCallback::getSpellCost(const CSpell*, const CGHeroInstance*) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameInfoCallback::getSpellCost(const CSpell * sp, const CGHeroInstance * caster) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:363:5: warning: 'int CGameInfoCallback::estimateSpellDamage(const CSpell*, const CGHeroInstance*) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameInfoCallback::estimateSpellDamage(const CSpell * sp, const CGHeroInstance * hero) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:383:6: warning: 'void CGameInfoCallback::getThievesGuildInfo(SThievesGuildInfo&, const CGObjectInstance*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CGameInfoCallback::getThievesGuildInfo(SThievesGuildInfo & thi, const CGObjectInstance * obj) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:400:5: warning: 'int CGameInfoCallback::howManyTowns(PlayerColor) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameInfoCallback::howManyTowns(PlayerColor Player) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:406:6: warning: 'virtual bool CGameInfoCallback::getTownInfo(const CGObjectInstance*, InfoAboutTown&) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameInfoCallback::getTownInfo( const CGObjectInstance *town, InfoAboutTown &dest ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:421:6: warning: 'int3 CGameInfoCallback::guardingCreaturePosition(int3) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int3 CGameInfoCallback::guardingCreaturePosition (int3 pos) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:427:38: warning: 'std::vector CGameInfoCallback::getGuardingCreatures(int3) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector CGameInfoCallback::getGuardingCreatures (int3 pos) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:438:6: warning: 'bool CGameInfoCallback::getHeroInfo(const CGObjectInstance*, InfoAboutHero&) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameInfoCallback::getHeroInfo( const CGObjectInstance *hero, InfoAboutHero &dest ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:450:5: warning: 'int CGameInfoCallback::getDate(Date::EDateType) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameInfoCallback::getDate(Date::EDateType mode) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:455:29: warning: 'std::vector > CGameInfoCallback::getObjDescriptions(int3) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector < std::string > CGameInfoCallback::getObjDescriptions(int3 pos) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:468:6: warning: 'bool CGameInfoCallback::isVisible(int3, boost::optional) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameInfoCallback::isVisible(int3 pos, boost::optional Player) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:474:6: warning: 'bool CGameInfoCallback::isVisible(int3) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] bool CGameInfoCallback::isVisible(int3 pos) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:479:6: warning: 'bool CGameInfoCallback::isVisible(const CGObjectInstance*, boost::optional) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] bool CGameInfoCallback::isVisible( const CGObjectInstance *obj, boost::optional Player ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:484:6: warning: 'bool CGameInfoCallback::isVisible(const CGObjectInstance*) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameInfoCallback::isVisible(const CGObjectInstance *obj) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:499:42: warning: 'std::vector CGameInfoCallback::getBlockingObjs(int3) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector < const CGObjectInstance * > CGameInfoCallback::getBlockingObjs( int3 pos ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:510:41: warning: 'std::vector CGameInfoCallback::getVisitableObjs(int3, bool) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector CGameInfoCallback::getVisitableObjs(int3 pos, bool verbose /*= true*/) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:525:42: warning: 'std::vector CGameInfoCallback::getFlaggableObjects(int3) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector < const CGObjectInstance * > CGameInfoCallback::getFlaggableObjects(int3 pos) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:542:6: warning: 'int3 CGameInfoCallback::getMapSize() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int3 CGameInfoCallback::getMapSize() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:547:37: warning: 'std::vector CGameInfoCallback::getAvailableHeroes(const CGObjectInstance*) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector CGameInfoCallback::getAvailableHeroes(const CGObjectInstance * townOrTavern) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:558:21: warning: 'const TerrainTile* CGameInfoCallback::getTile(int3, bool) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const TerrainTile * CGameInfoCallback::getTile( int3 tile, bool verbose) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:566:32: warning: 'EBuildingState::EBuildingState CGameInfoCallback::canBuildStructure(const CGTownInstance*, BuildingID)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] EBuildingState::EBuildingState CGameInfoCallback::canBuildStructure( const CGTownInstance *t, BuildingID ID ) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:626:20: warning: 'const CMapHeader* CGameInfoCallback::getMapHeader() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CMapHeader * CGameInfoCallback::getMapHeader() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:631:6: warning: 'bool CGameInfoCallback::hasAccess(boost::optional) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] bool CGameInfoCallback::hasAccess(boost::optional playerId) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:636:24: warning: 'EPlayerStatus::EStatus CGameInfoCallback::getPlayerStatus(PlayerColor) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] EPlayerStatus::EStatus CGameInfoCallback::getPlayerStatus(PlayerColor player) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:644:13: warning: 'std::string CGameInfoCallback::getTavernGossip(const CGObjectInstance*) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::string CGameInfoCallback::getTavernGossip(const CGObjectInstance * townOrTavern) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:649:34: warning: 'PlayerRelations::PlayerRelations CGameInfoCallback::getPlayerRelations(PlayerColor, PlayerColor) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] PlayerRelations::PlayerRelations CGameInfoCallback::getPlayerRelations( PlayerColor color1, PlayerColor color2 ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:654:6: warning: 'bool CGameInfoCallback::canGetFullInfo(const CGObjectInstance*) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] bool CGameInfoCallback::canGetFullInfo(const CGObjectInstance *obj) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:659:5: warning: 'int CGameInfoCallback::getHeroCount(PlayerColor, bool) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameInfoCallback::getHeroCount( PlayerColor player, bool includeGarrisoned ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:674:6: warning: 'bool CGameInfoCallback::isOwnedOrVisited(const CGObjectInstance*) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameInfoCallback::isOwnedOrVisited(const CGObjectInstance *obj) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:684:13: warning: 'PlayerColor CGameInfoCallback::getCurrentPlayer() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] PlayerColor CGameInfoCallback::getCurrentPlayer() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:689:1: warning: 'CGameInfoCallback::CGameInfoCallback()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGameInfoCallback::CGameInfoCallback() ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:693:1: warning: 'CGameInfoCallback::CGameInfoCallback(CGameState*, boost::optional)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGameInfoCallback::CGameInfoCallback(CGameState *GS, boost::optional Player) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:699:56: warning: 'const std::vector > >& CPlayerSpecificInfoCallback::getVisibilityMap() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const std::vector< std::vector< std::vector > > & CPlayerSpecificInfoCallback::getVisibilityMap() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:705:5: warning: 'int CPlayerSpecificInfoCallback::howManyTowns() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CPlayerSpecificInfoCallback::howManyTowns() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:712:39: warning: 'std::vector CPlayerSpecificInfoCallback::getTownsInfo(bool) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector < const CGTownInstance *> CPlayerSpecificInfoCallback::getTownsInfo(bool onlyOur) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:728:39: warning: 'std::vector CPlayerSpecificInfoCallback::getHeroesInfo(bool) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector < const CGHeroInstance *> CPlayerSpecificInfoCallback::getHeroesInfo(bool onlyOur) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:743:30: warning: 'boost::optional CPlayerSpecificInfoCallback::getMyColor() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] boost::optional CPlayerSpecificInfoCallback::getMyColor() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:748:5: warning: 'int CPlayerSpecificInfoCallback::getHeroSerial(const CGHeroInstance*, bool) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CPlayerSpecificInfoCallback::getHeroSerial(const CGHeroInstance * hero, bool includeGarrisoned) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:767:6: warning: 'int3 CPlayerSpecificInfoCallback::getGrailPos(double&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int3 CPlayerSpecificInfoCallback::getGrailPos( double &outKnownRatio ) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:780:42: warning: 'std::vector CPlayerSpecificInfoCallback::getMyObjects() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector < const CGObjectInstance * > CPlayerSpecificInfoCallback::getMyObjects() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:791:36: warning: 'std::vector CPlayerSpecificInfoCallback::getMyDwellings() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector < const CGDwelling * > CPlayerSpecificInfoCallback::getMyDwellings() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:802:25: warning: 'std::vector CPlayerSpecificInfoCallback::getMyQuests() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector CPlayerSpecificInfoCallback::getMyQuests() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:812:5: warning: 'int CPlayerSpecificInfoCallback::howManyHeroes(bool) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CPlayerSpecificInfoCallback::howManyHeroes(bool includeGarrisoned) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:819:23: warning: 'const CGHeroInstance* CPlayerSpecificInfoCallback::getHeroBySerial(int, bool) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGHeroInstance* CPlayerSpecificInfoCallback::getHeroBySerial(int serialId, bool includeGarrisoned) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:835:23: warning: 'const CGTownInstance* CPlayerSpecificInfoCallback::getTownBySerial(int) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGTownInstance* CPlayerSpecificInfoCallback::getTownBySerial(int serialId) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:844:5: warning: 'int CPlayerSpecificInfoCallback::getResourceAmount(Res::ERes) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CPlayerSpecificInfoCallback::getResourceAmount(Res::ERes type) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:851:12: warning: 'TResources CPlayerSpecificInfoCallback::getResourceAmount() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] TResources CPlayerSpecificInfoCallback::getResourceAmount() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:858:17: warning: 'CGHeroInstance* CNonConstInfoCallback::getHero(ObjectInstanceID)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGHeroInstance *CNonConstInfoCallback::getHero(ObjectInstanceID objid) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:863:17: warning: 'CGTownInstance* CNonConstInfoCallback::getTown(ObjectInstanceID)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGTownInstance *CNonConstInfoCallback::getTown(ObjectInstanceID objid) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:868:12: warning: 'TeamState* CNonConstInfoCallback::getTeam(TeamID)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] TeamState *CNonConstInfoCallback::getTeam(TeamID teamID) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:873:12: warning: 'TeamState* CNonConstInfoCallback::getPlayerTeam(PlayerColor)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] TeamState *CNonConstInfoCallback::getPlayerTeam(PlayerColor color) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:878:15: warning: 'PlayerState* CNonConstInfoCallback::getPlayer(PlayerColor, bool)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] PlayerState * CNonConstInfoCallback::getPlayer( PlayerColor color, bool verbose ) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:883:21: warning: 'CArtifactInstance* CNonConstInfoCallback::getArtInstance(ArtifactInstanceID)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CArtifactInstance * CNonConstInfoCallback::getArtInstance( ArtifactInstanceID aid ) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:888:20: warning: 'CGObjectInstance* CNonConstInfoCallback::getObjInstance(ObjectInstanceID)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGObjectInstance * CNonConstInfoCallback::getObjInstance( ObjectInstanceID oid ) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:893:19: warning: 'const TeamState* CGameInfoCallback::getTeam(TeamID) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const TeamState * CGameInfoCallback::getTeam( TeamID teamID ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:901:19: warning: 'const TeamState* CGameInfoCallback::getPlayerTeam(PlayerColor) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const TeamState * CGameInfoCallback::getPlayerTeam( PlayerColor color ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:909:23: warning: 'const CGHeroInstance* CGameInfoCallback::getHeroWithSubid(int) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGHeroInstance* CGameInfoCallback::getHeroWithSubid( int subid ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:918:13: warning: 'virtual PlayerColor CGameInfoCallback::getLocalPlayer() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] PlayerColor CGameInfoCallback::getLocalPlayer() const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:923:6: warning: 'bool CGameInfoCallback::isInTheMap(const int3&) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameInfoCallback::isInTheMap(const int3 &pos) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:928:27: warning: 'const CArtifactInstance* CGameInfoCallback::getArtInstance(ArtifactInstanceID) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CArtifactInstance * CGameInfoCallback::getArtInstance( ArtifactInstanceID aid ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:933:26: warning: 'const CGObjectInstance* CGameInfoCallback::getObjInstance(ObjectInstanceID) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGObjectInstance * CGameInfoCallback::getObjInstance( ObjectInstanceID oid ) const ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:938:6: warning: 'virtual void IGameEventRealizer::showInfoDialog(InfoWindow*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void IGameEventRealizer::showInfoDialog( InfoWindow *iw ) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:943:6: warning: 'virtual void IGameEventRealizer::showInfoDialog(const string&, PlayerColor)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void IGameEventRealizer::showInfoDialog(const std::string &msg, PlayerColor player) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:951:6: warning: 'virtual void IGameEventRealizer::setObjProperty(ObjectInstanceID, int, si64)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void IGameEventRealizer::setObjProperty(ObjectInstanceID objid, int prop, si64 val) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:960:26: warning: 'const CGObjectInstance* IGameCallback::putNewObject(Obj, int, int3)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGObjectInstance * IGameCallback::putNewObject(Obj ID, int subID, int3 pos) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:970:20: warning: 'const CGCreature* IGameCallback::putNewMonster(CreatureID, int, int3)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] const CGCreature * IGameCallback::putNewMonster(CreatureID creID, int count, int3 pos) ^ C:\_VAR\Programming\github\vcmi\lib\IGameCallback.cpp:978:6: warning: 'virtual bool IGameCallback::isVisitCoveredByAnotherQuery(const CGObjectInstance*, const CGHeroInstance*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool IGameCallback::isVisitCoveredByAnotherQuery(const CGObjectInstance *obj, const CGHeroInstance *hero) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:219:18: error: function 'void MetaString::toString(std::string&) const' definition is marked dllimport DLL_LINKAGE void MetaString::toString(std::string &dst) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:219:18: warning: 'void MetaString::toString(std::string&) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:264:25: error: function 'std::string MetaString::toString() const' definition is marked dllimport DLL_LINKAGE std::string MetaString::toString() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:264:25: warning: 'virtual std::string MetaString::toString() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:271:25: error: function 'std::string MetaString::buildList() const' definition is marked dllimport DLL_LINKAGE std::string MetaString::buildList () const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:271:25: warning: 'std::string MetaString::buildList() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:323:7: warning: 'void MetaString::addCreReplacement(CreatureID, TQuantity)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void MetaString::addCreReplacement(CreatureID id, TQuantity count) //adds sing or plural name; ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:333:6: warning: 'void MetaString::addReplacement(const CStackBasicDescriptor&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void MetaString::addReplacement(const CStackBasicDescriptor &stack) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:378:18: warning: 'CGHeroInstance* CGameState::HeroesPool::pickHeroFor(bool, PlayerColor, const CTown*, std::map >&, const CHeroClass*) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGHeroInstance * CGameState::HeroesPool::pickHeroFor(bool native, PlayerColor player, const CTown *town, std::map > &available, const CHeroClass *bannedClass /*= nullptr*/) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:447:5: warning: 'int CGameState::pickHero(PlayerColor)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameState::pickHero(PlayerColor owner) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:495:20: warning: 'std::pair CGameState::pickObject(CGObjectInstance*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::pair CGameState::pickObject (CGObjectInstance *obj) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:641:6: warning: 'void CGameState::randomizeObject(CGObjectInstance*)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::randomizeObject(CGObjectInstance *cur) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:703:5: warning: 'int CGameState::getDate(Date::EDateType) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameState::getDate(Date::EDateType mode) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:730:1: warning: 'CGameState::CGameState()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGameState::CGameState() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:740:1: warning: 'virtual CGameState::~CGameState()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGameState::~CGameState() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:754:14: warning: 'BattleInfo* CGameState::setupBattle(int3, const CArmedInstance**, const CGHeroInstance**, bool, const CGTownInstance*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] BattleInfo * CGameState::setupBattle(int3 tile, const CArmedInstance *armies[2], const CGHeroInstance * heroes[2], bool creatureBank, const CGTownInstance *town) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:765:6: warning: 'void CGameState::init(StartInfo*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CGameState::init(StartInfo * si) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:828:6: warning: 'void CGameState::initNewGame()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initNewGame() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:870:6: warning: 'void CGameState::initCampaign()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initCampaign() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:881:6: warning: 'void CGameState::initDuel()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initDuel() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:982:6: warning: 'void CGameState::checkMapChecksum()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::checkMapChecksum() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1000:6: warning: 'void CGameState::initGrailPosition()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initGrailPosition() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1042:6: warning: 'void CGameState::initRandomFactionsForPlayers()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initRandomFactionsForPlayers() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1058:6: warning: 'void CGameState::randomizeMapObjects()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::randomizeMapObjects() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1083:6: warning: 'void CGameState::initPlayerStates()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initPlayerStates() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1098:6: warning: 'void CGameState::initHeroPlaceholders()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initHeroPlaceholders() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1118:27: warning: 'const CCampaignScenario* CGameState::getCampaignScenarioForCrossoverHeroes() const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const CCampaignScenario * CGameState::getCampaignScenarioForCrossoverHeroes() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1139:31: warning: 'std::vector CGameState::prepareCrossoverHeroes(const CCampaignScenario*)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] std::vector CGameState::prepareCrossoverHeroes(const CCampaignScenario * campaignScenario) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1223:6: warning: 'void CGameState::placeStartingHeroes()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::placeStartingHeroes() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1260:6: warning: 'void CGameState::initStartingResources()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initStartingResources() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1328:6: warning: 'void CGameState::initHeroes()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initHeroes() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1427:6: warning: 'void CGameState::giveCampaignBonusToHero(CGHeroInstance*)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::giveCampaignBonusToHero(CGHeroInstance * hero) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1484:6: warning: 'void CGameState::initFogOfWar()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initFogOfWar() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1516:6: warning: 'void CGameState::initStartingBonus()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initStartingBonus() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1561:6: warning: 'void CGameState::initTowns()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initTowns() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1703:6: warning: 'void CGameState::initMapObjects()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initMapObjects() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1731:6: warning: 'void CGameState::initVisitingAndGarrisonedHeroes()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::initVisitingAndGarrisonedHeroes() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1760:12: warning: 'BFieldType CGameState::battleGetBattlefieldType(int3) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] BFieldType CGameState::battleGetBattlefieldType(int3 tile) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1834:13: warning: 'UpgradeInfo CGameState::getUpgradeInfo(const CStackInstance&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] UpgradeInfo CGameState::getUpgradeInfo(const CStackInstance &stack) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1898:34: warning: 'PlayerRelations::PlayerRelations CGameState::getPlayerRelations(PlayerColor, PlayerColor)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] PlayerRelations::PlayerRelations CGameState::getPlayerRelations( PlayerColor color1, PlayerColor color2 ) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1911:6: warning: 'void CGameState::getNeighbours(const TerrainTile&, int3, std::vector&, const boost::logic::tribool&, bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CGameState::getNeighbours(const TerrainTile &srct, int3 tile, std::vector &vec, const boost::logic::tribool &onLand, bool limitCoastSailing) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:1949:5: warning: 'int CGameState::getMovementCost(const CGHeroInstance*, const int3&, const int3&, int, bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int CGameState::getMovementCost(const CGHeroInstance *h, const int3 &src, const int3 &dest, int remainingMovePoints, bool checkLast) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2007:6: warning: 'void CGameState::apply(CPack*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CGameState::apply(CPack *pack) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2013:6: warning: 'void CGameState::calculatePaths(const CGHeroInstance*, CPathsInfo&, int3, int)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CGameState::calculatePaths(const CGHeroInstance *hero, CPathsInfo &out, int3 src, int movement) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2026:32: warning: 'std::vector CGameState::guardingCreatures(int3) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::vector CGameState::guardingCreatures (int3 pos) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2074:6: warning: 'int3 CGameState::guardingCreaturePosition(int3) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int3 CGameState::guardingCreaturePosition (int3 pos) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2125:6: warning: 'bool CGameState::isVisible(int3, PlayerColor)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameState::isVisible(int3 pos, PlayerColor player) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2132:6: warning: 'bool CGameState::isVisible(const CGObjectInstance*, boost::optional)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameState::isVisible( const CGObjectInstance *obj, boost::optional player ) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2154:6: warning: 'bool CGameState::checkForVisitableDir(const int3&, const int3&) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameState::checkForVisitableDir(const int3 & src, const int3 & dst) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2160:6: warning: 'bool CGameState::checkForVisitableDir(const int3&, const TerrainTile*, const int3&) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] bool CGameState::checkForVisitableDir( const int3 & src, const TerrainTile *pom, const int3 & dst ) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2204:25: warning: 'EVictoryLossCheckResult CGameState::checkForVictoryAndLoss(PlayerColor) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] EVictoryLossCheckResult CGameState::checkForVictoryAndLoss(PlayerColor player) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2211:25: warning: 'EVictoryLossCheckResult CGameState::checkForVictory(PlayerColor) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] EVictoryLossCheckResult CGameState::checkForVictory( PlayerColor player ) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2343:13: warning: 'PlayerColor CGameState::checkForStandardWin() const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] PlayerColor CGameState::checkForStandardWin() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2370:6: warning: 'bool CGameState::checkForStandardLoss(PlayerColor) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGameState::checkForStandardLoss( PlayerColor player ) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2457:6: warning: 'void CGameState::obtainPlayersStats(SThievesGuildInfo&, int)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CGameState::obtainPlayersStats(SThievesGuildInfo & tgi, int level) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2578:25: warning: 'EVictoryLossCheckResult CGameState::checkForLoss(PlayerColor) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] EVictoryLossCheckResult CGameState::checkForLoss( PlayerColor player ) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2618:53: warning: 'std::map > CGameState::unusedHeroesFromPool()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::map > CGameState::unusedHeroesFromPool() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2629:6: warning: 'void CGameState::buildBonusSystemTree()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::buildBonusSystemTree() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2642:6: warning: 'void CGameState::deserializationFix()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::deserializationFix() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2648:6: warning: 'void CGameState::buildGlobalTeamPlayerTree()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::buildGlobalTeamPlayerTree() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2664:6: warning: 'void CGameState::attachArmedObjects()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::attachArmedObjects() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2673:6: warning: 'void CGameState::giveHeroArtifact(CGHeroInstance*, ArtifactID)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::giveHeroArtifact(CGHeroInstance *h, ArtifactID aid) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2681:22: warning: 'std::set CGameState::getUnusedAllowedHeroes(bool) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] std::set CGameState::getUnusedAllowedHeroes(bool alsoIncludeNotAllowed /*= false*/) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2703:60: warning: 'std::vector > CGameState::generateCampaignHeroesToReplace(std::vector&)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] std::vector > CGameState::generateCampaignHeroesToReplace(std::vector & crossoverHeroes) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2784:6: warning: 'void CGameState::placeCampaignHeroes(const std::vector >&)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void CGameState::placeCampaignHeroes(const std::vector > &campHeroReplacements) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2819:6: warning: 'bool CGameState::isUsedHero(HeroTypeID) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] bool CGameState::isUsedHero(HeroTypeID hid) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2832:1: warning: 'CGPathNode::CGPathNode()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CGPathNode::CGPathNode() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2842:6: warning: 'bool CGPathNode::reachable() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CGPathNode::reachable() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2847:6: warning: 'bool CPathsInfo::getPath(const int3&, CGPath&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool CPathsInfo::getPath( const int3 &dst, CGPath &out ) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2866:1: warning: 'CPathsInfo::CPathsInfo(const int3&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CPathsInfo::CPathsInfo( const int3 &Sizes ) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2881:1: warning: 'CPathsInfo::~CPathsInfo()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] CPathsInfo::~CPathsInfo() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2894:6: warning: 'int3 CGPath::startPos() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int3 CGPath::startPos() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2899:6: warning: 'int3 CGPath::endPos() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int3 CGPath::endPos() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2904:6: warning: 'void CGPath::convert(ui8)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void CGPath::convert( ui8 mode ) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2915:1: warning: 'PlayerState::PlayerState()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] PlayerState::PlayerState() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2922:13: warning: 'virtual std::string PlayerState::nodeName() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::string PlayerState::nodeName() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2927:1: warning: 'InfoAboutArmy::InfoAboutArmy()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] InfoAboutArmy::InfoAboutArmy(): ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2931:1: warning: 'InfoAboutArmy::InfoAboutArmy(const CArmedInstance*, bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] InfoAboutArmy::InfoAboutArmy(const CArmedInstance *Army, bool detailed) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2936:6: warning: 'void InfoAboutArmy::initFromArmy(const CArmedInstance*, bool)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void InfoAboutArmy::initFromArmy(const CArmedInstance *Army, bool detailed) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2943:6: warning: 'void InfoAboutHero::assign(const InfoAboutHero&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] void InfoAboutHero::assign(const InfoAboutHero & iah) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2952:1: warning: 'InfoAboutHero::InfoAboutHero()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] InfoAboutHero::InfoAboutHero(): ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2958:1: warning: 'InfoAboutHero::InfoAboutHero(const InfoAboutHero&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] InfoAboutHero::InfoAboutHero(const InfoAboutHero & iah): ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2964:1: warning: 'InfoAboutHero::InfoAboutHero(const CGHeroInstance*, bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] InfoAboutHero::InfoAboutHero(const CGHeroInstance *h, bool detailed) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2972:1: warning: 'InfoAboutHero::~InfoAboutHero()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] InfoAboutHero::~InfoAboutHero() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2977:17: warning: 'InfoAboutHero& InfoAboutHero::operator=(const InfoAboutHero&)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] InfoAboutHero & InfoAboutHero::operator=(const InfoAboutHero & iah) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:2983:6: warning: 'void InfoAboutHero::initFromHero(const CGHeroInstance*, bool)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void InfoAboutHero::initFromHero(const CGHeroInstance *h, bool detailed) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3010:1: warning: 'InfoAboutTown::InfoAboutTown()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] InfoAboutTown::InfoAboutTown(): ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3019:1: warning: 'InfoAboutTown::InfoAboutTown(const CGTownInstance*, bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] InfoAboutTown::InfoAboutTown(const CGTownInstance *t, bool detailed) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3024:1: warning: 'InfoAboutTown::~InfoAboutTown()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] InfoAboutTown::~InfoAboutTown() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3029:6: warning: 'void InfoAboutTown::initFromTown(const CGTownInstance*, bool)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] void InfoAboutTown::initFromTown(const CGTownInstance *t, bool detailed) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3049:1: warning: 'ArmyDescriptor::ArmyDescriptor(const CArmedInstance*, bool)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] ArmyDescriptor::ArmyDescriptor(const CArmedInstance *army, bool detailed) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3061:1: warning: 'ArmyDescriptor::ArmyDescriptor()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] ArmyDescriptor::ArmyDescriptor() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3067:5: warning: 'int ArmyDescriptor::getStrength() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] int ArmyDescriptor::getStrength() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3196:1: warning: 'TeamState::TeamState()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] TeamState::TeamState() ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3460:56: warning: 'EVictoryLossCheckResult::NO_VICTORY_OR_LOSS' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const EVictoryLossCheckResult EVictoryLossCheckResult::NO_VICTORY_OR_LOSS = EVictoryLossCheckResult(0); ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3461:56: warning: 'EVictoryLossCheckResult::VICTORY_STANDARD' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const EVictoryLossCheckResult EVictoryLossCheckResult::VICTORY_STANDARD = EVictoryLossCheckResult(1); ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3462:56: warning: 'EVictoryLossCheckResult::VICTORY_SPECIAL' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const EVictoryLossCheckResult EVictoryLossCheckResult::VICTORY_SPECIAL = EVictoryLossCheckResult(2); ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3463:56: warning: 'EVictoryLossCheckResult::LOSS_STANDARD_HEROES_AND_TOWNS' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const EVictoryLossCheckResult EVictoryLossCheckResult::LOSS_STANDARD_HEROES_AND_TOWNS = EVictoryLossCheckResult(3); ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3464:56: warning: 'EVictoryLossCheckResult::LOSS_STANDARD_TOWNS_AND_TIME_OVER' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const EVictoryLossCheckResult EVictoryLossCheckResult::LOSS_STANDARD_TOWNS_AND_TIME_OVER = EVictoryLossCheckResult(4); ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3465:56: warning: 'EVictoryLossCheckResult::LOSS_SPECIAL' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] const EVictoryLossCheckResult EVictoryLossCheckResult::LOSS_SPECIAL = EVictoryLossCheckResult(5); ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3467:1: warning: 'EVictoryLossCheckResult::EVictoryLossCheckResult()' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] EVictoryLossCheckResult::EVictoryLossCheckResult() : intValue(0) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3472:1: warning: 'EVictoryLossCheckResult::EVictoryLossCheckResult(si32)' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] EVictoryLossCheckResult::EVictoryLossCheckResult(si32 intValue) : intValue(intValue) ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3477:6: warning: 'bool EVictoryLossCheckResult::operator==(const EVictoryLossCheckResult&) const' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default] bool EVictoryLossCheckResult::operator==(EVictoryLossCheckResult const & other) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3482:6: warning: 'bool EVictoryLossCheckResult::operator!=(const EVictoryLossCheckResult&) const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool EVictoryLossCheckResult::operator!=(EVictoryLossCheckResult const & other) const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3487:6: warning: 'bool EVictoryLossCheckResult::victory() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool EVictoryLossCheckResult::victory() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3492:6: warning: 'bool EVictoryLossCheckResult::loss() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] bool EVictoryLossCheckResult::loss() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3497:13: warning: 'std::string EVictoryLossCheckResult::toString() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::string EVictoryLossCheckResult::toString() const ^ C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp: In function 'std::ostream& operator<<(std::ostream&, const EVictoryLossCheckResult&)': C:\_VAR\Programming\github\vcmi\lib\CGameState.cpp:3508:16: warning: 'std::ostream& operator<<(std::ostream&, const EVictoryLossCheckResult&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] std::ostream & operator<<(std::ostream & os, const EVictoryLossCheckResult & victoryLossCheckResult) ^ mingw32-make[2]: *** [lib/CMakeFiles/vcmi.dir/CGameState.cpp.obj] Error 1 mingw32-make[1]: *** [lib/CMakeFiles/vcmi.dir/all] Error 2 mingw32-make: *** [all] Error 2