Error in gdb make

Praveen S. Solanki psolanki@ccs.neu.edu
Wed Aug 5 17:33:00 GMT 2009


Sure Tom.

Error message type:
inflow.c:548: error: ignoring return value of ‘dup’, declared with attribute warn_unused_result  

OS:
Linux galaga 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux

libc version:
2.9

gcc version:
4.3.3

Thanks and regards
Praveen

----- Original Message -----
From: "Tom Tromey" <tromey@redhat.com>
To: "Praveen S. Solanki" <psolanki@ccs.neu.edu>
Cc: "gdb" <gdb@sourceware.org>
Sent: Wednesday, August 5, 2009 1:16:44 PM GMT -05:00 US/Canada Eastern
Subject: Re: Error in gdb make

>>>>> "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?

Tom



More information about the Gdb mailing list