This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51724] New: no matching function for call; confused by earlier errors, bailing out
- From: "vegard.nossum at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 01 Jan 2012 15:57:17 +0000
- Subject: [Bug c++/51724] New: no matching function for call; confused by earlier errors, bailing out
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51724
Bug #: 51724
Summary: no matching function for call; confused by earlier
errors, bailing out
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vegard.nossum@gmail.com
Created attachment 26211
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26211
Test-case
When trying to compile the attached test-case, I get the following strange
message:
$ g++ -std=c++0x -c bugreport.cc
bugreport.cc: In member function âvoid solver<T, Plugin>::foo(solver<T,
Plugin>::type) [with T = int, Plugin = plugin<>, solver<T, Plugin>::type =
int]â:
bugreport.cc:39:32: instantiated from here
bugreport.cc:33:3: error: no matching function for call to
âplugin<>::foo(solver<int, plugin<> >&, solver<int, plugin<> >::type&)â
bugreport.cc:33:3: note: candidates are:
bugreport.cc:33: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/cctuTFs6.out file, please attach this to
your bugreport.