[Libreoffice-commits] core.git: solenv/gbuild
Stephan Bergmann
sbergman at redhat.com
Thu Aug 24 12:40:52 UTC 2017
solenv/gbuild/platform/com_GCC_defs.mk | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 30935cf8adf8747b46ea485ba4a320b542a4f7a5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Aug 24 14:34:39 2017 +0200
Explicitly specify -finput-charset=UTF-8 for GCC/Clang
...after 9a7d2d72cef7ff14a020c1024fbff8c00e4e4aff "tell msvc our source code is
written using utf-8" did the equivalent for MSVC. That should cause the C++
string literal u8"ßa" (in vcl/qa/cppunit/mnemonic.cxx) introduced with that
commit to reliably be interpreted as intended by all our toolchains.
Change-Id: Ibbda8588a3ca66d1c2764f70aa999fad243f1bb1
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 97a2538b1895..793e5d34f656 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -55,6 +55,7 @@ gb_CFLAGS_COMMON := \
-Wstrict-prototypes \
-Wundef \
-Wunused-macros \
+ -finput-charset=UTF-8 \
-fmessage-length=0 \
-fno-common \
-pipe \
@@ -67,6 +68,7 @@ gb_CXXFLAGS_COMMON := \
-Wextra \
-Wundef \
-Wunused-macros \
+ -finput-charset=UTF-8 \
-fmessage-length=0 \
-fno-common \
-pipe \
More information about the Libreoffice-commits
mailing list