mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	msvc : silence codecvt c++17 deprecation warnings (#8395)
This commit is contained in:
		 Borislav Stanimirov
					Borislav Stanimirov
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							a8be1e6f59
						
					
				
				
					commit
					7a80710d93
				
			| @@ -1,3 +1,7 @@ | |||||||
|  | #if defined(_MSC_VER) | ||||||
|  | #define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #include "common.h" | #include "common.h" | ||||||
| // Change JSON_ASSERT from assert() to GGML_ASSERT: | // Change JSON_ASSERT from assert() to GGML_ASSERT: | ||||||
| #define JSON_ASSERT GGML_ASSERT | #define JSON_ASSERT GGML_ASSERT | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | #if defined(_MSC_VER) | ||||||
|  | #define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #include "unicode.h" | #include "unicode.h" | ||||||
| #include "unicode-data.h" | #include "unicode-data.h" | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user