On Sun, Dec 13, 2009 at 10:48 PM, John Denker <j...@av8n.com> wrote: ...
> > UPDATE: I have a surprising explanation for the previously- > reported fact that FPE behavior depends on whether options > are passed on the command line or passed via .fgfsrc > > It turns out that passing --enable-fpe via .fgfsrc is a no-op. > > There is some "special" code in bootstrap.cxx that processes > the enable-fpe option _if it occurs on the command line_ and > not otherwise. > > Meanwhile, the "normal" option processing code in options.cxx > recognizes the --enable-fpe option but does nothing about it. > > This needs fixing. I'm not sure what the proper fix is. > *) Is there some reason why the --enable-fpe on the command > line needs to be handled super-early? Normal option > processing is already one of the earliest steps. Wouldn't > that be early enough? > Probably historical reasons, and the fact that other platform specific initialization is done in bootstrap.cxx. Also, --enable-fpe is a "developer-only" kind of thing... at least it would be, if we didn't have the NaN problem. These are all sort of lame reasons, but that's the way it is for the moment. Tim > *) If it needs to be a command-line-only thing, then that > restriction needs to be documented ... and using it in > .fgfsrc should result in an error message. > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel >
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel