office-gobmx/icu/icu4c-wchar_t.patch
Caolán McNamara 5386b7633d configure icu for windows via runConfigureICU Cygwin/MSVC
which should hopefully
a) work
b) unblock the upgrade path for icu

Change-Id: Ic70a627f3135e53016a4f9cfdef3fc85d55ab3e4
2012-05-10 12:19:09 +01:00

15 lines
661 B
Diff

--- misc/icu/source/config/mh-cygwin-msvc 2012-05-10 11:42:22.886869800 +0100
+++ misc/build/icu/source/config/mh-cygwin-msvc 2012-05-10 11:42:45.110227500 +0100
@@ -43,10 +43,9 @@
# /GF pools strings and places them into read-only memory
# /EHsc enables exception handling
-# /Zc:wchar_t makes wchar_t a native type. Required for C++ ABI compatibility.
# -D_CRT_SECURE_NO_DEPRECATE is needed to quiet warnings about using standard C functions.
-CFLAGS+=/GF /nologo
-CXXFLAGS+=/GF /nologo /EHsc /Zc:wchar_t
+CFLAGS+=/GF /nologo /Zc:wchar_t-
+CXXFLAGS+=/GF /nologo /EHsc /Zc:wchar_t-
CPPFLAGS+=-D_CRT_SECURE_NO_DEPRECATE
DEFS+=-DWIN32
DEFS+=-DCYGWINMSVC