Error in gdb make
Pedro Alves
pedro@codesourcery.com
Wed Aug 5 17:45:00 GMT 2009
On Wednesday 05 August 2009 18:39:02, Praveen S. Solanki wrote:
> gdb version: 6.8
GDB 6.8 was released in early 2008. I think we missed
disable -Werror in that release.
> Pedro Alves wrote:
>
> ... and what GDB version. It sounds like he's referring to warnings
> from glibc's (ab)use of warn_unused_result, which Jim Blandy
> fixed months ago:
>
> http://sourceware.org/ml/gdb-patches/2009-01/msg00050.html
^^^^^^^
2009-01 > 2008-xx.
Either try a recent GDB snapshot, or build 6.8 with "-Wno-unused-result"
added to CFLAGS, or configure with --disable-werror.
--
Pedro Alves
More information about the Gdb
mailing list