mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Fix missing pragma warning(pop) and other warnings under MSVC
Fixes #1072
This commit is contained in:
		| @@ -82,7 +82,7 @@ | ||||
|  | ||||
| // Universal Windows platform does not support SEH | ||||
| // Or console colours (or console at all...) | ||||
| #  if (WINAPI_FAMILY == WINAPI_FAMILY_APP) | ||||
| #  if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP) | ||||
| #    define CATCH_CONFIG_COLOUR_NONE | ||||
| #  else | ||||
| #    define CATCH_INTERNAL_CONFIG_WINDOWS_SEH | ||||
|   | ||||
| @@ -162,4 +162,8 @@ namespace Catch { | ||||
|  | ||||
| } // end namespace Catch | ||||
|  | ||||
| #ifdef _MSC_VER | ||||
| #pragma warning(pop) | ||||
| #endif | ||||
|  | ||||
| #endif // TWOBLUECUBES_CATCH_DECOMPOSER_H_INCLUDED | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský