This is the mail archive of the sid@sourceware.org mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building SID


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

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]