From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id crPPE92dul/fLgAAWB0awg (envelope-from ) for ; Sun, 22 Nov 2020 12:20:29 -0500 Received: by simark.ca (Postfix, from userid 112) id 437791F0AB; Sun, 22 Nov 2020 12:20:29 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=DKIM_SIGNED,MAILING_LIST_MULTI, RCVD_IN_BL_SPAMCOP_NET,RDNS_NONE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C32E71E58D for ; Sun, 22 Nov 2020 12:20:28 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E48063858009; Sun, 22 Nov 2020 17:20:27 +0000 (GMT) Received: from gateway21.websitewelcome.com (gateway21.websitewelcome.com [192.185.46.109]) by sourceware.org (Postfix) with ESMTPS id 248443858009 for ; Sun, 22 Nov 2020 17:20:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 248443858009 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=tom@tromey.com Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 7C635400C3C18 for ; Sun, 22 Nov 2020 11:20:23 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id gt2FkxQkcAAk4gt2FkR7qO; Sun, 22 Nov 2020 11:20:23 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=g3CJ4A98yL1OYaRxj8LlUuccx98DXtCb2aQwgnZA3XU=; b=AtBf8u4ZSN7GpW/k0jR719Bq1Z jSKvsO1/r7ycaiImyd0w8aPeD0LaQUyBDHoqEu2ajSBm2gsRiP9eT2lYZO2nkSKoY4x/I9EqkjrMH HXTrbtfJ6+IS7cRGskc6p1zlN; Received: from 97-122-89-243.hlrn.qwest.net ([97.122.89.243]:51436 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kgt2F-004LpX-3z; Sun, 22 Nov 2020 10:20:23 -0700 From: Tom Tromey To: gmail Vladimir =?utf-8?Q?Kokovi=C4=87?= via Gdb-patches Subject: Re: mingw --enable-tui References: <83h7phxvb0.fsf@gnu.org> <562f0b99-1fd9-27d4-997e-d4e53c790d03@gmail.com> X-Attribution: Tom Date: Sun, 22 Nov 2020 10:20:22 -0700 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") Message-ID: <87ft51nwa1.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.89.243 X-Source-L: No X-Exim-ID: 1kgt2F-004LpX-3z X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-89-243.hlrn.qwest.net (bapiya) [97.122.89.243]:51436 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gmail Vladimir =?utf-8?Q?Kokovi=C4=87?= Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" >>>>> gmail Vladimir Kokovi=C4=87 via Gdb-patches writes: > ../../../src/gdb-10.1/gdb/tui/tui-win.c:130:1: error: narrowing > conversion of =E2=80=982147483648=E2=80=99 from =E2=80=98chtype=E2=80=99 = {aka =E2=80=98long long unsigned > int=E2=80=99} to =E2=80=98int=E2=80=99 [-Wnarrowing] > =C2=A0 130 | }; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | ^ > ../../../src/gdb-10.1/gdb/tui/tui-win.c:130:1: error: narrowing > conversion of =E2=80=982483027968=E2=80=99 from =E2=80=98chtype=E2=80=99 = {aka =E2=80=98long long unsigned > int=E2=80=99} to =E2=80=98int=E2=80=99 [-Wnarrowing] Would it work to change tui_translate so that "value" is "chtype"? That would avoid #ifs and copying the code. Tom