Re: Building SID
Dave Brolley <[email protected]> Fri, 02 Mar 2007 10:58:23 -0500
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
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