[LLVMbugs] [Bug 8119] missing typename in function prototype is parsed as variable declaration
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 19 09:35:45 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=8119
Seth <seth.cantrell at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |seth.cantrell at gmail.com
Resolution| |FIXED
--- Comment #1 from Seth <seth.cantrell at gmail.com> 2012-07-19 11:35:45 CDT ---
I just tried this and got the following good diagnostic:
C:\Users\cantrell\Desktop\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.cpp:9:11:
warning: missing 'typename' prior to dependent type name
'Map<S>::Iterator' [-Wtypename-missing]
void f1(Map<S>::Iterator v) {
^~~~~~~~~~~~~~~~
typename
--
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