I just updated to the latest CVS for SimGear and tried to build. While Mac OS X builds like a champ, MSVC is complaining (again). If I backup two versions of the file, I can get it to build (but I get link errors with FlightGear). The compilation errors I get are as follows (looks like another STL problem?).

props.cxx
c:\simgear\simgear\misc\props.cxx(1997) : error C2653: 'vector >' : is not a class or namespace name
c:\simgear\simgear\misc\props.cxx(1997) : error C2065: 'iterator' : undeclared identifier
c:\simgear\simgear\misc\props.cxx(1997) : error C2146: syntax error : missing ';' before identifier 'it'
c:\simgear\simgear\misc\props.cxx(1997) : error C2065: 'it' : undeclared identifier
c:\simgear\simgear\misc\props.cxx(1998) : error C2065: 'find' : undeclared identifier
c:\simgear\simgear\misc\props.cxx(1999) : error C2446: '!=' : no conversion from 'class SGPropertyChangeListener ** ' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
c:\simgear\simgear\misc\props.cxx(1999) : error C2040: '!=' : 'int' differs in levels of indirection from 'class SGPropertyChangeListener ** '
c:\simgear\simgear\misc\props.cxx(2299) : error C2653: 'vector >' : is not a class or namespace name
c:\simgear\simgear\misc\props.cxx(2299) : error C2146: syntax error : missing ';' before identifier 'it'
c:\simgear\simgear\misc\props.cxx(2300) : error C2440: '=' : cannot convert from 'class SGPropertyNode ** ' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
c:\simgear\simgear\misc\props.cxx(2300) : error C2446: '!=' : no conversion from 'class SGPropertyNode ** ' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
c:\simgear\simgear\misc\props.cxx(2300) : error C2040: '!=' : 'int' differs in levels of indirection from 'class SGPropertyNode ** '
c:\simgear\simgear\misc\props.cxx(2301) : error C2100: illegal indirection
c:\simgear\simgear\misc\props.cxx(2301) : error C2227: left of '->removeChangeListener' must point to class/struct/union
c:\simgear\simgear\misc\props.cxx(2333) : error C2653: 'vector >' : is not a class or namespace name
c:\simgear\simgear\misc\props.cxx(2333) : error C2146: syntax error : missing ';' before identifier 'it'
c:\simgear\simgear\misc\props.cxx(2335) : error C2446: '!=' : no conversion from 'class SGPropertyNode ** ' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
c:\simgear\simgear\misc\props.cxx(2335) : error C2040: '!=' : 'int' differs in levels of indirection from 'class SGPropertyNode ** '


Jonathan Polley

Reply via email to