public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* compile issue with gcc 4.6.1
@ 2012-03-12 10:37 Aurelien Buhrig
  0 siblings, 0 replies; only message in thread
From: Aurelien Buhrig @ 2012-03-12 10:37 UTC (permalink / raw)
  To: sid

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

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

[-- Attachment #2: patch_components.h --]
[-- Type: text/plain, Size: 253 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-12 10:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-12 10:37 compile issue with gcc 4.6.1 Aurelien Buhrig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).