[llvm-bugs] [Bug 26735] New: clang-cl fails to compile atldlgs.h header from WTL 9.1
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 25 04:02:42 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26735
Bug ID: 26735
Summary: clang-cl fails to compile atldlgs.h header from WTL
9.1
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: andreybokhanko at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
A small reproducer is:
class IFileDialogEvents {
public:
virtual void OnFileOk() = 0;
};
class CShellFileDialogImpl : public IFileDialogEvents {
public:
void IFileDialogEvents::OnFileOk() {};
};
$ clang-cl test.cpp
H:/test2.cpp:8:27: error: non-friend class member 'OnFileOk' cannot have a
qualified name
void IFileDialogEvents::OnFileOk() {};
~~~~~~~~~~~~~~~~~~~^
1 error generated.
This construct is used in atldlgs.h header from Windows Template Library
(https://sourceforge.net/p/wtl/code/HEAD/tree/trunk/wtl/Include/atldlgs.h#l1124):
virtual HRESULT STDMETHODCALLTYPE IFileDialogEvents::OnFileOk(IFileDialog* pfd)
Andrey
--
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/20160225/a4a681a9/attachment.html>
More information about the llvm-bugs
mailing list