From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id fIgINqyPul+ALQAAWB0awg (envelope-from ) for ; Sun, 22 Nov 2020 11:19:56 -0500 Received: by simark.ca (Postfix, from userid 112) id D08F31F0AB; Sun, 22 Nov 2020 11:19:56 -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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [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 19B5B1E58D for ; Sun, 22 Nov 2020 11:19:56 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 556EA3858009; Sun, 22 Nov 2020 16:19:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 556EA3858009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1606061995; bh=hIKivLRWX3k6Qtz5SpSRHmxhcQ9IPWqHAmsIqnNHqmM=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=LH+lLsep+QfrBK6G0D2VZvqho4l55znhm9Z2tRPUPuV50IA3ZoGBmF6pWYfH4wKHu mLJ3XBqQ2LzWXdoSJ8tDbfVzLg9HYeMfVLOi1IiG6dBzaI+5kuaAr1k/4a9GG4jac+ kY9egK8SrZhFqtVosZPz3kyc70tZ98qFoaFiobZU= Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id EEA493858009 for ; Sun, 22 Nov 2020 16:19:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EEA493858009 Received: by mail-ej1-x62e.google.com with SMTP id oq3so19885055ejb.7 for ; Sun, 22 Nov 2020 08:19:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=hIKivLRWX3k6Qtz5SpSRHmxhcQ9IPWqHAmsIqnNHqmM=; b=uX/6nXJeRegpLBVHOMQu8nZH841ce/KfBgPmrz/JYRvA2XoOkC0T52NEeGdJqDsLJo THhPoKFraA5tedrAnj1YiL/mbyHPgkBiWxyLIspN9mgu+Q/TE7Mpv9xpeYpWUvrEjWPh c5sektUeie+bOiP2fmBfa/MNRZKHO/6CfNNRlZt0Qi78m4Vfx3XjCSIcNjrnHWgdX9bX OdeAI8b9m0v+HRXbSQLC3MmF4Tt3o8NeeNp4xCwAGu3z4lofRO7hRJFFw/Nkg5gkoqIp 5b+pQWvYwfcpqmnYVrqU7qx4EJZve/UHSZWIhkm4TF0nvc3oLVLgzM+zfW7GDEMkRTbD 0gBA== X-Gm-Message-State: AOAM530CMd23BircI8RH/zON17SXfbKJQPj4oxW/CQNpIyvL+kWa/zMh VhWg7DEW6FCI1lc26fSnr+wq4Ymzw3w= X-Google-Smtp-Source: ABdhPJyQmDSVdIN6ZTcqhQL2VlAqpVj/eQVqQ4cdJnObmX9xljvmKWk3DMe7U+bw/VdTQlvXnwvJxg== X-Received: by 2002:a17:906:7e43:: with SMTP id z3mr481647ejr.67.1606061991134; Sun, 22 Nov 2020 08:19:51 -0800 (PST) Received: from [192.168.0.13] ([95.180.105.28]) by smtp.gmail.com with ESMTPSA id c30sm3736769edd.68.2020.11.22.08.19.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Nov 2020 08:19:50 -0800 (PST) Subject: Re: mingw --enable-tui To: Eli Zaretskii References: <83h7phxvb0.fsf@gnu.org> Message-ID: <562f0b99-1fd9-27d4-997e-d4e53c790d03@gmail.com> Date: Sun, 22 Nov 2020 17:19:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <83h7phxvb0.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US 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: , From: =?utf-8?q?gmail_Vladimir_Kokovi=C4=87_via_Gdb-patches?= Reply-To: =?UTF-8?Q?gmail_Vladimir_Kokovi=c4=87?= Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Hi, checking build system type... x86_64-pc-linux-gnu checking host system type... i686-w64-mingw32 checking target system type... i686-w64-mingw32 make[1]: Entering directory '/home/vlada/AUR/mingw-w64-gdb/mingw-w64-gdb/vk/build-i686-w64-mingw32' ...   CXX    tui/tui-regs.o   CXX    tui/tui-source.o   CXX    tui/tui-stack.o   CXX    tui/tui-win.o   CXX    tui/tui-wingeneral.o   CXX    tui/tui-winsource.o   CXX    tui/tui.o ... checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-w64-mingw32 checking target system type... x86_64-w64-mingw32 ...   CXX    tui/tui-regs.o   CXX    tui/tui-source.o   CXX    tui/tui-stack.o   CXX    tui/tui-win.o   CXX    tui/tui-wingeneral.o   CXX    tui/tui-winsource.o   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] make[2]: *** [Makefile:1614: tui/tui-win.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/vlada/AUR/mingw-w64-gdb/mingw-w64-gdb/vk/build-x86_64-w64-mingw32/gdb' make[1]: *** [Makefile:10078: all-gdb] Error 2 make[1]: Leaving directory '/home/vlada/AUR/mingw-w64-gdb/mingw-w64-gdb/vk/build-x86_64-w64-mingw32' make: *** [Makefile:866: all] Error 2 On 22.11.20. 16:31, Eli Zaretskii wrote: >> Date: Sun, 22 Nov 2020 12:44:56 +0100 >> From: gmail Vladimir Koković via Gdb-patches >> >> >> I managed to make mingw cross build 32 and 64, but I had to change >> gdb/tui//tui-win.c because of mingw64. > Can you tell what was the problem you saw without that change? > > Thanks.