GCC 4.0.2 m68k - invalid lvalue

Lennert Buytenhek buytenh@wantstofly.org
Sat Oct 29 17:02:00 GMT 2005


On Sat, Oct 29, 2005 at 12:59:14PM -0400, Brian Rose wrote:

> How should I resolve this problem? What is the problem?
>
> [snip]
> 
>     (rtems_event_set) the_thread->Wait.count = 0;

gcc doesn't like this.  Write this instead:

	the_thread->Wait.count = (rtems_event_set) 0;


--L

------
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