[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 12705] New: In microsoft mode, delay default template argument checking until templa
From:       bugzilla-daemon () llvm ! org
Date:       2012-04-30 17:28:28
Message-ID: bug-12705-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

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

             Bug #: 12705
           Summary: In microsoft mode, delay default template argument
                    checking until template definition time
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs@nondot.org
        ReportedBy: nicolasweber@gmx.de
                CC: dgregor@apple.com, llvmbugs@cs.uiuc.edu
    Classification: Unclassified


template<class T, class S = Foo>
class Class;

class Foo {};


template<class T, class S>
class Class {
};



C:\src\chrome\src>cl test.cc /c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

test.cc

C:\src\chrome\src>..\..\llvm-build\bin\Release\clang.exe -c test.cc
test.cc:1:29: error: unknown type name 'Foo'
template<class T, class S = Foo>
                            ^
1 error generated.


This is required to parse atlwin.h

-- 
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
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic