CLang advertises C++-26 features but warns us when we use them :/.
This commit is contained in:
		
							parent
							
								
									465a97ded5
								
							
						
					
					
						commit
						8a9df15dd0
					
				@ -4,6 +4,12 @@
 | 
			
		||||
#if !defined(MIJIN_INTERNAL_VERSION_SUPPORT_HPP_INCLUDED)
 | 
			
		||||
#define MIJIN_INTERNAL_VERSION_SUPPORT_HPP_INCLUDED 1
 | 
			
		||||
 | 
			
		||||
#include "../detect.hpp"
 | 
			
		||||
 | 
			
		||||
#if MIJIN_COMPILER == MIJIN_COMPILER_CLANG
 | 
			
		||||
#pragma clang diagnostic ignored "-Wc++26-extensions"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(__cpp_deleted_function)
 | 
			
		||||
#define MIJIN_DELETE(reason) = delete(reason)
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user