From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17151 invoked by alias); 25 Mar 2006 09:09:47 -0000 Received: (qmail 17141 invoked by uid 22791); 25 Mar 2006 09:09:47 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 25 Mar 2006 09:09:45 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FN4lo-0006k5-00; Sat, 25 Mar 2006 10:09:16 +0100 Date: Sun, 26 Mar 2006 22:54:00 -0000 To: Marco Aur?lio da Cruz Cc: ecos-discuss@sourceware.org Message-ID: <20060325090916.GG3228@lunn.ch> Mail-Followup-To: Marco Aur?lio da Cruz , ecos-discuss@sourceware.org References: <44243B81.7040603@daruma.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44243B81.7040603@daruma.com.br> User-Agent: Mutt/1.5.11+cvs20060126 From: Andrew Lunn X-IsSubscribed: yes 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/msg00216.txt.bz2 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' > > 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 Please could you produce a proper patch, with ChangeLog entries. Thanks Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss