From: "gmail Vladimir Koković via Gdb-patches" <gdb-patches@sourceware.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: mingw --enable-tui
Date: Sun, 22 Nov 2020 17:35:03 +0100 [thread overview]
Message-ID: <d3d97153-4719-bcca-032b-fc46479443ac@gmail.com> (raw)
In-Reply-To: <833611xswf.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]
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?
[-- Attachment #2: vk-build.sh --]
[-- Type: application/x-shellscript, Size: 1945 bytes --]
next prev parent reply other threads:[~2020-11-22 16:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-22 11:44 gmail Vladimir Koković via Gdb-patches
2020-11-22 12:13 ` gmail Vladimir Koković via Gdb-patches
2020-11-22 15:31 ` Eli Zaretskii via Gdb-patches
2020-11-22 16:19 ` gmail Vladimir Koković via Gdb-patches
2020-11-22 16:23 ` Eli Zaretskii via Gdb-patches
2020-11-22 16:35 ` gmail Vladimir Koković via Gdb-patches [this message]
2020-11-22 16:55 ` Eli Zaretskii via Gdb-patches
2020-11-22 17:06 ` gmail Vladimir Koković via Gdb-patches
2020-11-22 17:20 ` Tom Tromey
2020-11-22 18:24 ` Eli Zaretskii via Gdb-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3d97153-4719-bcca-032b-fc46479443ac@gmail.com \
--to=gdb-patches@sourceware.org \
--cc=eliz@gnu.org \
--cc=vladimir.kokovic@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox