[LLVMbugs] [Bug 12705] In microsoft mode, delay default template argument checking until template definition time

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 11 09:48:34 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=12705

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Reid Kleckner <rnk at google.com> ---
This was fixed in r210382, we accept with a warning:

$ clang -c t.cpp
t.cpp:1:29: warning: using the undeclared type 'Foo' as a default template
argument is a Microsoft extension [-Wmicrosoft]
template<class T, class S = Foo>
                            ^
1 warning generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140811/640ae276/attachment.html>


More information about the llvm-bugs mailing list