From: Bruno Haible Date: Sat, 31 May 2025 11:32:03 +0000 (+0200) Subject: doc: For MSVC, recommend to avoid the preinstalled libunistring. X-Git-Tag: v0.26~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e5230554b67692082984492f0d539c6d58c777a;p=thirdparty%2Fgettext.git doc: For MSVC, recommend to avoid the preinstalled libunistring. This fixes an "initializer is not a constant" error upon use of uninorm_nfc. Reported by Kirill Makurin in . * INSTALL.windows: For MSVC, recommend --with-included-libunistring. --- diff --git a/INSTALL.windows b/INSTALL.windows index 3aa1c004a..6265527a7 100644 --- a/INSTALL.windows +++ b/INSTALL.windows @@ -176,6 +176,7 @@ There are three ways to create binaries of this package for Microsoft Windows: win32_target=_WIN32_WINNT_WIN8 # possibly for MSVC >= 10.0 ./configure --host=i686-w64-mingw32 --prefix=/usr/local/msvc32 \ + --with-included-libunistring \ CC="$HOME/msvc/compile cl -nologo" \ CFLAGS="-MD" \ CXX="$HOME/msvc/compile cl -nologo" \ @@ -202,6 +203,7 @@ There are three ways to create binaries of this package for Microsoft Windows: win32_target=_WIN32_WINNT_WIN8 # possibly for MSVC >= 10.0 ./configure --host=x86_64-w64-mingw32 --prefix=/usr/local/msvc64 \ + --with-included-libunistring \ CC="$HOME/msvc/compile cl -nologo" \ CFLAGS="-MD" \ CXX="$HOME/msvc/compile cl -nologo" \