[neomutt-users] homebrew not tracking new releases?

Stuart Henderson stu at spacehopper.org
Mon Apr 18 23:27:30 CEST 2022

On 2022/04/18 22:13, Stuart Henderson wrote:
> On 2022/04/18 13:15, Andrew Sullivan wrote:
> > Thanks for the pointer.  Yeah, it looks like the build issue is too big a problem.  (I also just switched to an Apple-hardware laptop, and so figuring out which breakage is due to which change is getting vexing!)
> For the build issue, I ran into similar with OpenBSD which has an old
> version of ncurses that doesn't have bkgrndset()/setcchar() - auto.def
> only checks that a call to the functions is able to compile, but it
> doesn't check runtime.

Hmm - actually seems I'm wrong there, I looked too quickly when I ran
into it - it *does* have those two functions, I was confused by the
error messages (below) - but disabling the auto.def check for those
two did allow it to build.

cc -O2 -pipe -g  -I/usr/local/include -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I. -I../neomutt-20220415 -Wall  -I../neomutt-20220415/test -I../neomutt-20220415/fuzz -MT gui/mutt_curses.o -MD -MP -MF gui/mutt_curses.Tpo -c -o gui/mutt_curses.o ../neomutt-20220415/gui/mutt_curses.c
../neomutt-20220415/gui/mutt_curses.c:48:3: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
  cchar_t cch = { 0 };
/usr/include/stddef.h:55:19: note: 'wchar_t' declared here
typedef __wchar_t       wchar_t;
../neomutt-20220415/gui/mutt_curses.c:49:3: warning: implicit declaration of function 'setcchar' is invalid in C99 [-Wimplicit-function-declaration]
  setcchar(&cch, L" ", ac->attrs, index, NULL);
../neomutt-20220415/gui/mutt_curses.c:50:3: warning: implicit declaration of function 'bkgrndset' is invalid in C99 [-Wimplicit-function-declaration]
2 warnings and 1 error generated.

More information about the neomutt-users mailing list