1 Return-Path: <cworth@cworth.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 2569A431FBF;
\r
6 Sun, 22 Nov 2009 18:39:09 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id eGkLKnyVSDTU; Sun, 22 Nov 2009 18:38:40 -0800 (PST)
\r
11 Received: from cworth.org (localhost [127.0.0.1])
\r
12 by olra.theworths.org (Postfix) with ESMTP id 433C0431FAE;
\r
13 Sun, 22 Nov 2009 18:38:40 -0800 (PST)
\r
14 From: Carl Worth <cworth@cworth.org>
\r
15 To: Jan Janak <jan@ryngle.com>, notmuch@notmuchmail.org
\r
16 In-Reply-To: <1258893156-25849-1-git-send-email-jan@ryngle.com>
\r
17 References: <1258893156-25849-1-git-send-email-jan@ryngle.com>
\r
18 Date: Mon, 23 Nov 2009 03:38:25 +0100
\r
19 Message-ID: <876392ge3i.fsf@yoom.home.cworth.org>
\r
21 Content-Type: text/plain; charset=us-ascii
\r
22 Subject: Re: [notmuch] [PATCH] notmuch-new: Eliminate gcc warning caused by
\r
24 X-BeenThere: notmuch@notmuchmail.org
\r
25 X-Mailman-Version: 2.1.12
\r
27 List-Id: "Use and development of the notmuch mail system."
\r
28 <notmuch.notmuchmail.org>
\r
29 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
30 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
31 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
32 List-Post: <mailto:notmuch@notmuchmail.org>
\r
33 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
34 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
35 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
36 X-List-Received-Date: Mon, 23 Nov 2009 02:39:09 -0000
\r
38 On Sun, 22 Nov 2009 13:32:36 +0100, Jan Janak <jan@ryngle.com> wrote:
\r
39 > The function passed to scandir in the fourth argument takes two
\r
40 > const void* arguments. To eliminate the gcc warning about incompatible
\r
41 > types, we change ino_cmp to match this and then re-type the parameters
\r
42 > in the body of ino_cmp.
\r
44 Actually, on my system at least, (Linux with glibc 2.10.1), our current
\r
45 function matches the prototype. So applying your patch actually
\r
46 *introduces* a warning where there was no warning before.
\r
50 Any ideas for a good fix, anyone?
\r