|
From: <Wol...@t-...> - 2001-06-16 10:50:53
|
I just started a new compile under MSVC. I will do a personal E-Mail to some people regarding the MSVC workspaces, so here I only speak about non-workspace related problems. The good news is that I had much less problems than before. However, there are still two serious problems that are very old: - FGControls versus controls. I know it works when I leave out one of the two, but I always forget which one :-(. Curt, which of the two shall I leave out? Also, nobody explained the problem to me yet: Why does it work on Linux? It seems to me, that the Linux linker doesn't complain when=20 he gets the same class twice, which would IMHO simply be a bug of the linker. - The "warning 4876" problem. Normally, I wouldn't care too much, but it means I have to manually touch 35 files each time I get=20 the files anew from cvs. Sometimes we (Geoff, me) don't get the warning, but we don't know when, so we can do nothing on that side=20 of things. For the first file, FGAerodynamics.cpp this warning alone generates 32 (in words: thirtytwo) pages of output in a almost=20 maximized output window at 1024x768 with the standard font. You can imagine that it is impossible to look for other warnings or errors intermingled in these warnings. Also, such many warnings seem to confuse MSVC and it stops compiling with: fatal error C1033: cannot open program database 'e:\fgfs\cvs_16_06_2001\flightgear\debug\lib_jsbsim\vc60.pdb' This fatal error goes away when the warning is disabled. Nobody had a panacea for this yet. AFAIK There are only two ways to do from here: Disable the warning=20 in the source code or Every MSVC user has to manually update=20 all 35 files each times he gets a new FlightGear. *Please* lets do the first thing. There might be elegant solutions using "compiler.h", but if you guys want something fast, simply add #ifdef _MSC_VER # pragma warning(disable: 4786) // identifier was truncated to '255' characters #endif at the beginning of these files: JSBSim\FGAerodynamics.cpp JSBSim\FGAircraft.cpp JSBSim\FGAtmosphere.cpp JSBSim\FGCoefficient.cpp JSBSim\FGEngine.cpp JSBSim\FGFCS.cpp JSBSim\FGFDMExec.cpp JSBSim\FGForce.cpp JSBSim\FGInertial.cpp JSBSim\FGInitialCondition.cpp JSBSim\FGLGear.cpp JSBSim\FGMassBalance.cpp JSBSim\FGModel.cpp JSBSim\FGNozzle.cpp JSBSim\FGOutput.cpp JSBSim\FGPiston.cpp JSBSim\FGPosition.cpp JSBSim\FGPropeller.cpp JSBSim\FGPropulsion.cpp JSBSim\FGRocket.cpp JSBSim\FGThruster.cpp JSBSim\FGTrim.cpp JSBSim\FGTrimAxis.cpp JSBSim\FGTurboJet.cpp JSBSim\FGTurboProp.cpp JSBSim\FGTurboShaft.cpp JSBSim\FGUtility.cpp JSBSim\filtersjb\FGDeadBand.cpp JSBSim\filtersjb\FGFCSComponent.cpp JSBSim\filtersjb\FGFilter.cpp JSBSim\filtersjb\FGFlaps.cpp JSBSim\filtersjb\FGGain.cpp JSBSim\filtersjb\FGGradient.cpp JSBSim\filtersjb\FGSummer.cpp JSBSim\filtersjb\FGSwitch.cpp Maybe Curt can do this in FlightGear cvs and Jon in JSB cvs. Bye bye, Wolfram. |