Daniel Tameling wrote in
<[email protected]>:
...
|FreeBSD defines wcwidth as __wcwidth [1] and has in a different header \
|the complete implementation of __wcwidth so that it can always be inlined \
|[2]. An undef wcwidth solves the problem.
|
|Honestly, wchar.h and wctype.h are nowadays part of POSIX and the C \
|standard, and have been for a long time. The workaround isn't really \
...
Brain damage (imho): wcwidth() was never part of ISO C, POSIX
marks it "XSI" ("Functionality marked XSI is an extension to the
ISO C standard. Application developers may confidently make use
of such extensions on all systems supporting the X/Open System
Interfaces option")
17084 XSI int wcwidth(wchar_t);
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)