<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hi,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
CCing the list this time around ...</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 18, 2013 at 7:59 PM, Peng Wu <span dir="ltr"><<a href="mailto:peng.e.wu@gmail.com" target="_blank">peng.e.wu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">By jumping two columns when wide character prints,<br>
and draw wide background under wide character.<br>
---<br>
<div class="im"> clients/terminal.c | 31 +++++++++++++++++++++++++++++--<br>
 1 file changed, 29 insertions(+), 2 deletions(-)<br>
<br>
</div>diff --git a/clients/terminal.c b/clients/terminal.c<br>
index 6701fb6..9da1a56 100644<br>
--- a/clients/terminal.c<br>
+++ b/clients/terminal.c<br>
@@ -33,6 +33,9 @@<br>
 #include <ctype.h><br>
 #include <cairo.h><br>
 #include <sys/epoll.h><br>
+#define __USE_XOPEN<br>
+#include <wchar.h><br>
+#include <locale.h><br></blockquote><div><br></div><div><div style="font-size:12.727272033691406px;font-family:arial,sans-serif">That's an implementation-specific preprocessor symbol.  Please use the _XOPEN_SOURCE feature test macro instead.</div>
<div style="font-size:12.727272033691406px;font-family:arial,sans-serif"><br></div><div style="font-size:12.727272033691406px;font-family:arial,sans-serif">The user could also potentially define that feature test macro with a specific value, such as 500 (see <a href="http://pubs.opengroup.org/onlinepubs/7908799/xsh/compilation.html" target="_blank">http://pubs.opengroup.org/onlinepubs/7908799/xsh/compilation.html</a>), in CPPFLAGS via the configure script as well, meaning it would be good to check if _XOPEN_SOURCE is defined before explicitly defining it.</div>
<div style="font-size:12.727272033691406px;font-family:arial,sans-serif"><br></div><div style="font-size:12.727272033691406px;font-family:arial,sans-serif">HTH,</div><div style="font-size:12.727272033691406px;font-family:arial,sans-serif">
-Ossama</div></div><div><br></div></div></div></div>