From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19305 invoked by alias); 28 Mar 2006 10:10:55 -0000 Received: (qmail 19293 invoked by uid 22791); 28 Mar 2006 10:10:55 -0000 X-Spam-Check-By: sourceware.org Received: from snape.ecoscentric.com (HELO snape.ecoscentric.com) (212.13.207.199) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Mar 2006 10:10:53 +0000 Received: from [192.168.7.9] (dargo.barn.ecoscentric.com [192.168.7.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by snape.ecoscentric.com (Postfix) with ESMTP id 501B1DC8042; Tue, 28 Mar 2006 11:10:50 +0100 (BST) Message-ID: <44290BA9.9050507@eCosCentric.com> Date: Tue, 28 Mar 2006 12:38:00 -0000 From: Jonathan Larmour User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Marco_Aur=E9lio_da_Cruz?= Cc: ecos-discuss@sourceware.org, eCos Patches List References: <44243B81.7040603@daruma.com.br> <20060325090916.GG3228@lunn.ch> <44280312.3010300@daruma.com.br> <039401c651c0$bdc8ec30$5a188481@haus.hellmutstrasse.ch> <442822E0.1000306@daruma.com.br> In-Reply-To: <442822E0.1000306@daruma.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] eCos and GCC 4.1.0 X-SW-Source: 2006-03/txt/msg00231.txt.bz2 Marco Aurélio da Cruz wrote: > Thank you very much! > > The file is attached. Thanks Marco, I've checked this in! (with some whitespace changes) Jifl >> ----- Original Message ----- From: "Marco Aurélio da Cruz" >> >> To: >> Sent: Monday, March 27, 2006 5:21 PM >> Subject: Re: [ECOS] eCos and GCC 4.1.0 >> >> >>> I've read some messages about doing this but I'm not aware how to... >>> >>> I edited my local /packages/kernel/current/include files, changed the >>> /packages/kernel/current/ChangLog but I'm not able to generate the diff >>> file. I'm so newbie with CVS and patches... >>> >>> Marco >>> >>> Andrew Lunn wrote: >>> >>>> On Fri, Mar 24, 2006 at 03:33:37PM -0300, Marco Aur?lio da Cruz wrote: >>>> >>>>> 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' [snip] > ------------------------------------------------------------------------ > > ? packages/kernel/kernel.01.diff > Index: packages/kernel/current/ChangeLog > =================================================================== > RCS file: /cvs/ecos/ecos/packages/kernel/current/ChangeLog,v > retrieving revision 1.131 > diff -u -r1.131 ChangeLog > --- packages/kernel/current/ChangeLog 14 Feb 2006 19:10:06 -0000 1.131 > +++ packages/kernel/current/ChangeLog 27 Mar 2006 17:31:09 -0000 > @@ -1,3 +1,10 @@ > +2006-03-27 Marco Cruz > + > + * include/thread.hxx: removed extra qualifier of Cyg_Thread::reinitialize() to > + permit compile on gcc 4.1.0 > + * include/sched.hxx: removed extra qualifier of Cyg_Scheduler::thread_entry to > + permit compile on gcc 4.1.0 > + > 2006-02-14 Andrew Lunn > > * tests/timeslice.c (STACK_SIZE): Reduce the stack size so it will > Index: packages/kernel/current/include/sched.hxx > =================================================================== > RCS file: /cvs/ecos/ecos/packages/kernel/current/include/sched.hxx,v > retrieving revision 1.13 > diff -u -r1.13 sched.hxx > --- packages/kernel/current/include/sched.hxx 10 Jan 2006 15:52:54 -0000 1.13 > +++ packages/kernel/current/include/sched.hxx 27 Mar 2006 17:31:10 -0000 > @@ -178,7 +178,7 @@ > static void unlock_simple(); > > // perform thread startup housekeeping > - void Cyg_Scheduler::thread_entry( Cyg_Thread *thread ); > + void thread_entry( Cyg_Thread *thread ); > > // Start execution of the scheduler > static void start() CYGBLD_ATTRIB_NORET; > Index: packages/kernel/current/include/thread.hxx > =================================================================== > RCS file: /cvs/ecos/ecos/packages/kernel/current/include/thread.hxx,v > retrieving revision 1.11 > diff -u -r1.11 thread.hxx > --- packages/kernel/current/include/thread.hxx 14 Apr 2004 09:32:05 -0000 1.11 > +++ packages/kernel/current/include/thread.hxx 27 Mar 2006 17:31:11 -0000 > @@ -312,7 +312,7 @@ > ); > > // Re-initialize the thread back to it's initial state. > - void Cyg_Thread::reinitialize(); > + void reinitialize(); > > ~Cyg_Thread(); > > > -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts *> Visit us at ESC Silicon Valley, April 4-6 2006. Booth 1448 <* *> San Jose McEnery Convention Center http://www.embedded.com/esc/sv <* ------["The best things in life aren't things."]------ Opinions==mine -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss