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]

eCos and GCC 4.1.0


Hi.
I've downloaded the ecos-trunk-20060319 snapshot from eCoscentric and tried to compile it on arm-elf-gcc 4.1.0.


I got the errors below:

.../include/cyg/kernel/sched.hxx:181: error: extra qualification 'Cyg_Scheduler::' on member 'thread_entry'
.../include/cyg/kernel/thread.hxx:315: error: extra qualification 'Cyg_Thread::' on member 'reinitialize'


I edited the files in /packages/kernel/current/include and removed the qualifiers. So it compiled OK.

sched.hxx

from:
/// perform thread startup housekeeping/
void Cyg_Scheduler::thread_entry( Cyg_Thread *thread );

to:
/// perform thread startup housekeeping/
void thread_entry( Cyg_Thread *thread );


thread.hxx


from:
/// Re-initialize the thread back to it's initial state./
void Cyg_Thread::reinitialize();

to:
/// Re-initialize the thread back to it's initial state./
void reinitialize();


Regards


Marco Cruz
315c315
<     void Cyg_Thread::reinitialize();
---
>     void reinitialize();

181c181
<     void Cyg_Scheduler::thread_entry( Cyg_Thread *thread );
---
>     void 					thread_entry( Cyg_Thread *thread );


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