This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Committed, gas/dwarf2dbg.c: Rename local variable exp from expr
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 25 Jul 2017 16:58:30 -0300
- Subject: Re: Committed, gas/dwarf2dbg.c: Rename local variable exp from expr
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=aoliva at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 41024356CC
- References: <alpine.BSF.2.02.1707231856130.62395@arjuna.pair.com>
Hi, H-P,
On Jul 23, 2017, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> /home/hp/binutils/src/gas/dwarf2dbg.c:2246: error: declaration of 'expr' shadows a global declaration
> /home/hp/binutils/src/gas/expr.h:180: error: shadowed declaration is here
Thanks! I wonder, though, whether 'exp' won't be just as troublesome,
in case some system or gas header includes math.h, now or in the
future...
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer