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: unassignedclangb...@nondot.org Reporter: andreybokha...@gmail.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs