unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Karl Wiberg <kha@treskal.com>
To: Dirk-Jan Binnema <djcb.bulk@gmail.com>
Cc: "notmuch@notmuchmail org" <notmuch@notmuchmail.org>,
	djcb@djcbsoftware.nl
Subject: Re: [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to ignored write return values
Date: Mon, 23 Nov 2009 14:19:18 +0100	[thread overview]
Message-ID: <b8197bcb0911230519l4edf1b72w26d993834f25a417@mail.gmail.com> (raw)
In-Reply-To: <1873022c0911230311o77e55fdqa5464a2dd16ec265@mail.gmail.com>

On Mon, Nov 23, 2009 at 12:11 PM, Dirk-Jan Binnema <djcb.bulk@gmail.com> wrote:

> On Mon, Nov 23, 2009 at 9:34 AM, Karl Wiberg <kha@treskal.com> wrote:
>
> > Didn't the "(void)" suggestion work?
>
> I actually preferred that solution, but unfortunately, it didn't
> stop gcc from complaining...

Hmpf. I'd argue that that's a gcc bug, forcing the user to use an
unnecessarily complicated way to pretend to use the return value. Oh
well.

-- 
Karl Wiberg, kha@treskal.com
   subrabbit.wordpress.com
   www.treskal.com/kalle

  reply	other threads:[~2009-11-23 13:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23  6:20 [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to ignored write return values Dirk-Jan C. Binnema
2009-11-23  7:34 ` Karl Wiberg
2009-11-23 11:11   ` Dirk-Jan Binnema
2009-11-23 13:19     ` Karl Wiberg [this message]
2009-11-23 14:24       ` Jed Brown
2009-11-23 16:14         ` Dirk-Jan Binnema
2009-11-23 16:38           ` Jed Brown
2009-12-01 15:57         ` Carl Worth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8197bcb0911230519l4edf1b72w26d993834f25a417@mail.gmail.com \
    --to=kha@treskal.com \
    --cc=djcb.bulk@gmail.com \
    --cc=djcb@djcbsoftware.nl \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).