Andy Ross wrote:
> Erik Hofman wrote:
>  > Andy Ross wrote:
>  > > This is perfectly legal C++; I tried it with gcc (full program
>  > > attached) and it works fine.  What errors are you seeing?
>  >
>  > This program gives me a core dump, because __fg_snd_[0].fn == NULL.
> 
> Not in the code snippet you sent.  The value of __fg_snd_[0].fn is the
> address of the _fg_lin function.  It's not my data structure, you
> defined it. :)
> 
> When run under gcc, in fact the _fg_lin function is called, and
> returns zero, which output appears on the console.  All normal.  You
> have a compiler bug.  Which compiler are you using?  Try sending the

SGI MipsPro 7.2.1

> program to the vendor and saying "This is legal, gcc compiles it fine,
> but you don't".

Well, it is already an older version of the compiler which up until now 
hasn;t caused any problems. I think I have to check for bug fixes now.

Thanks for the help Andy.

Erik




_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to