This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


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: Problems building ecos sources


On Mon, 2006-02-27 at 10:22 +0100, Andrew Lunn wrote:
> > 	The problem seems to be in the last line:
> > 
> >     (_sparg_)      = (CYG_ADDRESS) _regs_;                              \
> > 
> > 	My gcc version is 4.0.2:
> 
> That makes sense. Thew macro is being called with:
> 
> HAL_THREAD_INIT_CONTEXT((CYG_ADDRWORD)workspace_end,
>                                         breakpoint, trampoline,0);
> 
> and (_sparg_) is the first parameter. Edit main.c change the cast to
> (CYG_ADDRESS). It might work, or it might still compain about casting
> the lvalue....
> 
>         Andrew

	Still complaining, same error.

David.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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