From ef6a70de5d0bc252380ebcb21eb84913473ead5d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 17 Jan 2022 10:45:06 +0200 Subject: Use UTF-8 as default input/source charset for C/C++ compilation --- bootstrap-clang.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap-clang.bat') diff --git a/bootstrap-clang.bat b/bootstrap-clang.bat index 00302e9..5a06a70 100644 --- a/bootstrap-clang.bat +++ b/bootstrap-clang.bat @@ -88,7 +88,7 @@ rem worked around by passing an obscure internal option. Clang 9 doesn't rem have this problem. To keep things simple, let's just suppress this rem warning. rem -set "ops=-m64 -std=c++1y -D_MT -D_CRT_SECURE_NO_WARNINGS -Xlinker /ignore:4217" +set "ops=-finput-charset=UTF-8 -m64 -std=c++1y -D_MT -D_CRT_SECURE_NO_WARNINGS -Xlinker /ignore:4217" :ops_next shift if "_%1_" == "__" ( -- cgit v1.1