This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: fix compilation error under gcc 3.2.3 (warning treated as error)


On Thu, Feb 14, 2008 at 09:37:26AM +0200, Yakov Lerner wrote:
> Fix "duplicate const" compilation error (warning treated as error)
> under gcc 3.2.3 (AS3 Linux, gcc version 3.2.3 20030502 (Red Hat Linux
> 3.2.3-20)).
> 
> Typedef for reloc_howto_type already has const, remove
> unnecessary const at line 1174 bfd/elf32-i386.c

Your patch adds const, not removes it - I think you diffed files in
the wrong order.

Also, this change is already in GDB HEAD.  It's helpful if you can
work from HEAD if you submit patches, or at least say what version
you were working from.

-- 
Daniel Jacobowitz
CodeSourcery


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