Re: [PATCH] Add wc-funcs warnings to configure.

Rene Kita <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Mon, Feb 16, 2026 at 01:35:05PM +0800, Kevin J. McCarthy wrote:
> If --without-wc-funcs is explicitly provided, a warning that the
> option will be removed is printed.
> 
> If, instead, the check for needed wc-funcs fails, a different warning
> is printed, warning that the system may no longer be able to compile
> mutt starting with 2.5.0.
> ---
> THIS PATCH IS UP FOR DISCUSSION.  Please comment!
> 
> My thinking is that we can continue to provide the wcwidth() backup, but
> the other functions being missing will trigger a configure failure
> starting in 2.5.0.

I think somewhere in the discussion leading to this patch was a rational
why wcwidth is special here, I already can't remember. Maybe it would be
worth it to add that rational to the commit message.

AFAIU all the wc-funcs are now part of ISO C or POSIX and systems not
supporting it are legacy. Deprecating is fine, maybe don't put 2.5.0 as
a hard deadline (just in case). If someone somewhere is really building
a modern mutt on such a legacy system they can come to the ML and
complain.

With my above comment about the rational in mind:
OK [or Acked-by: ;)].
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.