Andy Ross wrote:
> Erik Hofman wrote:
>  > I have a propblem with a peace of CC code which is pretty standard for
>  > common C. When I define a structure and point an array to a
>  > pre-defined array;
>  >
>  > [...]
>  >
>  > this works for C but not for CC?  Am I doing something wrong here, or
>  > doesn't CC allow this type of declaration (and if not, is there an
>  > alternative)?
> 
> 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.

Erik


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

Reply via email to