gdb and invalid lvalue in assignment
Steven Scholz
steven.scholz@imc-berlin.de
Wed Nov 16 12:31:00 GMT 2005
Matthew J Fletcher wrote:
>>Are there any patches for the gdb to fix that?
>
>
> gcc4 (your system compiler) is just more picky, just change the dodgy
> promotion casts on the left side of the expression to be on the right side,
> like they should have been all along, if indeed they are needed at all.
Well. Sometimes this type casting is some tricky programming hack. So
maybe I don't get the real idea behind lines like
ARMdword t = 0;
...
(signed long long) t += s;
and break it....
--
Steven
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list