Re: [RFC][PATCH] notmuch: Workaround to allow ignoring non-void function return.
[notmuch-archives.git] / 8e / a90dd008ab1ba44582d31d654a8a25f9e82153
1 Return-Path: <dmitry.kurochkin@gmail.com>\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 04895431FD0\r
6         for <notmuch@notmuchmail.org>; Thu, 22 Dec 2011 01:33:01 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id AY3Y6kMl7sOB for <notmuch@notmuchmail.org>;\r
17         Thu, 22 Dec 2011 01:33:01 -0800 (PST)\r
18 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
19         [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 69A8F431FB6\r
22         for <notmuch@notmuchmail.org>; Thu, 22 Dec 2011 01:33:01 -0800 (PST)\r
23 Received: by wibhq2 with SMTP id hq2so3055670wib.26\r
24         for <notmuch@notmuchmail.org>; Thu, 22 Dec 2011 01:33:00 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
27         :mime-version:content-type;\r
28         bh=ilgQ58VBwURrp2Sy2M2qhuaxjwUjSNrtOTzw+amfo8g=;\r
29         b=X3Q2qx8FC/8kLRtL21VoC2/dr4a+EtbyzHzu828QXjYhlwv70GIsoLTvNaTMX66OYF\r
30         VTAJKeKT5td7mfxg5sTGrrK/VpH2ksboMcINuqAAXZNn4jpAKYQn0sDB8gOq1/quVyav\r
31         tY8nz9xGTWsDgvpom7i7xTtGumQwIeo83Nao8=\r
32 Received: by 10.180.88.10 with SMTP id bc10mr21880199wib.13.1324546380315;\r
33         Thu, 22 Dec 2011 01:33:00 -0800 (PST)\r
34 Received: from localhost ([91.144.186.21])\r
35         by mx.google.com with ESMTPS id ff10sm9008026wbb.6.2011.12.22.01.32.59\r
36         (version=TLSv1/SSLv3 cipher=OTHER);\r
37         Thu, 22 Dec 2011 01:32:59 -0800 (PST)\r
38 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
39 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
40 Subject: Re: [RFC][PATCH] notmuch: Workaround to allow ignoring non-void\r
41         function return.\r
42 In-Reply-To: <1324503532-5799-1-git-send-email-dme@dme.org>\r
43 References: <1324503532-5799-1-git-send-email-dme@dme.org>\r
44 User-Agent: Notmuch/0.10.2+116~ga89e197 (http://notmuchmail.org) Emacs/23.3.1\r
45         (x86_64-pc-linux-gnu)\r
46 Date: Thu, 22 Dec 2011 13:32:15 +0400\r
47 Message-ID: <874nwtx880.fsf@gmail.com>\r
48 MIME-Version: 1.0\r
49 Content-Type: text/plain; charset=us-ascii\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Thu, 22 Dec 2011 09:33:02 -0000\r
63 \r
64 Hi David.\r
65 \r
66 Perhaps I am missing something here.  But I do not get any warnings when\r
67 building with GCC 4.6.2 with -Wall -Werror (-O2 and -O0).  I do not like\r
68 adding any complex hacks to make the build warning-free on old GCC\r
69 versions.  If this happens on the build bot, we should just update it or\r
70 ignore the warnings.\r
71 \r
72 Regards,\r
73   Dmitry\r