This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Error in gdb make
- From: "Praveen S. Solanki" <psolanki at ccs dot neu dot edu>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Wed, 5 Aug 2009 15:20:34 -0400 (EDT)
- Subject: Re: Error in gdb make
Thanks
----- Original Message -----
From: "Pedro Alves" <pedro@codesourcery.com>
To: gdb@sourceware.org
Cc: "Praveen S. Solanki" <psolanki@ccs.neu.edu>
Sent: Wednesday, August 5, 2009 1:45:33 PM GMT -05:00 US/Canada Eastern
Subject: Re: Error in gdb make
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