mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +00:00
Disable -Wdeprecated-declarations for early clang-cl
This commit is contained in:
parent
116c6830e0
commit
ab455ab2f8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user