<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - clang-cl fails to compile vswriter.h header from Windows SDK 8.1 in 32 bit mode"
href="https://llvm.org/bugs/show_bug.cgi?id=24595">24595</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang-cl fails to compile vswriter.h header from Windows SDK 8.1 in 32 bit mode
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>andreybokhanko@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>clang-cl fails to compile vswriter.h header from Windows SDK 8.1 in 32 bit
mode.
Reproducer:
$ cat test.cpp
#include <vsmgmt.h>
#include <vswriter.h>
$ clang-cl test.cpp -c -m32
In file included from test.cpp:2:
c:/Program files (x86)/Windows Kits/8.1/include/um\vswriter.h(1244,7) : error:
virtual function '~CVssWriterEx' has different calling convention
attributes ('void () __attribute__((thiscall))') than the function it
overrides (which has calling convention 'void () _attribute__((stdcall))
noexcept')
class CVssWriterEx : public CVssWriter
^
c:/Program files (x86)/Windows Kits/8.1/include/um\vswriter.h(899,31) : note:
overridden virtual function is here
virtual STDMETHODCALLTYPE ~CVssWriter()
^
1 error generated.
Yours,
Andrey Bokhanko
===============
Software Engineer
Intel Compiler Team
Intel</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>