compile issue with gcc 4.6.1
Aurelien Buhrig <[email protected]> Mon, 12 Mar 2012 11:37:27 +0100
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, There is a compile issue with gcc 4.6 in RTC component: In file included from [...]/src/sid/component/rtc/ds1x42.cxx:9:0: [...]/src/sid/component/rtc/components.h:214:7: error: looser throw specifier for 'virtual ds1742::~ds1742()' [...]/src/sid/component/rtc/components.h:63:3: error: overriding 'virtual ds1642::~ds1642() throw ()' Patch attached. Aurélien
patch_components.h
(text/plain, 253 B)
--- components.h.orig 2012-03-12 10:08:24.176473825 +0100
+++ components.h 2012-03-12 10:08:39.736473329 +0100
@@ -215,6 +215,7 @@
{
public:
ds1742();
+ ~ds1742() throw () {}
private:
bus::status read_7f8(host_int_4 addr, host_int_1& data);