Committed, gas/dwarf2dbg.c: Rename local variable exp from expr

Alexandre Oliva aoliva@redhat.com
Tue Jul 25 19:59:00 GMT 2017


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



More information about the Binutils mailing list