mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Ignore C++98 related compiler warnings
Catch2 has long since required a standard newer than C++98 so we can safely ignore any warnings related to such old standards.
This commit is contained in:
		 Chris Thrasher
					Chris Thrasher
				
			
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
						parent
						
							792c3b7549
						
					
				
				
					commit
					88f4ec3cc5
				
			| @@ -20,7 +20,6 @@ CATCH_REGISTER_TAG_ALIAS("[@tricky]", "[tricky]~[.]") | |||||||
| #ifdef __clang__ | #ifdef __clang__ | ||||||
| #   pragma clang diagnostic ignored "-Wpadded" | #   pragma clang diagnostic ignored "-Wpadded" | ||||||
| #   pragma clang diagnostic ignored "-Wweak-vtables" | #   pragma clang diagnostic ignored "-Wweak-vtables" | ||||||
| #   pragma clang diagnostic ignored "-Wc++98-compat" |  | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| /** | /** | ||||||
|   | |||||||
| @@ -11,11 +11,6 @@ | |||||||
| #include <catch2/internal/catch_config_wchar.hpp> | #include <catch2/internal/catch_config_wchar.hpp> | ||||||
| #include <catch2/internal/catch_windows_h_proxy.hpp> | #include <catch2/internal/catch_windows_h_proxy.hpp> | ||||||
|  |  | ||||||
| #ifdef __clang__ |  | ||||||
| #   pragma clang diagnostic ignored "-Wc++98-compat" |  | ||||||
| #   pragma clang diagnostic ignored "-Wc++98-compat-pedantic" |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
|  |  | ||||||
| #include <iostream> | #include <iostream> | ||||||
| #include <cerrno> | #include <cerrno> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user