I just did a rebuild after updating to, and incorporating, the latest extgl.* changes. 
 MSVC is now complaining about the 'SG_USING_STD(find)' line in src\Model\modelmgr.cxx.

c:\fgdev\flightgear\src\model\modelmgr.cxx(136) : error C2653: 'vector<struct 
FGModelMgr::Instance *,class std::allocator<struct FGModelMgr::Instance *> >' : is not 
a class or namespace name
c:\fgdev\flightgear\src\model\modelmgr.cxx(136) : error C2065: 'iterator' : undeclared 
identifier
c:\fgdev\flightgear\src\model\modelmgr.cxx(136) : error C2146: syntax error : missing 
';' before identifier 'it'
c:\fgdev\flightgear\src\model\modelmgr.cxx(136) : error C2065: 'it' : undeclared 
identifier
c:\fgdev\flightgear\src\model\modelmgr.cxx(137) : error C2440: '=' : cannot convert 
from 'struct FGModelMgr::Instance ** ' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style 
cast
c:\fgdev\flightgear\src\model\modelmgr.cxx(137) : error C2446: '!=' : no conversion 
from 'struct FGModelMgr::Instance ** ' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style 
cast
c:\fgdev\flightgear\src\model\modelmgr.cxx(137) : error C2040: '!=' : 'int' differs in 
levels of indirection from 'struct FGModelMgr::Instance ** '
c:\fgdev\flightgear\src\model\modelmgr.cxx(138) : error C2100: illegal indirection
c:\fgdev\flightgear\src\model\modelmgr.cxx(138) : error C2446: '==' : no conversion 
from 'struct FGModelMgr::Instance *' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style 
cast
c:\fgdev\flightgear\src\model\modelmgr.cxx(138) : error C2040: '==' : 'int' differs in 
levels of indirection from 'struct FGModelMgr::Instance *'

Backing up to version 1.3 of the file generates the following errors

c:\fgdev\flightgear\src\model\modelmgr.cxx(14) : error C2039: 'find' : is not a member 
of 'std'
c:\fgdev\flightgear\src\model\modelmgr.cxx(14) : error C2873: 'find' : symbol cannot 
be used in a using-declaration
c:\fgdev\flightgear\src\model\modelmgr.cxx(138) : error C2065: 'find' : undeclared 
identifier


If I remove the 'SG_USING_STD(find)' line (from 1.3), the error changes to

c:\fgdev\flightgear\src\model\modelmgr.cxx(138) : error C2065: 'find' : undeclared 
identifier


Thanks,

Jonathan Polley

Of COURSE they can do that.  They're engineers!

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to