2
0
mirror of https://github.com/boostorg/core.git synced 2026-01-19 04:02:18 +00:00

Disable -Wdeprecated-declarations for early clang-cl

This commit is contained in:
Peter Dimov
2023-01-23 05:24:28 +02:00
parent 116c6830e0
commit ab455ab2f8

View File

@@ -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