This is the mail archive of the gdb@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: 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


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