https://bugs.llvm.org/show_bug.cgi?id=40565

            Bug ID: 40565
           Summary: Regression: ATL headers fail to compile: recursive
                    template instantiation
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: jva...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@metafoo.co.uk

The windows headers to deal with the COM libraries fail to compile in
8.0.0-RC1, while they compiled with 7.0.0
(Side note: Would it be possible to add these to some kind of testsuite for
verification, as these same headers already caused issues in the past?)

t.cpp
-----
#include <atlbase.h>
#include <atlwin.h>
#include <atldef.h>
#include <atliface.h>
#include <comdef.h>
#include <atlhost.h>
#include <statreg.h>

run.bat
-------
set OPTIONS=/nologo /c /GR /EHsc /std:c++17   -fms-compatibility-version=19.11
t.cpp 

:: FAILURE
C:\LLVM_8_0_0_RC1\bin\clang-cl.exe %OPTIONS%
:: SUCCESS
C:\LLVM_7_0_0\bin\clang-cl.exe %OPTIONS%

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to