I just updated to the latest CVS and tried to build.

ATCmgr.cxx
c:\flightgear\src\atc\atcmgr.cxx(201) : warning C4715: 'FGATCMgr::GetATCPointer' : not all control paths return a value
JSBSim.cxx
c:\flightgear\src\atc\atc.cxx(34) : error C4716: 'FGATC::RemovePlane' : must return a value

Linux complains as well, but generates a WARNING for the second problem instead of an error.

I then fix the error, updated to Erik's version of uiuc_menu.cpp, rebuild, and I then get:

approach.cxx
c:\flightgear\src\atc\approach.cxx(360) : error C2374: 'i' : redefinition; multiple initialization
c:\flightgear\src\atc\approach.cxx(350) : see declaration of 'i'
c:\flightgear\src\atc\approach.cxx(366) : error C2374: 'i' : redefinition; multiple initialization
c:\flightgear\src\atc\approach.cxx(350) : see declaration of 'i'

ground.cxx
c:\flightgear\src\atc\ground.hxx(28) : error C2065: 'vector' : undeclared identifier
c:\flightgear\src\atc\ground.hxx(28) : error C2501: 'SG_USING_STD' : missing storage-class or type specifiers
c:\flightgear\src\atc\ground.hxx(29) : error C2065: 'list' : undeclared identifier
c:\flightgear\src\atc\ground.hxx(29) : error C2501: 'SG_USING_STD' : missing storage-class or type specifiers
c:\flightgear\src\atc\ground.hxx(29) : error C2086: 'SG_USING_STD' : redefinition
c:\flightgear\src\atc\ground.hxx(49) : warning C4091: 'typedef ' : ignored on left of 'struct arc' when no variable is declared
c:\flightgear\src\atc\ground.hxx(51) : error C2143: syntax error : missing ';' before '<'
c:\flightgear\src\atc\ground.hxx(51) : error C2378: 'list' : redefinition; symbol cannot be overloaded with a typedef
c:\flightgear\src\atc\ground.hxx(51) : error C2143: syntax error : missing ';' before '<'
c:\flightgear\src\atc\ground.hxx(52) : error C2653: 'arc_list_type' : is not a class or namespace name
c:\flightgear\src\atc\ground.hxx(52) : error C2146: syntax error : missing ';' before identifier 'arc_list_itr'
c:\flightgear\src\atc\ground.hxx(52) : fatal error C1004: unexpected end of file found

runways.cxx
c:\flightgear\src\atc\runways.cxx(40) : fatal error C1083: Cannot open include file: 'runways.hxx': No such file or directory

I can fix the problem in approach.cxx, but the ones in ground.cxx I cannot (I love the STL problems). Also, I have no idea where runways.hxx went.

Thanks,

Jonathan Polley

Reply via email to