MantisBT - VCMI
View Issue Details
0001138VCMIOtherpublic2012-10-07 06:492014-05-30 17:41
Warmonger 
AlexVinS 
normalblockhave not tried
closedfixed 
 
 
0001138: Can't compile Client after r2983
2>UIFramework\CGuiHandler.cpp(76): error C2653: 'CIntObjectList' : is not a class or namespace name
2>UIFramework\CGuiHandler.cpp(76): error C2065: 'iterator' : undeclared identifier
2>UIFramework\CGuiHandler.cpp(76): error C2146: syntax error : missing ';' before identifier 'hlp'
2>UIFramework\CGuiHandler.cpp(76): error C2065: 'hlp' : undeclared identifier
2>UIFramework\CGuiHandler.cpp(77): error C2065: 'hlp' : undeclared identifier
2>UIFramework\CGuiHandler.cpp(78): error C2065: 'hlp' : undeclared identifier
No tags attached.
Issue History
2012-10-07 06:49WarmongerNew Issue
2012-10-07 08:21IvanNote Added: 0003170
2012-10-07 10:40AlexVinSNote Added: 0003171
2012-10-07 12:25ZamolxisStatusnew => resolved
2012-10-07 12:25ZamolxisResolutionopen => fixed
2012-10-07 12:25ZamolxisAssigned To => AlexVinS
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0003170)
Ivan   
2012-10-07 08:21   
Both gcc and clang are silent. Different name lookup rules?

Try replacing
CIntObjectList
with
std::list<CIntObject*>
(0003171)
AlexVinS   
2012-10-07 10:40   
Seems to be GCC and Clang are too permissive. Access from lambdas to private class scope is prohibited by standard. Fixed in 2984.