]> granicus.if.org Git - libexpat/commitdiff
README.md: Add note on limitation of -fshort-wchar
authorSebastian Pipping <sebastian@pipping.org>
Sat, 29 Jul 2017 14:23:46 +0000 (16:23 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 29 Jul 2017 14:23:46 +0000 (16:23 +0200)
expat/README.md

index e652de9defccd4f8d3e2c75484c3d33f3c88b070..3b75f8c57d4862c48def02e984ade2dcc6f0e385 100644 (file)
@@ -78,6 +78,7 @@ these instructions (after having run `make distclean`):
    `./configure CPPFLAGS=-DXML_UNICODE`<br/>
    For UTF-16 output as `wchar_t` (incl. version/error strings), run:<br/>
    `./configure CFLAGS="-g -O2 -fshort-wchar" CPPFLAGS=-DXML_UNICODE_WCHAR_T`
+   <br/>Note: The latter requires libc compiled with `-fshort-wchar`, as well.
 
 1. Edit `Makefile`, changing:<br/>
    `LIBRARY = libexpat.la`<br/>