[tepl/master.msvc: 9/9] meson: Do not try to enable /utf-8 for MSVC
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl/master.msvc: 9/9] meson: Do not try to enable /utf-8 for MSVC
- Date: Thu, 30 Apr 2020 09:17:55 +0000 (UTC)
commit 255ffaccf1437e0dd512e9564d7f6661cd4db05e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Apr 30 17:12:29 2020 +0800
meson: Do not try to enable /utf-8 for MSVC
It turns out that while building on East Asian locales with this flag enabled
creates binaries that do not work as well as binaries that are built with or
without this flag when the locale is switched via Control Panel's "Locale for
non-Unicode Programs" setting to an English locale.
Since the /utf-8 was intended as a convenience to people building on East Asian
locales, there is no point keeping it anymore, to avoid any misconception.
meson.build | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 1a2b9d9..1f8f7ae 100644
--- a/meson.build
+++ b/meson.build
@@ -88,9 +88,6 @@ if c_compiler.get_id() == 'msvc'
# but do make the ones we want to be wary stand out
warning_cflags += [
'-FImsvc_recommended_pragmas.h',
- '-utf-8', # Available in Visual Studio 2015 or later,
- # to prevent unicode handling issues in the
- # compiler
]
else
warning_cflags += [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]