You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static_assert(std::is_void_v<T> /* dependent_false */, "To use classic COM interfaces, you must compile with -fms-extensions.");
126
-
#endif
127
-
128
-
#ifndef WINRT_IMPL_IUNKNOWN_DEFINED
125
+
#elif !defined(WINRT_IMPL_IUNKNOWN_DEFINED)
129
126
static_assert(std::is_void_v<T> /* dependent_false */, "To use classic COM interfaces, you must include <unknwn.h> before including C++/WinRT headers.");
130
-
#endif
131
127
#else// MSVC won't hit this struct, so we can safely assume everything that isn't Clang isn't supported
132
128
static_assert(std::is_void_v<T> /* dependent_false */, "Classic COM interfaces are not supported with this compiler.");
0 commit comments