mingw --enable-tui
gmail Vladimir Koković
vladimir.kokovic@gmail.com
Sun Nov 22 16:35:03 GMT 2020
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ć <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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vk-build.sh
Type: application/x-shellscript
Size: 1945 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20201122/53833a69/attachment.bin>
More information about the Gdb-patches
mailing list