This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Error in gdb make
- From: Tom Tromey <tromey at redhat dot com>
- To: Grant Edwards <grant dot b dot edwards at gmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 05 Aug 2009 11:37:36 -0600
- Subject: Re: Error in gdb make
- References: <27150072.194981249490623195.JavaMail.root@zimbra> <17863887.195221249491042898.JavaMail.root@zimbra> <h5cetd$jpv$1@ger.gmane.org>
- Reply-to: tromey at redhat dot com
>>>>> "Grant" == Grant Edwards <grant.b.edwards@gmail.com> writes:
Grant> On 2009-08-05, Praveen S. Solanki <psolanki@ccs.neu.edu> wrote:
>> It seems that the newer libc don't consider it appropriate if
>> the return values of libc function is not used. This causes
>> make to fail.
Grant> How libc can enforce such a "consideration" on usage of return
Grant> values?
GCC has a `warn_unused_result' attribute.
Tom