zsh-workers
 help / color / mirror / code / Atom feed
From: "vnepogodin" <vnepogodin@cachyos.org>
To: zsh-workers@zsh.org
Subject: [BUG] building fails on ArchLinux
Date: Mon, 17 Jun 2024 17:29:05 +0200	[thread overview]
Message-ID: <5c-66705680-9-52f8cd00@91070532> (raw)

[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]


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=/usr/src/debug/zsh -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'

[-- Attachment #2: Type: text/html, Size: 1283 bytes --]

             reply	other threads:[~2024-06-17 15:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17 15:29 vnepogodin [this message]
2024-06-20 15:49 ` Bart Schaefer
2024-06-20 16:24   ` vnepogodin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5c-66705680-9-52f8cd00@91070532 \
    --to=vnepogodin@cachyos.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).