Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] building fails on ArchLinux
- X-seq: zsh-workers 52958
- From: "vnepogodin" <vnepogodin@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [BUG] building fails on ArchLinux
- Date: Mon, 17 Jun 2024 17:29:05 +0200
- Archived-at: <https://zsh.org/workers/52958>
- List-id: <zsh-workers.zsh.org>
ncurses have different signature of boolcodes from expected one
versions:
ncurses - 6.5
gcc - 14.1.1
autoconf - 2.72
log snippet:gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -march=znver4 -mtune=znver4 -O3 -pipe -fno-plt -fexceptions -mpclmul -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g1 -ffile-prefix-map=/startdir/src="" -flto=auto -o termcap.o termcap.c
termcap.c:45:14: error: conflicting types for ‘boolcodes’; have ‘char *[]’
45 | static char *boolcodes[] = {
| ^~~~~~~~~
In file included from ../../Src/zshterm.h:1,
from ../../Src/zsh_system.h:932,
from ../../Src/zsh.mdh:15,
from termcap.mdh:15,
from termcap.c:38:
/usr/include/term.h:783:56: note: previous declaration of ‘boolcodes’ with type ‘const char * const[]’
783 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
| ^~~~~~~~~
make[3]: *** [Makefile:230: termcap.o] Error 1
make[3]: Leaving directory '/startdir/src/zsh-5.9/Src/Modules'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author