This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.0.2 m68k - invalid lvalue


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]