This is the mail archive of the gdb-patches@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: [PATCH] Do partial xfers from trace file


>>>>> "Stan" == Stan Shebs <stan@codesourcery.com> writes:

>> tracepoint.c:3895: error: ignoring return value of âreadâ, declared
>> with attribute warn_unused_result

Stan> It's a little weird that some people get a complaint and others
Stan> don't...  In any case, it's just an oversight, all the other read
Stan> results are being checked, and so I just committed the fix below.

There is a distro difference here.  Some distros have warn_unused_result
enabled by default on some functions.

Tom


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