On 12/13/2009 02:33 AM, Erik Hofman wrote:

> Jon, could you specify if this was with 'real' weather enabled or 
> disabled? I've seen something similar when it was enabled but haven't 
> seen it without real weather.

With an explicit --disable-real-weather-fetch, I still 
observe an early FPE, while the splash screen is still
up ... if the FPE trap is enabled.

==========

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?
 *) 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to