MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001204VCMIOtherpublic2013-02-11 20:012014-05-30 17:41
Reportero01eg 
Assigned ToIvan 
PriorityhighSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
Platformamd64OSGentoo LinuxOS Version
Product Version 
Target VersionFixed in Version 
Summary0001204: Cann't compile vcmi from trunk [r3188].
DescriptionWhen I compile vcmi I get error:

In file included from /mnt/another/tmp/vcmi/server/CGameHandler.cpp:21:0:
/mnt/another/tmp/vcmi/server/../lib/NetPacks.h: In constructor ‘BuildStructure::BuildStructure(si32, BuildingID)’:
/mnt/another/tmp/vcmi/server/../lib/NetPacks.h:1843:13: warning: ‘BuildStructure::bid’ will be initialized after [-Wreorder]
/mnt/another/tmp/vcmi/server/../lib/NetPacks.h:1842:7: warning: ‘si32 BuildStructure::tid’ [-Wreorder]
/mnt/another/tmp/vcmi/server/../lib/NetPacks.h:1841:2: warning: when initialized here [-Wreorder]
/mnt/another/tmp/vcmi/server/CGameHandler.cpp: In member function ‘void CGameHandler::handleSpellCasting(int, int, BattleHex, ui8, TPlayerColor, const CGHeroInstance*, const CGHeroInstance*, int, ECastingMode::ECastingMode, const CStack*, si32)’:
/mnt/another/tmp/vcmi/server/CGameHandler.cpp:3973:65: error: operands to ?: have different types ‘const CreatureID’ and ‘CreatureID::ECreatureID’
Additional Informationgcc-4.6.3
boost-1.49
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003365)
AlexVinS (developer)
2013-02-11 20:35
edited on: 2013-02-11 20:36

this is fixed in 3190 but compilation with gcc is still broken.

(0003366)
Ivan (developer)
2013-02-11 22:40

gcc compilation should be fixed

- Issue History
Date Modified Username Field Change
2013-02-11 20:01 o01eg New Issue
2013-02-11 20:13 AlexVinS Assigned To => AlexVinS
2013-02-11 20:13 AlexVinS Status new => assigned
2013-02-11 20:35 AlexVinS Note Added: 0003365
2013-02-11 20:35 AlexVinS Assigned To AlexVinS =>
2013-02-11 20:35 AlexVinS Status assigned => new
2013-02-11 20:36 AlexVinS Note Edited: 0003365 View Revisions
2013-02-11 22:40 Ivan Note Added: 0003366
2013-02-11 22:40 Ivan Status new => resolved
2013-02-11 22:40 Ivan Resolution open => fixed
2013-02-11 22:40 Ivan Assigned To => Ivan
2014-05-30 17:41 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean