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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs