[LLVMbugs] [Bug 12547] New: Unhelpful "did you mean" for mistyped template

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 13 04:36:21 PDT 2012


             Bug #: 12547
           Summary: Unhelpful "did you mean" for mistyped template
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: chris at bubblescope.net
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The following code:

#include <vector>

int main(void)
  std:vector<int> v;

Produces the error:

/Users/caj/temp/temp.cc:5:9: error: no template named 'vector'; did you mean
    std:vector<int> v;

It took me a good couple of minutes to figure out what the actual problem was
(there is only a single : )


Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list