This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
Compile problems with GCC 3.0.4
- From: Klaus Pedersen <klaus dot kruse dot pedersen at mail dot tele dot dk>
- To: SID-list <sid at sources dot redhat dot com>
- Date: Wed, 24 Apr 2002 01:24:25 +0200
- Subject: Compile problems with GCC 3.0.4
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
? 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<bus_size>() { }
---
> virtual ~IntController<bus_size>() 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 <ofstream&> (s) << t;
---
> dynamic_cast <std::ofstream&> (s) << t;