public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/16232] Poor diagnostic
Date: Fri, 20 Jan 2012 02:35:00 -0000	[thread overview]
Message-ID: <bug-16232-4-WFaa82RIsi@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-16232-4@http.gcc.gnu.org/bugzilla/>

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-20 01:34:02 UTC ---
t.cc: In instantiation of ‘void B<V>::Bar(V*) [with V = A<bool>]’:
t.cc:12:13:   required from here
t.cc:6:9: error: no matching function for call to ‘A<bool>::Foo()’
t.cc:6:9: note: candidate is:
t.cc:2:31: note: template<class U> void A::Foo() [with U = U; T = bool]
t.cc:2:31: note:   template argument deduction/substitution failed:
t.cc:6:9: note:   couldn't deduce template parameter ‘U’

So fixed.


       reply	other threads:[~2012-01-20  1:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-16232-4@http.gcc.gnu.org/bugzilla/>
2012-01-20  2:35 ` pinskia at gcc dot gnu.org [this message]
2012-01-20  2:45 ` pinskia at gcc dot gnu.org
2004-06-27 17:23 [Bug c++/16232] New: " igodard at pacbell dot net
2004-06-27 17:41 ` [Bug c++/16232] " pinskia at gcc dot gnu dot org
2004-06-27 17:41 ` igodard at pacbell dot net
2004-06-27 17:48 ` igodard at pacbell dot net
2004-06-27 17:49 ` pinskia at gcc dot gnu dot org
2005-06-27  4:36 ` pinskia at gcc dot gnu dot org

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-16232-4-WFaa82RIsi@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).