From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31120 invoked by alias); 23 Apr 2002 23:23:45 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 31104 invoked from network); 23 Apr 2002 23:23:43 -0000 Received: from unknown (HELO fepC.post.tele.dk) (195.41.46.147) by sources.redhat.com with SMTP; 23 Apr 2002 23:23:43 -0000 Received: from mail.tele.dk ([80.62.158.147]) by fepC.post.tele.dk (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020423232342.EMAD11508.fepC.post.tele.dk@mail.tele.dk> for ; Wed, 24 Apr 2002 01:23:42 +0200 Message-ID: <3CC5ED29.2060603@mail.tele.dk> Date: Tue, 23 Apr 2002 16:23:00 -0000 From: Klaus Pedersen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417 X-Accept-Language: en-us, en MIME-Version: 1.0 To: SID-list Subject: Compile problems with GCC 3.0.4 Content-Type: multipart/mixed; boundary="------------070509090403020206030107" X-SW-Source: 2002-q2/txt/msg00010.txt.bz2 This is a multi-part message in MIME format. --------------070509090403020206030107 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 552 Hi, I experience some problems with the current HEAD of sid when compiling with gcc 3.0.4. Be warned though, this stuff is on the edge of my c++ knowledge... * There are a lot of throw() issues. * A missing deconstructor in mmu/armRemap.cxx * Some namespace problems in sidcpuutils.h Sid is configured on my Linux box with: CC=gcc-3.0.4 CXX=g++-3.0.4 \ ac_cv_lib_kernel32_main=no \ ac_cv_lib_winmm_main=no \ ../sid/src/configure --prefix=/opt/sid --target=arm-elf Does my changes make any sense, or is it GCC problems? BR, Klaus --------------070509090403020206030107 Content-Type: text/plain; name="sid-fixes-20020424.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sid-fixes-20020424.diff" Content-length: 2069 ? cvs-update-status ? cvs-update-status2 ? cgen/.nautilus-metafile.xml Index: sid/component/interrupt/arm.h =================================================================== RCS file: /cvs/src/src/sid/component/interrupt/arm.h,v retrieving revision 1.2 diff -r1.2 arm.h 18c18 < ~armIntController() { } --- > ~armIntController() throw() { } Index: sid/component/interrupt/cma222.h =================================================================== RCS file: /cvs/src/src/sid/component/interrupt/cma222.h,v retrieving revision 1.1 diff -r1.1 cma222.h 17c17 < cma222IntController::~cma222IntController() { } --- > cma222IntController::~cma222IntController() throw() { } Index: sid/component/interrupt/components.h =================================================================== RCS file: /cvs/src/src/sid/component/interrupt/components.h,v retrieving revision 1.4 diff -r1.4 components.h 87c87 < virtual ~IntController() { } --- > virtual ~IntController() throw() { } 100c100 < ~interrupt_bus() { } --- > ~interrupt_bus() throw() { } 128c128 < ~interrupt_lines() --- > ~interrupt_lines() throw() Index: sid/component/mapper/compMapper.cxx =================================================================== RCS file: /cvs/src/src/sid/component/mapper/compMapper.cxx,v retrieving revision 1.11 diff -r1.11 compMapper.cxx 397c397 < this->selected_accessors.push_back (it); --- > this->selected_accessors.push_back (&(*it)); Index: sid/component/mmu/armRemap.cxx =================================================================== RCS file: /cvs/src/src/sid/component/mmu/armRemap.cxx,v retrieving revision 1.1 diff -r1.1 armRemap.cxx 76a77 > ~armRemapPause() throw() {}; Index: sid/include/sidcpuutil.h =================================================================== RCS file: /cvs/src/src/sid/include/sidcpuutil.h,v retrieving revision 1.18 diff -r1.18 sidcpuutil.h 596c596 < cout << t; --- > std::cout << t; 598c598 < dynamic_cast (s) << t; --- > dynamic_cast (s) << t; --------------070509090403020206030107--