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: unassig...@gcc.gnu.org
        ReportedBy: vegard.nos...@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.

Reply via email to