i have the following piece of code which gives compilation error (like  
lvalue requried...)  may be bug with the compiler

uchar *s;

*((ushort *)s)++ = val;

if i change that to
  *(ushort *)s = val;
  s+=2;

it works fine.

I am using uclibc 0.9.29, gcc 4.1.2, binutils 2.17.





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to