HI, For mingw, pdcurses is used, not ncurses. pdcurses curses.h: #if defined( CHTYPE_32)    #if defined( CHTYPE_64)        #error CHTYPE cannot be both CHTYPE_32 and CHTYPE_64    #endif    typedef uint32_t chtype;       /* chtypes will be 32 bits */ #else    #define CHTYPE_64    typedef uint64_t chtype;       /* chtypes will be 64 bits */    #ifdef PDC_WIDE       #define USING_COMBINING_CHARACTER_SCHEME    #endif #endif Attached is my build script. On 22.11.20. 17:23, Eli Zaretskii wrote: >> Cc: gdb-patches@sourceware.org >> From: gmail Vladimir Koković >> 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?