Jon Berndt wrote:
>I'm getting a build error for FlightGear with the newest stuff from CVS.
>Any clues?

>Jon


>g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src     -c
> -o transmissionlist.o `test -fcho './'`transmissionlist.cxx
>transmissionlist.cxx: In method `class string
>FGTransmissionList::gen_text(const int &, TransCode, const T
>transmissionlist.cxx:209: passing `char (*)[4]' as argument 2 of
>`bcopy(const char *, char *, unsigned int
>make[2]: *** [transmissionlist.o] Error 1


Hi Jon,

You could try replacing

bcopy(pos, &tag, 3);

with

bcopy(pos, &tag[0], 3);

and let us know how that goes.  What compiler and OS are you on - I don't see this 
with gcc-3.2 on either Cygwin or Linux.

If you're just desparate to get compiled you could also replace the whole function 
implementation with

return "No transmission found";

as long as you're not planning to communicate with approach control!

Cheers - Dave

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

Reply via email to