This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] bfd: fix elflink.c build


On Tue, Jul 10, 2018 at 07:31:59AM -0600, Jan Beulich wrote:
> Commit b8a6ced796 ("Correct removal of .gnu.attributes") introduced a
> "remove" local variable, but "remove" is an identifier older stdio.h
> supplies, and at least some compiler versions complain about the
> shadowing of the name.
> 
> bfd/
> 2018-07-10  Jan Beulich  <jbeulich@suse.com>
> 
> 	* elflink.c (bfd_elf_final_link): Rename "remove" to "rm".

Thanks, but Maciej has already posted a patch.
https://sourceware.org/ml/binutils/2018-07/msg00121.html

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]