Re: mingw --enable-tui

Eli Zaretskii via Gdb-patches
2020-11-22T16:23:24Z

> Cc: gdb-patches@sourceware.org
> From: gmail Vladimir Koković <vladimir.kokovic@gmail.com>
> Date: Sun, 22 Nov 2020 17:19:49 +0100
>
>   CXX    tui/tui.o
> ../../../src/gdb-10.1/gdb/tui/tui-win.c:130:1: error: narrowing
> conversion of ‘2147483648’ from ‘chtype’ {aka ‘long long unsigned int’}
> to ‘int’ [-Wnarrowing]
>   130 | };
>       | ^
> ../../../src/gdb-10.1/gdb/tui/tui-win.c:130:1: error: narrowing
> conversion of ‘2483027968’ from ‘chtype’ {aka ‘long long unsigned int’}
> to ‘int’ [-Wnarrowing]

So in the ncurses headers you used A_NORMAL etc, are declared 'chtype'
(or long long unsigned int), is that right?