MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000929VCMIOtherpublic2012-04-15 19:162012-04-16 17:59
Reporterq4a 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
Platformamd64OSUbuntuOS Version12.04
Product Version0.88 
Target VersionFixed in Version 
Summary0000929: Cannot build r2626 with gcc 4.6.3 and boost 1.46.1
Descriptionr2622 builds fine (rechecked after "make clean" and "make distclean").
Error log:
  CXX libVCAI_la-Fuzzy.lo
  CXX libVCAI_la-VCAI.lo
In file included from ../../lib/../lib/HeroBonus.h:3:0,
                 from ../../lib/../lib/CCreatureSet.h:4,
                 from ../../lib/CObjectHandler.h:9,
                 from VCAI.cpp:5:
../../lib/../lib/GameConstants.h:15:20: error: redefinition of 'const string GameConstants::VCMI_VERSION'
../../lib/GameConstants.h:15:20: error: 'const string GameConstants::VCMI_VERSION' previously declared here
../../lib/../lib/GameConstants.h:33:21: error: redefinition of 'const string GameConstants::DATA_DIR'
../../lib/GameConstants.h:33:21: error: 'const string GameConstants::DATA_DIR' previously declared here
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002368)
Ivan (developer)
2012-04-15 21:51

Works for me with same gcc\boost versions.

Sounds that some file is missing include guard - #pragma once line that should be in all .h files
(0002369)
q4a (reporter)
2012-04-16 17:49

Yes, sorry. Update gcc from 4.6.3-1ubuntu4 to 4.6.3-1ubuntu5 fixes problem.
Close this bug, please.

- Issue History
Date Modified Username Field Change
2012-04-15 19:16 q4a New Issue
2012-04-15 21:51 Ivan Note Added: 0002368
2012-04-16 17:49 q4a Note Added: 0002369
2012-04-16 17:59 Warmonger Status new => closed
2012-04-16 17:59 Warmonger Resolution open => no change required

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean