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:

I synced the source just a minute ago, but the same compile problem is
still there. I had some time left to look at the issue.

Thanks. It's difficult for me to look into it since I can't reproduce it.



Compiling the files arm.cxx and compTIMERS.cxx both give the same error:


/home/ambrmi09/projects/sid/src/sid/component/timers/arm7t/arm7t-timer.h:142:

error: looser throw specifier for 'virtual
armTimerNoSched::~armTimerNoSched()'
/home/ambrmi09/projects/sid/src/sid/component/timers/arm7t/arm7t-timer.h:70:


error: overriding 'virtual armTimer::~armTimer() throw ()'

I made the following change:

Index: sid/component/timers/arm7t/arm7t-timer.h
===================================================================
RCS file: /cvs/src/src/sid/component/timers/arm7t/arm7t-timer.h,v
retrieving revision 1.3
diff -r1.3 arm7t-timer.h
70c70
<   ~armTimer() throw () { }
---

~armTimer() { throw (1); }


Have a look if the pach seems OK.

This relates to the removal of throw () specifiers from the SID API recently. The correct patch is to remove the throw specifier on ~armTimer completely. I'll test it and commit it, hopefully today.


Dave



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