public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* Compile problems with GCC 3.0.4
@ 2002-04-23 16:23 Klaus Pedersen
  2002-04-24  7:47 ` Ben Elliston
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Pedersen @ 2002-04-23 16:23 UTC (permalink / raw)
  To: SID-list

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

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

[-- Attachment #2: sid-fixes-20020424.diff --]
[-- Type: text/plain, Size: 2069 bytes --]

? 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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compile problems with GCC 3.0.4
  2002-04-23 16:23 Compile problems with GCC 3.0.4 Klaus Pedersen
@ 2002-04-24  7:47 ` Ben Elliston
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Elliston @ 2002-04-24  7:47 UTC (permalink / raw)
  To: Klaus Pedersen; +Cc: SID-list

>>>>> "Klaus" == Klaus Pedersen <klaus.kruse.pedersen@mail.tele.dk> writes:

  Klaus> * There are a lot of throw() issues.
  Klaus> * A missing deconstructor in mmu/armRemap.cxx
  Klaus> * Some namespace problems in sidcpuutils.h

  Klaus> Does my changes make any sense, or is it GCC problems?

No, your changes make sense.  I am just surprised we had not caught
them before now.  I will take a look through your patches in due
course and apply them as necessary.  Thanks!

Ben

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-24 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-23 16:23 Compile problems with GCC 3.0.4 Klaus Pedersen
2002-04-24  7:47 ` Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).