From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12126 invoked by alias); 13 Apr 2010 16:27:01 -0000 Received: (qmail 12097 invoked by uid 22791); 13 Apr 2010 16:27:00 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Apr 2010 16:26:52 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3DGQf5n014766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Apr 2010 12:26:41 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3DGQesi003721; Tue, 13 Apr 2010 12:26:40 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o3DGQdCs001886; Tue, 13 Apr 2010 12:26:39 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 02F68378887; Tue, 13 Apr 2010 10:26:38 -0600 (MDT) From: Tom Tromey To: Stan Shebs Cc: Mike Frysinger , gdb-patches@sourceware.org Subject: Re: [PATCH] Do partial xfers from trace file References: <4BBA5FE9.2060508@codesourcery.com> <201004122304.39043.vapier@gentoo.org> <4BC3EBD2.8090303@codesourcery.com> Reply-To: tromey@redhat.com Date: Tue, 13 Apr 2010 16:27:00 -0000 In-Reply-To: <4BC3EBD2.8090303@codesourcery.com> (Stan Shebs's message of "Mon, 12 Apr 2010 20:58:10 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00413.txt.bz2 >>>>> "Stan" =3D=3D Stan Shebs writes: >> tracepoint.c:3895: error: ignoring return value of =E2=80=98read=E2=80= =99, 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