http://llvm.org/bugs/show_bug.cgi?id=12547
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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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'?
std:vector<int> v;
^~~~~~
std::vector
It took me a good couple of minutes to figure out what the actual problem was
(there is only a single : )
Chris
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs