public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53173] PROD02
Date: Tue, 01 May 2012 09:37:00 -0000	[thread overview]
Message-ID: <bug-53173-4-0g0h7mXVtD@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53173-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53173

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-01 09:36:50 UTC ---
(In reply to comment #2)
> 2. error: no matching function for call to ‘std::pair<const long unsigned int,
> boost::shared_ptr<const a::b::c::dConfig> >::pair(long unsigned int, const
> a::b::c::Config*)’

There is no implicit conversion from Config* to shared_ptr<Config>, it was a
bug in GCC that the code compiled previously.

You need to create the pair with a shared_ptr<Config> as the second argument,
not a Config*

> 5. error: declaration of ‘~typename a::b::c::dControl<Data, PublicSecurityID,
> PrivateSecurityID, ControlQueue, StatusQueue, Queue>::dControl’ as member of
> ‘a::b::c::dControl<Data, PublicSecurityID, PrivateSecurityID, FeedControlQueue,
> StatusQueue, Queue>’

You're declaring a destructor with the wrong type.


  parent reply	other threads:[~2012-05-01  9:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-30 19:02 [Bug c++/53173] New: PROD02 shalja.rudra at gmail dot com
2012-04-30 20:03 ` [Bug c++/53173] PROD02 marc.glisse at normalesup dot org
2012-04-30 20:32 ` shalja.rudra at gmail dot com
2012-05-01  9:37 ` redi at gcc dot gnu.org [this message]
2012-05-01  9:41 ` redi at gcc dot gnu.org
2012-05-01  9:41 ` redi at gcc dot gnu.org
2012-05-02 14:53 ` [Bug c++/53173] GCC 4.6.2 errors shalja.rudra at gmail dot com
2012-05-04 19:36 ` [Bug c++/53173] GCC 4.6.3 errors shalja.rudra at gmail dot com
2012-05-04 19:38 ` shalja.rudra at gmail dot com
2012-05-04 19:47 ` redi at gcc dot gnu.org
2012-05-04 20:12 ` shalja.rudra at gmail dot com

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=bug-53173-4-0g0h7mXVtD@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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).