Andy Dougherty writes:
> On Wed, 1 Oct 2003, Leopold Toetsch wrote:
> 
> > Andy Dougherty wrote:
> >
> > > Building with Sun's Workshop compiler, I'm currently getting stuck when
> > > comiling core_ops.c with the message:
> > >
> > >     "bit.ops", line 349: a cast does not yield an lvalue
> 
> > >       ((UINTVAL) $1 >>= $2;
> 
> >         *(UINTVAL*) $1
> >
> > should do the trick.

The compiling trick.  But that makes me shiver in my boots.

    *(UINTVAL*) &$1

Luke

> Thanks.  That lets the compile succeed.  I still fail t/op/bitwise test 7;
> I don't yet know if it's related.  I'll need to investigate further.
> 
> -- 
>     Andy Dougherty            [EMAIL PROTECTED]

Reply via email to