Error in gdb make

David Daney ddaney@caviumnetworks.com
Wed Aug 5 17:43:00 GMT 2009


Praveen S. Solanki wrote:
> gdb version: 6.8

Does the --disable-werror configure option work in gdb?

David Daney

> ----- Original Message -----
> From: "Pedro Alves" <pedro@codesourcery.com>
> To: gdb@sourceware.org, tromey@redhat.com
> Cc: "Praveen S. Solanki" <psolanki@ccs.neu.edu>
> Sent: Wednesday, August 5, 2009 1:35:22 PM GMT -05:00 US/Canada Eastern
> Subject: Re: Error in gdb make
> 
> On Wednesday 05 August 2009 18:16:44, Tom Tromey wrote:
>>>>>>> "Praveen" == Praveen S Solanki <psolanki@ccs.neu.edu> writes:
>> Praveen> It seems that the newer libc don't consider it appropriate if
>> Praveen> the return values of libc function is not used. This causes
>> Praveen> make to fail.
>>
>> Please be more specific.  What exact error?  What compiler?  What
>> operating system?
> 
> ... 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/2008-12/msg00243.html
>  http://sourceware.org/ml/gdb-patches/2009-01/msg00050.html
> 



More information about the Gdb mailing list