[llvm-bugs] [Bug 40565] New: Regression: ATL headers fail to compile: recursive template instantiation

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 1 11:49:30 PST 2019


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: unassignedclangbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190201/5809e76b/attachment.html>


More information about the llvm-bugs mailing list