[pangomm] NMake Makefiles: Use the /utf-8 compiler flag
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm] NMake Makefiles: Use the /utf-8 compiler flag
- Date: Tue, 30 Jun 2020 07:50:02 +0000 (UTC)
commit 5c5903a731260fa8dd18f1762ca830817e75c9e4
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Jun 30 15:32:57 2020 +0800
NMake Makefiles: Use the /utf-8 compiler flag
This makes it easier to build pangomm on non-Western locales, without requiring
to change the "Locale settings for non-Unicode programs" to English, which will
require a restart, since warning (error) C4819 can be otherwise triggered, which
can indicate broken builds due to Unicode handling issues in the compiler.
MSVC_NMake/config-msvc.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/MSVC_NMake/config-msvc.mak b/MSVC_NMake/config-msvc.mak
index c535894..7724d71 100644
--- a/MSVC_NMake/config-msvc.mak
+++ b/MSVC_NMake/config-msvc.mak
@@ -32,7 +32,7 @@ PANGOMM_BASE_CFLAGS = \
/Ivs$(VSVER)\$(CFG)\$(PLAT) \
/I..\untracked\pango /I..\untracked\pango\pangomm \
/I..\pango /I..\pango\pangomm /I.\pangomm \
- /wd4530 /wd4251 /wd4275 /std:c++17 \
+ /wd4530 /wd4251 /wd4275 /std:c++17 /utf-8 \
/FImsvc_recommended_pragmas.h
PANGOMM_EXTRA_INCLUDES = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]