<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Regression: ATL headers fail to compile: recursive template instantiation"
   href="https://bugs.llvm.org/show_bug.cgi?id=40565">40565</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression: ATL headers fail to compile: recursive template instantiation
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>8.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jvapen@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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%</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>