From d1b75ec35e32f37c1ca231f8b430016c224e6601 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 29 Jul 2017 16:23:46 +0200 Subject: [PATCH] README.md: Add note on limitation of -fshort-wchar --- expat/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/expat/README.md b/expat/README.md index e652de9d..3b75f8c5 100644 --- a/expat/README.md +++ b/expat/README.md @@ -78,6 +78,7 @@ these instructions (after having run `make distclean`): `./configure CPPFLAGS=-DXML_UNICODE`
For UTF-16 output as `wchar_t` (incl. version/error strings), run:
`./configure CFLAGS="-g -O2 -fshort-wchar" CPPFLAGS=-DXML_UNICODE_WCHAR_T` +
Note: The latter requires libc compiled with `-fshort-wchar`, as well. 1. Edit `Makefile`, changing:
`LIBRARY = libexpat.la`
-- 2.40.0