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
On Tue, 25 Jul 2017, Alexandre Oliva wrote:
> 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...
Perhaps, but I forgot to mention that I took the name "exp" from
usage in another nearby function. So, not yet. :)
brgds, H-P