On Sun, Aug 31, 2025 at 06:07:25AM -0500, G. Branden Robinson wrote: > Hi Thomas, > > I get many of these. Here is the first.
I've been doing this (looks ok with my 64-bit builds in Debian/testing and
Fedora/rawhide this month; Debian 32-bit was last built July 26,
which I think is recent enough, since it's concurrent with the
build-script changes):
--disable-lp64
--with-chtype=uint32_t
(among other settings -- but I think those are the relevant pieces)
> gnatgcc -I. -I. -I../test -DHAVE_CONFIG_H
> -DDATA_DIR=\"/home/branden/ncurses-HEAD/share\" -I. -I../include
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -g --param
> max-inline-insns-single=1200 -fPIC -c ../test/pair_content.c -o
> ../obj_s/pair_content.o
> ../include/curses.h:1970:47: warning: left shift count >= width of type
> [-Wshift-count-overflow]
> 1970 | #define NCURSES_MOUSE_MASK(b,m) ((mmask_t)(m) << (((b) - 1) * 5))
> | ^~
> ../test/ncurses.c:518:20: note: in definition of macro ‘SHOW’
> 518 | if ((ep->bstate & m)==m) { \
> | ^
> ../test/ncurses.c:525:2: note: in expansion of macro ‘MOUSE_ONE’
> 525 | MOUSE_ONE(b, NCURSES_MOUSE_MASK(b, NCURSES_BUTTON_RELEASED),
> "release"); \
> | ^~~~~~~~~
> ../test/ncurses.c:525:15: note: in expansion of macro ‘NCURSES_MOUSE_MASK’
> 525 | MOUSE_ONE(b, NCURSES_MOUSE_MASK(b, NCURSES_BUTTON_RELEASED),
> "release"); \
> | ^~~~~~~~~~~~~~~~~~
> ../test/ncurses.c:559:5: note: in expansion of macro ‘MOUSE_ALL’
> 559 | MOUSE_ALL(8);
> | ^~~~~~~~~
>
> Apart from that, I haven't encountered any difficulties yet.
>
> Regards,
> Branden
--
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc
Description: PGP signature
