Hi, Kevin! On Sun, Jan 25, 2026 at 08:44:31PM +0800, Kevin J. McCarthy wrote: KJM> On Sun, Jan 25, 2026 at 02:22:38PM +0200, Vsevolod Volkov wrote: >>Missing "#include <wctype.h>" in curs_lib.c causes a build error: >> >>gcc -DPKGDATADIR=\"/usr/share/mutt\" -DSYSCONFDIR=\"/etc\" >>-DBINDIR=\"/usr/bin\" -DMUTTLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H=1 >>-I. -I. -I. -I./imap -Wall -pedantic -Wno-long-long -O2 -flto=auto >>-ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall >>-Wno-complain-wrong-lang -Werror=format-security >>-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS >>-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong >>-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 >>-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection >>-fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer >>-mno-omit-leaf-frame-pointer -O1 -MT curs_lib.o -MD -MP -MF >>.deps/curs_lib.Tpo -c -o curs_lib.o curs_lib.c >>curs_lib.c: In function 'mutt_format_string': >>curs_lib.c:1384:11: error: implicit declaration of function 'iswblank' >>[-Wimplicit-function-declaration] >> 1384 | if (iswblank (wc))
KJM> Hmmm... this is pretty old code. KJM> Just to check, what's your output from KJM> $ grep HAVE_WCTYPE_H config.h KJM> $ grep HAVE_WC_FUNCS config.h > grep HAVE_WCTYPE_H config.h #define HAVE_WCTYPE_H 1 > grep HAVE_WC_FUNCS config.h /* #undef HAVE_WC_FUNCS */ Found and removed --without-wc-funcs configure argument in mutt.spec that is pretty old too. Now it builds without errors. Thanks! KJM> -- KJM> Kevin J. McCarthy KJM> GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA -- Vsevolod Volkov mailto:[email protected] http://mutt.vvv.kiev.ua/download
