From: Aurelien Buhrig <aurelien.buhrig.gcc@gmail.com>
To: sid@sourceware.org
Subject: compile issue with gcc 4.6.1
Date: Mon, 12 Mar 2012 10:37:00 -0000 [thread overview]
Message-ID: <4F5DD1E7.2060608@gmail.com> (raw)
[-- 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);
reply other threads:[~2012-03-12 10:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F5DD1E7.2060608@gmail.com \
--to=aurelien.buhrig.gcc@gmail.com \
--cc=sid@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).