MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001027VCMIOtherpublic2012-07-02 16:192014-05-30 17:41
Reportermonsignore 
Assigned ToIvan 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
Platformx86_64OSGentooOS VersionLinux 3.3.8
Product Version0.89 
Target VersionFixed in Version 
Summary0001027: Boost & c++11 compile problems
DescriptionERMInterpreter.cpp line 379 (in void ERMInterpreter::scanForScripts()):
you should replace
std::string name = dir->path().leaf();
with
std::string name = dir->path().string();

leaf() function no longer convert path to string.

and something is wrong with typedef decltype in
VCAI.cpp line 997 (in VCAI::makeTurnInternal())
typedef decltype(*safeCopy.begin()) TItrType;
auto lockedHeroesSorter = [](TItrType h1, TItrType h2) -> bool
{
    return compareMovement (h1.first, h2.first);
};

I replaced it just with
auto lockedHeroesSorter = [](std::pair<HeroPtr, CGoal> h1, std::pair<HeroPtr, CGoal> h2) -> bool
{
    return compareMovement (h1.first, h2.first);
};

I'm using boost 1.48 and gcc 4.6
Additional InformationI dk if bugtracker is right place for it, but i cannot register on forum due to captha error(screenshot below)
TagsNo tags attached.
Attached Filespng file icon screen.png [^] (583,599 bytes) 2012-07-02 16:19

- Relationships

-  Notes
(0002785)
Ivan (developer)
2012-07-02 17:20

I agree that "captcha" is a bit confusing. Read carefully:

Validation:
To make sure you are not a robot, please type the name of our project (4 letters, case doesn't matter)
(0002787)
monsignore (reporter)
2012-07-02 18:34

omg, yes i really must read more carefully, but i quess constant text is not good validation, is it? This broken image so confusing btw.
(0002789)
Ivan (developer)
2012-07-02 21:56

Compilation should be fixed in rev 2771.

Regarding validation - feel free to post this on forums. I'm not admin so I can't do anything.
(0002790)
Tow (developer)
2012-07-02 22:29

> i quess constant text is not good validation, is it?

Quite the opposite. Before I "broke" captcha lots of spambots had been getting through, now they manage to validate very rarely.

> This broken image so confusing btw.

Yes, I am going to put there an image with the description.

- Issue History
Date Modified Username Field Change
2012-07-02 16:19 monsignore New Issue
2012-07-02 16:19 monsignore File Added: screen.png
2012-07-02 17:20 Ivan Note Added: 0002785
2012-07-02 18:34 monsignore Note Added: 0002787
2012-07-02 21:56 Ivan Note Added: 0002789
2012-07-02 21:56 Ivan Status new => resolved
2012-07-02 21:56 Ivan Resolution open => fixed
2012-07-02 21:56 Ivan Assigned To => Ivan
2012-07-02 22:29 Tow Note Added: 0002790
2014-05-30 17:41 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean