From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Compiling pdumper.c fails with gcc 4.7.2 Date: Thu, 24 Jan 2019 10:05:42 +0100 Message-ID: <5C497FE6.4010601@gmx.at> References: <5C482F7E.1050805@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190030"; mail-complaints-to="usenet@blaine.gmane.org" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 24 10:10:02 2019 Return-path: Envelope-to: ged-emacs-devel@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 1gmb1O-000nJE-10 for ged-emacs-devel@m.gmane.org; Thu, 24 Jan 2019 10:10:02 +0100 Original-Received: from localhost ([127.0.0.1]:49878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmb1M-0007uz-T0 for ged-emacs-devel@m.gmane.org; Thu, 24 Jan 2019 04:10:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmayX-0006or-LV for emacs-devel@gnu.org; Thu, 24 Jan 2019 04:07:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmaxS-0003pS-EK for emacs-devel@gnu.org; Thu, 24 Jan 2019 04:05:58 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:34089) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmaxP-0003eo-0C for emacs-devel@gnu.org; Thu, 24 Jan 2019 04:05:56 -0500 Original-Received: from [192.168.1.101] ([46.125.249.5]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MHX4u-1glTxs0NqO-003M99 for ; Thu, 24 Jan 2019 10:05:52 +0100 In-Reply-To: X-Provags-ID: V03:K1:b7lOox+UX7gxXED+FIyUe1UB50bx5+QsxdD/Vqc/sSvVXiLTKYt CocuUbAJTN/3S996/Noevqqt9KgMAFWXdmMRYs/sVlDZhXrOjS56DFcJ6Om1oTSHEdeu75d k3nfIuL3uH+pmJn47MkWd7GWbVtufNxfYusZv80zJka8z4Wx95S9gqJv3dqiebJYBGHCMKV ih6pCROIqmGVYwyyVi7RQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:VMnpqHZL2pc=:ypSJ+SGQT2ew+lNM+f8p2o l4OLO9lfRQe4BWOZSqvCaYKadjyrelZP2J9QmHKU7Oc62vn0H66ikaIu4h3ugUI/nITBasDL0 6NXYtv1+h37uo6DoBQANSSyzYCCyjhS2cvD8iO2bDqdCmqKuwtDXF4qF1noGuDFIuFY1JeJMO rQ6u9HUJcS0F1FSnpO4iOJDOzYt/iYONkmogZfSDtQzhKiH4neQ/LDUZy4GLSXmapilwA8+eD Qhj6EbFTKihxea8EnFdKVbBDm95VmMcT9Q1cEMGzgXxv9TZ/y4PXbIpksSagZwAqsSdKpeF0/ mmVO9IlhVdu7ZRsWELCqb5qoceOYMhuN/fNMrHEEpeVLK1SYy1W1B+5B1Si6qPypknAJnUm4K 3ixGkeIjhX99afWPZuRG4waUB+RLeDKJxGT1PyIrfVhMEYunNOC/IzEm6N85+IXQOHxk3xkmY +EJKu0ZXCCADXRLg808FIry1coywkwbnDUg5Q4rmg06HsI3bpQ1VaR3Mzj8zv21Quh5nz3K9r PqeZkwy4nWgMxYJxZBr6r5OMfgGK4aW9nfIzwzDdNA8J3zsOPlDfaUbCodKWHTfKhjhihAvaC XVQvJOywsFe4pSjakS4nWdP5aS+3sHfW4SUM/4fhlpEmvMm7E2QZ1+xFmrUqyAKPR541oTdzc 4/XAk3o1jyNA4UaJ5ERnarI89ECUwRiHaH0JT8EQwuZEMbJminZD4QRwQCUUhyTX9p/oi1wPp Qk7JJ9kxVzp3xIKd5LBYdA0rowOVyZVYq/pAfUIlzion1Z1wKPUHkvLfCVZwoT/C4jF/Jcuh X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232668 Archived-At: >> With gcc 4.7.2 compiling pdumper.c fails thusly: >> >> CC pdumper.o >> ../../src/pdumper.c: In function =E2=80=98emacs_offset=E2=80=99: >> ../../src/pdumper.c:718:27: error: declaration of =E2=80=98emacs_ptr=E2= =80=99 shadows a global declaration [-Werror=3Dshadow] >> ../../src/pdumper.c:710:1: error: shadowed declaration is here [-Werr= or=3Dshadow] >> >> Is there any practicable way to fix this? > > Sure, the emacs_ptr function is static, so it can change name easily > enough. Something like the following works for me: Thank you very much. I verified that it would have worked here hadn't Eli installed a different fix. martin