bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: ncurses-6.4-20240413


From: Thomas Dickey
Subject: Re: ANN: ncurses-6.4-20240413
Date: Sun, 14 Apr 2024 04:44:11 -0400

On Sun, Apr 14, 2024 at 10:23:22AM +0200, balducci@units.it wrote:
> Sam James writes:
> >
> > This seems to cause the following for me:
> >
> > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DBUILDING_NCURSES -I../ncurses -I. 
> > -
> > I/var/tmp/portage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/ncurses 
> > -I.
> > ./include 
> > -I/var/tmp/portage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/
> > ncurses/../include  -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 
> > -DNDE
> > BUG -O3 -march=native -mtls-dialect=gnu2 -flto=jobserver 
> > -fno-semantic-interp
> > osition -pipe -fcf-protection=none -fdiagnostics-color=always 
> > -fdiagnostics-u
> > rls=never -frecord-gcc-switches -Wa,-O2 -Wa,-mtune=znver2 -Wstrict-aliasing 
> > -
> > Wfree-nonheap-object -Wstrict-aliasing -Wfree-nonheap-object 
> > -Wbuiltin-declar
> > ation-mismatch -ggdb3 -Wformat -Wformat-security -Waddress -Warray-bounds 
> > -Wf
> > ree-nonheap-object -Wint-to-pointer-cast -Wmain -Wnonnull -Wodr 
> > -Wreturn-type
> >  -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstring-compare 
> > -Wuninitialize
> > d -Wvarargs --param max-inline-insns-single=1200 -Werror=lto-type-mismatch 
> > -W
> > error=strict-aliasing -Werror=odr -Werror=lto-type-mismatch 
> > -Werror=strict-al
> > iasing -Werror=odr -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual 
> > -Wde
> > claration-after-statement -Wextra -Winline -Wmissing-declarations 
> > -Wmissing-p
> > rototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes 
> > -Wund
> > ef -Wno-inline -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings 
> > -W
> > no-unknown-pragmas -Wswitch-enum -DNCURSES_STATIC -DUSE_TERMLIB -c 
> > /var/tmp/p
> > ortage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/ncurses/tinfo/lib_setu
> > p.c -o ../objects/lib_setup.o                                               
> >  
> >                                                                             
> >  
> >                                                 
> > /var/tmp/portage/sys-libs/ncu
> > rses-6.4_p20240413/work/ncurses-6.4/ncurses/tinfo/lib_setup.c: In function 
> > '_nc_get_screensize':
> > /var/tmp/portage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/ncurses/tinf
> > o/lib_setup.c:564:68: error: macro "_nc_check_screensize" requires 4 
> > argument
> > s, but only 3 given
> >   564 |             _nc_check_screensize(NCURSES_SP_ARGx termp, linep, 
> > colp);
> >       |                                                                    ^
> > /var/tmp/portage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/ncurses/tinf
> > o/lib_setup.c:438:9: note: macro "_nc_check_screensize" defined here
> >   438 | #define _nc_check_screensize(sp, termp, linep, colp)    /* nothing 
> > */
> >       |         ^~~~~~~~~~~~~~~~~~~~
> > /var/tmp/portage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/ncurses/tinf
> > o/lib_setup.c:564:13: error: '_nc_check_screensize' undeclared (first use
> >  in this function); did you mean '_
> > nc_get_screensize'?
> >   564 |             _nc_check_screensize(NCURSES_SP_ARGx termp, linep, 
> > colp);
> >       |             ^~~~~~~~~~~~~~~~~~~~
> >       |             _nc_get_screensize
> > /var/tmp/portage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/ncurses/tinf
> > o/lib_setup.c:564:13: note: each undeclared identifier is reported only 
> > once 
> > for each function it appears in
> > /var/tmp/portage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/ncurses/tinf
> > o/lib_setup.c:580:64: error: macro "_nc_check_screensize" requires 4 
> > argument
> > s, but only 3 given
> >   580 |         _nc_check_screensize(NCURSES_SP_ARGx termp, linep, colp);
> >       |                                                                ^
> > /var/tmp/portage/sys-libs/ncurses-6.4_p20240413/work/ncurses-6.4/ncurses/tinf
> > o/lib_setup.c:438:9: note: macro "_nc_check_screensize" defined here
> >   438 | #define _nc_check_screensize(sp, termp, linep, colp)    /* nothing 
> > */
> >       |         ^~~~~~~~~~~~~~~~~~~~
> > make[1]: *** [Makefile:1012: ../objects/lib_setup.o] Error 1
> 
> 
> same here

sorry - I thought that my build/test-configurations covered that line.

I'll put out a short patch today to address this issue.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]