From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2975 invoked by alias); 24 Mar 2006 18:33:43 -0000 Received: (qmail 2947 invoked from network); 24 Mar 2006 18:33:40 -0000 Received: from unknown (200.155.11.194) by sourceware.org with QMTP; 24 Mar 2006 18:33:40 -0000 Received: (qmail 12669 invoked from network); 24 Mar 2006 18:35:13 -0000 Received: from unknown (HELO [10.2.14.30]) ([gmailpbs]a.costa@daruma.com.br@[200.178.236.2]) (envelope-sender ) by bloco-01.gmail.comdominio.com.br (qmail-ldap-1.03) with SMTP for ; 24 Mar 2006 18:35:12 -0000 Message-ID: <44243B81.7040603@daruma.com.br> Date: Fri, 24 Mar 2006 18:49:00 -0000 From: =?ISO-8859-1?Q?Marco_Aur=E9lio_da_Cruz?= User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: ecos-discuss@sourceware.org Content-Type: multipart/mixed; boundary="------------000909060409010102080709" 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: [ECOS] eCos and GCC 4.1.0 X-SW-Source: 2006-03/txt/msg00210.txt.bz2 --------------000909060409010102080709 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 883 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 --------------000909060409010102080709 Content-Type: text/plain; name="thread.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="thread.diff" Content-length: 79 315c315 < void Cyg_Thread::reinitialize(); --- > void reinitialize(); --------------000909060409010102080709 Content-Type: text/plain; name="sched.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sched.diff" Content-length: 128 181c181 < void Cyg_Scheduler::thread_entry( Cyg_Thread *thread ); --- > void thread_entry( Cyg_Thread *thread ); --------------000909060409010102080709 Content-Type: text/plain; charset=us-ascii Content-length: 148 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss --------------000909060409010102080709--