> -----Original Message-----
> From: Martin Sevior [mailto:[EMAIL PROTECTED]]
>
>  They're too numerous to send via email. Checkout:
>
http://www.abisource.com/tinderbox/

Doh!  Why didn't I think of that?

Anyway, the PPC BeOS error appears to because the compiler is very strict:

### mwcc Compiler Error:
#       wvStream_create(in, FILE_STREAM, (wvInternalStream)inner);
#                                                               ^
#   illegal explicit conversion from 'struct _FILE *' to
#   'union '
#----------------------------------------------------------
    File "/boot/home/work/tbscripts/BeOS_4.5_clobber/wv/support.c"; Line 69
#----------------------------------------------------------
### mwcc Compiler Error:
#       wvStream_create(in, LIBOLE_STREAM, (wvInternalStream)inner);
#                                                                 ^
#   illegal explicit conversion from 'struct _MsOleStream *' to
#   'union '
#----------------------------------------------------------
    File "/boot/home/work/tbscripts/BeOS_4.5_clobber/wv/support.c"; Line 74
#----------------------------------------------------------

I'm casting to a union (which I didn't realise was illegal).

The solution is to change the lines to:

wvInternalStream str;
str.file_stream=inner;
wvStream_create(in, FILE_STREAM, str);

and

wvInternalStream str;
str.libole_stream=inner
wvStream_create(in, LIBOLE_STREAM, str);

respectively.  Seems a bit long-winded when a cast would do, but I guess you
have to pay for correctness (or something).

More updates later, when tinderbox finishes it's current builds (or,
hopefully, no updates, because it'll work :-)

Jamie.





Reply via email to