[llvm-bugs] [Bug 24595] New: clang-cl fails to compile vswriter.h header from Windows SDK 8.1 in 32 bit mode
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 27 02:45:42 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24595
Bug ID: 24595
Summary: clang-cl fails to compile vswriter.h header from
Windows SDK 8.1 in 32 bit mode
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: andreybokhanko at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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
--
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/20150827/0409f2ec/attachment-0001.html>
More information about the llvm-bugs
mailing list