From: Tom Tromey <tom@tromey.com>
To: "gmail Vladimir Koković via Gdb-patches" <gdb-patches@sourceware.org>
Cc: "gmail Vladimir Koković" <vladimir.kokovic@gmail.com>
Subject: Re: mingw --enable-tui
Date: Sun, 22 Nov 2020 10:20:22 -0700 [thread overview]
Message-ID: <87ft51nwa1.fsf@tromey.com> (raw)
In-Reply-To: <562f0b99-1fd9-27d4-997e-d4e53c790d03@gmail.com> ("gmail Vladimir =?utf-8?Q?Kokovi=C4=87?= via Gdb-patches"'s message of "Sun, 22 Nov 2020 17:19:49 +0100")
>>>>> gmail Vladimir Koković via Gdb-patches <gdb-patches@sourceware.org> writes:
> ../../../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]
Would it work to change tui_translate so that "value" is "chtype"?
That would avoid #ifs and copying the code.
Tom
next prev parent reply other threads:[~2020-11-22 17:20 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
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 [this message]
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=87ft51nwa1.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.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