mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Fix compiling v2.x with C++17 + Clang 5 + libstdc++ v5
This basically tests the combination where the compiler supports most of C++17 but the library does not.
This commit is contained in:
		
				
					committed by
					
						
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							9683570be7
						
					
				
				
					commit
					531a149ae7
				
			@@ -234,7 +234,7 @@
 | 
			
		||||
  // Check if byte is available and usable
 | 
			
		||||
  #  if __has_include(<cstddef>) && defined(CATCH_CPP17_OR_GREATER)
 | 
			
		||||
  #    include <cstddef>
 | 
			
		||||
  #    if __cpp_lib_byte > 0
 | 
			
		||||
  #    if defined(__cpp_lib_byte) && (__cpp_lib_byte > 0)
 | 
			
		||||
  #      define CATCH_INTERNAL_CONFIG_CPP17_BYTE
 | 
			
		||||
  #    endif
 | 
			
		||||
  #  endif // __has_include(<cstddef>) && defined(CATCH_CPP17_OR_GREATER)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user