From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35968: Proposed clean-compile patches for release 26.3 Date: Thu, 30 May 2019 17:03:32 +0300 Message-ID: <83a7f4xcnf.fsf@gnu.org> References: <85h89ecmex.fsf@gmail.com> <70b1022c-d091-4c32-5683-df1d306baf4b@cs.ucla.edu> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="258139"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35968@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 30 16:04:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWLf8-0014wM-2X for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 16:04:10 +0200 Original-Received: from localhost ([127.0.0.1]:54516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWLf7-0006xb-1P for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 10:04:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWLf1-0006xW-4D for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 10:04:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWLf0-0003NV-5I for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 10:04:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48173) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWLf0-0003NK-2E for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 10:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWLez-0004A9-Tq for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 10:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2019 14:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35968 X-GNU-PR-Package: emacs Original-Received: via spool by 35968-submit@debbugs.gnu.org id=B35968.155922501015961 (code B ref 35968); Thu, 30 May 2019 14:04:01 +0000 Original-Received: (at 35968) by debbugs.gnu.org; 30 May 2019 14:03:30 +0000 Original-Received: from localhost ([127.0.0.1]:33484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWLeU-00049N-As for submit@debbugs.gnu.org; Thu, 30 May 2019 10:03:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWLeR-000492-CG for 35968@debbugs.gnu.org; Thu, 30 May 2019 10:03:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWLeL-0002ap-SA; Thu, 30 May 2019 10:03:21 -0400 Original-Received: from [176.228.60.248] (port=1114 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hWLeK-000163-Or; Thu, 30 May 2019 10:03:21 -0400 In-reply-to: <70b1022c-d091-4c32-5683-df1d306baf4b@cs.ucla.edu> (message from Paul Eggert on Wed, 29 May 2019 18:10:24 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159921 Archived-At: > From: Paul Eggert > Date: Wed, 29 May 2019 18:10:24 -0700 > > I propose the attached patches for Emacs 26.3, to help it compile > cleanly with more-recent software (GCC 9, librsvg 2.45.1). The idea is > mainly to avoid bug reports from people who would otherwise send us > these diagnostics. Most of these patches are already in master; the > exceptions (patches 2 and 5) are for parts of Emacs that are typically > not compiled in master. Thanks. I'm okay with all these changes, with one possible exception: > @@ -351,10 +348,6 @@ size_t _bytes_free; > /* Are you experienced? */ > int __malloc_initialized; > > -#else > - > -static struct list _fraghead[BLOCKLOG]; > - > #endif /* HYBRID_MALLOC */ > > /* Number of extra blocks to get each time we ask for more core. This hunk seems to be just an aesthetic cleanup. Does it cause any warnings/errors during compilation? If not, I'd prefer to leave it out, for paranoia reasons.