mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
parent
3486f8ed9e
commit
e27bb7198d
@ -181,8 +181,14 @@
|
|||||||
// Visual C++
|
// Visual C++
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|
||||||
# define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION __pragma( warning(push) )
|
// We want to defer to nvcc-specific warning suppression if we are compiled
|
||||||
# define CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION __pragma( warning(pop) )
|
// with nvcc masquerading for MSVC.
|
||||||
|
# if !defined( __CUDACC__ )
|
||||||
|
# define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION \
|
||||||
|
__pragma( warning( push ) )
|
||||||
|
# define CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION \
|
||||||
|
__pragma( warning( pop ) )
|
||||||
|
# endif
|
||||||
|
|
||||||
// Universal Windows platform does not support SEH
|
// Universal Windows platform does not support SEH
|
||||||
// Or console colours (or console at all...)
|
// Or console colours (or console at all...)
|
||||||
|
Loading…
Reference in New Issue
Block a user