Hi While building fgfs from CVS on Windows, I've noticed the following warning. 1>c:\flightgear\flightgear\src\network\native_ctrls.cxx(439) : warning C4800: 'double' : forcing value to bool 'true' or 'false' (performance warning)
It's telling that the magnetic variation gets truncated to a boolean when assigned to the property tree. Is that correct? File: native_ctrls.cxx node = fgGetNode( "/environment", true ); node->setDoubleValue( "wind-speed-kt", net->wind_speed_kt ); node->setDoubleValue( "wind-from-heading-deg", net->wind_dir_deg ); node->setDoubleValue( "turbulence/magnitude-norm", net->turbulence_norm ); node->setBoolValue( "magnetic-variation-deg", net->magvar ); ^^^^ Tom ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel