On Tue, Mar 30, 2010 at 7:42 PM, Maarten Brock <[email protected]>wrote:

> Why do you use the cast to unsigned int? That inserts a new intermediate
> operand.
>
>
Otherwise sdcc will fail on error:

t.c:20: error 43: invalid operand for shift operator
t.c:20: warning 113: left & right types are
unsigned-char xdata* fixed,const-unsigned-char literal
t.c:21: error 45: operand invalid for bitwise operation
t.c:21: warning 113: left & right types are
unsigned-char xdata* fixed,const-unsigned-char literal

-- 
Cheers,
Grissiom
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to