From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74312: 31.0.50; Cygw32 build break Date: Tue, 12 Nov 2024 14:42:32 +0200 Message-ID: <86jzd8ipxj.fsf@gnu.org> References: <858qtpkemi.wl--xmue@d1.dion.ne.jp> <86serxkb3x.fsf@gnu.org> <0f292392-7a84-4427-a9ed-9a4dc4014a85@cornell.edu> <86wmh9il65.fsf@gnu.org> <4add61f6-3654-4b9f-913b-ec3a52981aea@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40943"; mail-complaints-to="usenet@ciao.gmane.io" Cc: kzhr@d1.dion.ne.jp, 74312@debbugs.gnu.org To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 12 13:43:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tAqEt-000ARz-LC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Nov 2024 13:43:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAqEd-0000hN-2J; Tue, 12 Nov 2024 07:43:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAqEa-0000hB-U7 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 07:43:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAqEZ-0000IS-3z for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 07:43:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=Lx5nsrUSDQkgAzF+hadMfErJFHfckraNeHvvFUcC2/s=; b=n49c5s5ylugTOuN3jO8pjQlLtaqxR6JXhujMjzIXw1sQh+Wp7oqxAgYgU4lIuVfxUTlwAQIKw9H3vKaYjY5QBFegVDKaJyt8VGsrqMC/ZclsJKl7GUQl4nAQZGWu0umDt/GI+z/mqBg+jqB1bVmwVXvq3J5tOrpoy7rYzq/KNrL6PEC+uoRFwsIz6ih1ius3kKOBOYatvR0TlTTh24B4wwoPPABCD0amJg0vsx3KPv1iz2XzLvejEnnB0B1rFxk/GbEsbEkDRV1ol8GseeL3D+nXayRasVlGGZQT6jO5dd7p1N51vD/TuXokEiamkENzDLzNx1ZI4qbkNYh5UHlzug==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAqEY-0005Py-42 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 07:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Nov 2024 12:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74312 X-GNU-PR-Package: emacs Original-Received: via spool by 74312-submit@debbugs.gnu.org id=B74312.173141536820800 (code B ref 74312); Tue, 12 Nov 2024 12:43:02 +0000 Original-Received: (at 74312) by debbugs.gnu.org; 12 Nov 2024 12:42:48 +0000 Original-Received: from localhost ([127.0.0.1]:32810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAqEJ-0005PQ-SZ for submit@debbugs.gnu.org; Tue, 12 Nov 2024 07:42:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAqEH-0005P9-0Q for 74312@debbugs.gnu.org; Tue, 12 Nov 2024 07:42:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAqE7-0000HK-6D; Tue, 12 Nov 2024 07:42:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Lx5nsrUSDQkgAzF+hadMfErJFHfckraNeHvvFUcC2/s=; b=lfM81FOufWV3VgdP+GAB wsYiZc4ZFAvERrV0RMVWsL9s+67KYvyrFLhGjq3K+ADuN7m+xM5ZH/Rrhx7FVIYqkkPnWKHc9bCq5 10Jnu16s1wGHcLUQSKeay72h7xyriubOwDaoIwXvlxh97OUSN/dpL+6o9UJoCxmOqif5mWU6XAiww ymdPEvJ00xrPhgv0J/4CPL8rkmclcungpM7IHsivcLUzeN1gp9ueYZGToRc/0CTQiwvW4q4HK6aIh 1KoAH62ppKmIGcZHoNRgsvrQfLJMGzNlPJgYbXxEObDWoEg9tP2NUIDMkZVVvTfZVsnaJNw1w7yhJ yrEbmIUhCcNtUQ==; In-Reply-To: <4add61f6-3654-4b9f-913b-ec3a52981aea@cornell.edu> (message from Ken Brown on Mon, 11 Nov 2024 17:50:47 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295244 Archived-At: > Date: Mon, 11 Nov 2024 17:50:47 -0500 > Cc: kzhr@d1.dion.ne.jp, 74312@debbugs.gnu.org > From: Ken Brown > > The build still fails: > > In function ‘dump_mm_heap_cb_release’, > inlined from ‘dump_mmap_contiguous_heap’ at ../../src/pdumper.c:4919:3, > inlined from ‘dump_mmap_contiguous’ at ../../src/pdumper.c:5064:50, > inlined from ‘pdumper_load’ at ../../src/pdumper.c:5765:8: > ../../src/pdumper.c:4857:11: warning: null pointer dereference > [-Wnull-dereference] > 4857 | if (--cb->refcount == 0) > | ~~^~~~~~~~~~ > ../../src/pdumper.c:4857:6: warning: null pointer dereference > [-Wnull-dereference] > 4857 | if (--cb->refcount == 0) > | ^ > In file included from ../../src/pdumper.c:26: > In function ‘dump_mm_heap_cb_release’, > inlined from ‘dump_mm_heap_cb_release’ at ../../src/pdumper.c:4854:1, > inlined from ‘dump_mmap_contiguous_heap’ at ../../src/pdumper.c:4919:3, > inlined from ‘dump_mmap_contiguous’ at ../../src/pdumper.c:5064:50, > inlined from ‘pdumper_load’ at ../../src/pdumper.c:5765:8: > ../../src/pdumper.c:4859:7: warning: null pointer dereference > [-Wnull-dereference] > 4859 | free (cb->mem); > | ^ > > ../../src/w32menu.c: In function ‘w32_popup_dialog’: > ../../src/w32menu.c:200:21: warning: implicit declaration of function > ‘pMultiByteToWideChar’; did you mean ‘MultiByteToWideChar’? > [-Wimplicit-function-declaration] > 200 | * pMultiByteToWideChar (CP_UTF8, 0, title, > -1, NULL, 0)); > | ^~~~~~~~~~~~~~~~~~~~ > | MultiByteToWideChar > ../../src/w32menu.c:200:21: warning: nested extern declaration of > ‘pMultiByteToWideChar’ [-Wnested-externs] > > ../../src/w32dwrite.c:41: warning: macro "INITGUID" is not used > [-Wunused-macros] > 41 | # define INITGUID > | > ../../src/w32dwrite.c: In function ‘w32_dwrite_encode_char’: > ../../src/w32dwrite.c:662:51: warning: pointer targets in passing > argument 2 of ‘dwrite_font_face->lpVtbl->GetGlyphIndicesA’ differ in > signedness [-Wpointer-sign] > 662 | &c, 1, &index); > | ^~ > | | > | int * > ../../src/w32dwrite.c:662:51: note: expected ‘const UINT32 *’ {aka > ‘const unsigned int *’} but argument is of type ‘int *’ > > /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: > w32menu.o: in function `w32_popup_dialog': > /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:200:(.text+0xb6a): > undefined reference to `pMultiByteToWideChar' > /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: > /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:202:(.text+0xba5): > undefined reference to `pMultiByteToWideChar' > /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: > /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:252:(.text+0xc1e): > undefined reference to `pMultiByteToWideChar' > /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: > /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:256:(.text+0xc6a): > undefined reference to `pMultiByteToWideChar' > /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: > /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:230:(.text+0xdfe): > undefined reference to `pMultiByteToWideChar' > /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: > w32menu.o:/home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:233: > more undefined references to `pMultiByteToWideChar' follow > > I don't have time right now to look into the reasons for these errors > and warnings, but, again, I'll try to do that within a few days if no > one beats me to it. Thanks, I tried to fix those.