MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000780VCMIOtherpublic2011-07-31 11:292011-08-04 23:50
Reporterlssjbrolli 
Assigned Toubuntux 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformlinuxOSArchLinuxOS Version
Product Version 
Target VersionFixed in Version 
Summary0000780: compilation failed with boost 1.47
Descriptioncompile fails with:

Making all in lib
make[1]: Entering directory `/home/sega/my_pkg/vcmi-svn/src/vcmi/lib'
  CXX libvcmi_la-BattleAction.lo
  CXX libvcmi_la-BattleState.lo
BattleState.cpp: In member function 'std::vector<unsigned int> BattleInfo::calculateResistedStacks(const CSpell*, const CGHeroInstance*, const CGHeroInstance*, std::set<CStack*>, int, SpellCasting::ECastingMode) const':
BattleState.cpp:2017:26: warning: variable 'bonusHero' set but not used [-Wunused-but-set-variable]
  CXX libvcmi_la-CArtHandler.lo
  CXX libvcmi_la-CBuildingHandler.lo
  CXX libvcmi_la-CCampaignHandler.lo
CCampaignHandler.cpp: In member function 'void CCampaignScenario::prepareCrossoverHeroes(std::vector<CGHeroInstance*>)':
CCampaignHandler.cpp:527:5: warning: unused variable 'cgh' [-Wunused-variable]
  CXX libvcmi_la-CCreatureHandler.lo
  CXX libvcmi_la-CCreatureSet.lo
  CXX libvcmi_la-CDefObjInfoHandler.lo
  CXX libvcmi_la-CFileUtility.lo
  CXX libvcmi_la-CGameInterface.lo
  CXX libvcmi_la-CGameState.lo
CGameState.cpp: In member function 'void CGameState::init(StartInfo*, ui32, int)':
CGameState.cpp:937:9: warning: variable 'success' set but not used [-Wunused-but-set-variable]
  CXX libvcmi_la-CGeneralTextHandler.lo
  CXX libvcmi_la-CHeroHandler.lo
  CXX libvcmi_la-CLodHandler.lo
  CXX libvcmi_la-CMapInfo.lo
  CXX libvcmi_la-CObjectHandler.lo
CObjectHandler.cpp: In member function 'void CGCreature::fight(const CGHeroInstance*) const':
CObjectHandler.cpp:3168:6: warning: unused variable 'totalCount' [-Wunused-variable]
  CXX libvcmi_la-CSpellHandler.lo
  CXX libvcmi_la-CTownHandler.lo
  CXX libvcmi_la-Connection.lo
Connection.cpp: In constructor 'CConnection::CConnection(TSocket*, std::string)':
Connection.cpp:140:38: error: 'TSocket' has no member named 'io_service'
make[1]: *** [libvcmi_la-Connection.lo] Error 1
make[1]: Leaving directory `/home/sega/my_pkg/vcmi-svn/src/vcmi/lib'
make: *** [all-recursive] Error 1


compile fine with boost 1.46.1
Steps To Reproduceinstall boost 1.47, compile
Additional Informationi know that not some many already have installed boost 1.47 in their distros but for the future :)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001901)
ubuntux (developer)
2011-08-04 22:34

Try replacing
  io_service(&Socket->io_service())
with
  io_service(&Socket->get_io_service())
(0001902)
ubuntux (developer)
2011-08-04 23:50

Fixed in r2274.

- Issue History
Date Modified Username Field Change
2011-07-31 11:29 lssjbrolli New Issue
2011-08-04 22:34 ubuntux Note Added: 0001901
2011-08-04 23:50 ubuntux Note Added: 0001902
2011-08-04 23:50 ubuntux Status new => closed
2011-08-04 23:50 ubuntux Assigned To => ubuntux
2011-08-04 23:50 ubuntux Resolution open => fixed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean