diff options
| author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2020-05-20 14:28:31 +0000 |
|---|---|---|
| committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2020-05-20 14:28:31 +0000 |
| commit | 2c5e2b9247f354bece2e860c0a199f19da8bc6f7 (patch) | |
| tree | e0f26b159d4ff13faae62ab305ff5212899a7d07 /include/iprt/cpp/exception.h | |
| parent | 5e5680a83defbfbab39cc79e790d59d8f46888b0 (diff) | |
| download | VirtualBox-svn-2c5e2b9247f354bece2e860c0a199f19da8bc6f7.tar.gz | |
include/iprt: VC++ 19.0 adjustments. bugref:8489
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84407 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'include/iprt/cpp/exception.h')
| -rw-r--r-- | include/iprt/cpp/exception.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/include/iprt/cpp/exception.h b/include/iprt/cpp/exception.h index e204e298d22..e7212bcbf5b 100644 --- a/include/iprt/cpp/exception.h +++ b/include/iprt/cpp/exception.h @@ -32,11 +32,9 @@ #include <iprt/cpp/ministring.h> #include <exception> -#ifndef DOXYGEN_RUNNING -# if RT_MSC_PREREQ(RT_MSC_VER_VC141) -# pragma warning(push) -# pragma warning(disable:4275) /* non dll-interface class 'std::exception' used as base for dll-interface class 'RTCError' */ -# endif +#if RT_MSC_PREREQ(RT_MSC_VER_VC140) +# pragma warning(push) +# pragma warning(disable:4275) /* non dll-interface class 'std::exception' used as base for dll-interface class 'RTCError' */ #endif @@ -103,10 +101,8 @@ protected: /** @} */ -#ifndef DOXYGEN_RUNNING -# if RT_MSC_PREREQ(RT_MSC_VER_VC141) -# pragma warning(pop) -# endif +#if RT_MSC_PREREQ(RT_MSC_VER_VC140) +# pragma warning(pop) #endif #endif /* !IPRT_INCLUDED_cpp_exception_h */ |
