diff --git a/include/boost/core/detail/lwt_unattended.hpp b/include/boost/core/detail/lwt_unattended.hpp index a0bf022..b7b06e4 100644 --- a/include/boost/core/detail/lwt_unattended.hpp +++ b/include/boost/core/detail/lwt_unattended.hpp @@ -30,9 +30,18 @@ inline void lwt_unattended() # pragma warning(push) # pragma warning(disable: 4996) +# if defined(__clang__) +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wdeprecated-declarations" +# endif + // disable message box on crash ::_seterrormode( /*SEM_NOGPFAULTERRORBOX*/ 0x0002 ); +# if defined(__clang__) +# pragma clang diagnostic pop +# endif + # pragma warning(pop) #endif