MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000672VCMIOtherpublic2011-02-21 19:222014-05-30 17:40
Reporterpipeliner 
Assigned ToTow dragon 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformLinuxOSDebian x86_64 GNU/LinuxOS Version 6.0 squeeze
Product Version 
Target VersionFixed in Version 
Summary0000672: std::min(size_t, unsigned int) is incorrect on x86_64
DescriptionComparison between hero->secSkills.size() and 8u with std::min() does not work on x86_64 platform.

g++ (Debian 4.4.5-8) 4.4.5 writes:
CHeroWindow.cpp: In constructor ‘CHeroWindow::CHeroWindow(const CGHeroInstance*)’:
CHeroWindow.cpp:123: error: no matching function for call to ‘min(size_t, unsigned int)’
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001536)
Tow dragon (viewer)
2011-02-23 15:55

I've specified the templated type explicitly, what should fix the problem (rev 1989)

- Issue History
Date Modified Username Field Change
2011-02-21 19:22 pipeliner New Issue
2011-02-23 15:55 Tow dragon Note Added: 0001536
2011-02-23 15:55 Tow dragon Status new => resolved
2011-02-23 15:55 Tow dragon Resolution open => fixed
2011-02-23 15:55 Tow dragon Assigned To => Tow dragon
2014-05-30 17:40 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean