Re: Building SID
Dave Brolley <[email protected]> Fri, 02 Mar 2007 13:44:49 -0500
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
Michael Ambrus wrote:
>
> Dave, regarding the thow patch: you reverted to the same as it was 2
> revisions ago. It chokes gcc 4.0 for some reason (something about a
> loose throw...). Can't you put the thow() inside the {}?
Hmmm -- I don't see any destructor for armTimerNoSched in any previous
revision. However, I think the problem is that I forgot to add a
destructor to armTimerSched. Try this patch and let me know if it works
for you.
Dave
sid.throw-1.patch.txt
(text/plain, 614 B)
Index: sid/component/timers/arm7t/arm7t-timer.h
===================================================================
RCS file: /cvs/src/src/sid/component/timers/arm7t/arm7t-timer.h,v
retrieving revision 1.4
diff -c -p -r1.4 arm7t-timer.h
*** sid/component/timers/arm7t/arm7t-timer.h 2 Mar 2007 17:02:07 -0000 1.4
--- sid/component/timers/arm7t/arm7t-timer.h 2 Mar 2007 18:39:51 -0000
*************** class armTimerSched: public armTimer
*** 160,165 ****
--- 160,166 ----
{
public:
armTimerSched();
+ ~armTimerSched() throw () {}
private:
friend class scheduler_event_subscription<armTimerSched>;