Anonymous | Login | 2024-11-21 19:51 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000929 | VCMI | Other | public | 2012-04-15 19:16 | 2012-04-16 17:59 | ||||
Reporter | q4a | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | amd64 | OS | Ubuntu | OS Version | 12.04 | ||||
Product Version | 0.88 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000929: Cannot build r2626 with gcc 4.6.3 and boost 1.46.1 | ||||||||
Description | r2622 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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
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 |
Copyright © 2000 - 2024 MantisBT Team |