[pangomm/pangomm-2-42] NMake Makefiles: Use the /utf-8 compiler flag
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm/pangomm-2-42] NMake Makefiles: Use the /utf-8 compiler flag
- Date: Tue, 30 Jun 2020 08:04:48 +0000 (UTC)
commit 903556bf98ec3dadb51c88fd9d8b94bb8773db96
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 46484b0..4f5b0d6 100644
--- a/MSVC_NMake/config-msvc.mak
+++ b/MSVC_NMake/config-msvc.mak
@@ -36,7 +36,7 @@ PANGOMM_BASE_CFLAGS = \
/I..\untracked\pango\pangomm \
/I..\pango\pangomm \
/I.\pangomm \
- /wd4530 /wd4251 /wd4275 /EHsc \
+ /wd4530 /wd4251 /wd4275 /EHsc /utf-8 \
/FImsvc_recommended_pragmas.h
PANGOMM_EXTRA_INCLUDES = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]