Compilation error
kannappan at tesbv.com
kannappan at tesbv.com
Sat Sep 8 08:32:08 UTC 2007
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.
More information about the uClibc
mailing list