From 31eed6d49f62736e30ff933ac66d87ed6d960a52 Mon Sep 17 00:00:00 2001 From: smf- Date: Fri, 16 Sep 2016 14:46:24 +0100 Subject: [PATCH] hack for clang compiling on windows, as it can't tell that calling ::RaiseException will prevent the function from returning. (nw) --- 3rdparty/compat/winsdk-override/wrl/internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/3rdparty/compat/winsdk-override/wrl/internal.h b/3rdparty/compat/winsdk-override/wrl/internal.h index 715ef74e331..e2dad542cc3 100644 --- a/3rdparty/compat/winsdk-override/wrl/internal.h +++ b/3rdparty/compat/winsdk-override/wrl/internal.h @@ -20,6 +20,7 @@ namespace Microsoft { inline void DECLSPEC_NORETURN RaiseException(HRESULT hr, DWORD flags = EXCEPTION_NONCONTINUABLE) throw() { ::RaiseException(static_cast(hr), flags, 0, NULL); + throw std::exception(); } template