Re: [RFC] Some sr.ht CI tweaking

Steffen Nurpmeso <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <20260212194458.BQUwHGoc@steffen%sdaoden.eu>
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.