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


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


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