On Saturday 29 September 2007 15:54, I wrote:
>
> Now, when trying to add this to SimGear's SGSubsystem class, I got a
> segmentation fault immediately. After some experimentation, I found out
> that even adding a single integer variable to SGSubsystems, as in:
>
> class SGSubsystem
> {
  [SNIP]
> };
>
> In addition, I'd have a function SGSubsystem::stamp(string event), which
> adds time stamps to the vector, and a function printTimingInformation(),
> which conditionally prints timing results to the console afer function
> execution is finished.
>
> Causes FlightGear to crash in AIBase:


Unfortunately, a formatting error slipped in here, which makes this chunk of 
text quite incomprehensible. 

Now, when trying to add this to SimGear's SGSubsystem class, I got a
segmentation fault immediately. After some experimentation, I found out
that even adding a single integer variable to SGSubsystems, as in

class SGSubsystem
{
   ..
  ..
    protected:

  bool _suspended;

  //eventTimeVec *timingInfo;
  int test;

};

causes FlightGear to crash in AIBase.

Hope this clarified things a bit. :-)

Cheers,
Durk

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to