emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling pdumper.c fails with gcc 4.7.2


From: Eli Zaretskii
Subject: Re: Compiling pdumper.c fails with gcc 4.7.2
Date: Wed, 23 Jan 2019 17:41:42 +0200

> Date: Wed, 23 Jan 2019 10:10:22 +0100
> From: martin rudalics <address@hidden>
> 
> With gcc 4.7.2 compiling pdumper.c fails thusly:
> 
>    CC       pdumper.o
> ../../src/pdumper.c: In function ‘emacs_offset’:
> ../../src/pdumper.c:718:27: error: declaration of ‘emacs_ptr’ shadows a 
> global declaration [-Werror=shadow]
> ../../src/pdumper.c:710:1: error: shadowed declaration is here 
> [-Werror=shadow]
> ../../src/pdumper.c: In function ‘dump_emacs_reloc_copy_from_dump’:
> ../../src/pdumper.c:1559:40: error: declaration of ‘emacs_ptr’ shadows a 
> global declaration [-Werror=shadow]

A hilarious GCC bug.

> Is there any practicable way to fix this?

I tried to fix it, please try the latest master.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]