Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 397D9431FBC for ; Mon, 23 Nov 2009 08:14:14 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WUA+Cq2rRtUR for ; Mon, 23 Nov 2009 08:14:13 -0800 (PST) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by olra.theworths.org (Postfix) with ESMTP id 78136431FAE for ; Mon, 23 Nov 2009 08:14:13 -0800 (PST) Received: by fg-out-1718.google.com with SMTP id 19so835389fgg.2 for ; Mon, 23 Nov 2009 08:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=F4bu6hj39pAsk/BPcqCwtvifSyjo71NnFTrn7+by2xo=; b=M2TYb+CLRiugdXizrgqiIWjF1m5Sw2SksS1j9HIVvAxReJ2ferqIY7UYsLOMOtSJai ufD0TS3bDEm3fXLqNEW4pDHD89uK09OU0opyZjsFTxcpi/W51YlwrzEYs7f3qqUfsTvW d9mKR9w9GG1W2w/Jv5h0prkpt6BoSEKX142m4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Lb/a6AJpRpgN9xrOMR69ms0YlEXOYBgtUjdNOSyZGIZko7l8UAwtaMvQLoMg/sVWOO caflHYpJXBpuDkkxphRjELcd5x3XyRBRYccfCsfIaFJMM+Ox8j3HhLkzBkrKGY01mgbl GUHwjspEffjn5wAs/IJKaPvKxJBW3fVdUi/ok= MIME-Version: 1.0 Received: by 10.87.76.8 with SMTP id d8mr4271600fgl.66.1258992852579; Mon, 23 Nov 2009 08:14:12 -0800 (PST) In-Reply-To: <87ws1h48up.fsf@59A2.org> References: <87skc5yd6v.wl%djcb@djcbsoftware.nl> <1873022c0911230311o77e55fdqa5464a2dd16ec265@mail.gmail.com> <87ws1h48up.fsf@59A2.org> Date: Mon, 23 Nov 2009 18:14:12 +0200 Message-ID: <1873022c0911230814y783f14ffn23f12d13c73e5acc@mail.gmail.com> From: Dirk-Jan Binnema To: Jed Brown Content-Type: multipart/alternative; boundary=001485f8d182c0b5fc04790c1d94 Cc: "notmuch@notmuchmail org" , djcb@djcbsoftware.nl Subject: Re: [notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to ignored write return values X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2009 16:14:14 -0000 --001485f8d182c0b5fc04790c1d94 Content-Type: text/plain; charset=ISO-8859-1 Hi Jed, On Mon, Nov 23, 2009 at 4:24 PM, Jed Brown wrote: > > > But I'm confused here because I don't currently see any warnings with > gcc-4.4.2. Actually this must be a bug because I get no warnings for > the blatantly unused > > malloc(5); > Did you try it with -O2? Without optimizations many of the warnings are not issued. Best wishes, Dirk. --001485f8d182c0b5fc04790c1d94 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Jed,

On Mon, Nov 23, 2009 at 4:24 PM, = Jed Brown <jed@59a2.or= g> wrote:


But I'm confused here because I don't currently see any warnings wi= th
gcc-4.4.2. =A0Actually this must be a bug because I get no warnings for
the blatantly unused

=A0malloc(5);

Did you try it with -O2? Without op= timizations many of the warnings are not issued.

Best wishes,
Dir= k.
--001485f8d182c0b5fc04790c1d94--