mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +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
 | 
					// Universal Windows platform does not support SEH
 | 
				
			||||||
// Or console colours (or console at all...)
 | 
					// 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
 | 
					#    define CATCH_CONFIG_COLOUR_NONE
 | 
				
			||||||
#  else
 | 
					#  else
 | 
				
			||||||
#    define CATCH_INTERNAL_CONFIG_WINDOWS_SEH
 | 
					#    define CATCH_INTERNAL_CONFIG_WINDOWS_SEH
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -162,4 +162,8 @@ namespace Catch {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
} // end namespace Catch
 | 
					} // end namespace Catch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef _MSC_VER
 | 
				
			||||||
 | 
					#pragma warning(pop)
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // TWOBLUECUBES_CATCH_DECOMPOSER_H_INCLUDED
 | 
					#endif // TWOBLUECUBES_CATCH_DECOMPOSER_H_INCLUDED
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user