<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(314461 or 314462): clang-cl can no longer compile COM code"
href="https://bugs.llvm.org/show_bug.cgi?id=34805">34805</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression(314461 or 314462): clang-cl can no longer compile COM code
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Our clang/win chromium bots turned red. Error:
../..\remoting/host/win/rdp_desktop_session.h(67,3): error: attribute
'nothrow' ignored due to conflicting exception specification
[-Werror,-Wignored-attributes]
c:\b\c\win_toolchain\vs_files\9bc7ccbf9f4bd50d4a3bd185e8ca94ff1618de0b\win_sdk\bin\..\..\vc\tools\msvc\14.11.25503\atlmfc\include\atlcom.h(2358,2):
note: expanded from macro 'END_COM_MAP'
STDMETHOD(QueryInterface)( \
^
c:\b\c\win_toolchain\vs_files\9bc7ccbf9f4bd50d4a3bd185e8ca94ff1618de0b\win_sdk\bin\..\..\win_sdk\include\10.0.15063.0\um\combaseapi.h(198,42):
note: expanded from macro 'STDMETHOD'
#define STDMETHOD(method) virtual COM_DECLSPEC_NOTHROW HRESULT
STDMETHODCALLTYPE method
^
c:\b\c\win_toolchain\vs_files\9bc7ccbf9f4bd50d4a3bd185e8ca94ff1618de0b\win_sdk\bin\..\..\win_sdk\include\10.0.15063.0\um\combaseapi.h(193,30):
note: expanded from macro 'COM_DECLSPEC_NOTHROW'
#define COM_DECLSPEC_NOTHROW DECLSPEC_NOTHROW
^
c:\b\c\win_toolchain\vs_files\9bc7ccbf9f4bd50d4a3bd185e8ca94ff1618de0b\win_sdk\bin\..\..\win_sdk\include\10.0.15063.0\um\winnt.h(198,39):
note: expanded from macro 'DECLSPEC_NOTHROW'
#define DECLSPEC_NOTHROW __declspec(nothrow)
^
note: exception specification declared here
The code in question:
BEGIN_COM_MAP(RdpDesktopSession)
COM_INTERFACE_ENTRY(IRdpDesktopSession)
COM_INTERFACE_ENTRY(IUnknown)
END_COM_MAP()
So this is all system header code. Let's revert to get things green again, and
then think about what to do.</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>