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 04895431FD0 for ; Thu, 22 Dec 2011 01:33:01 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled 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 AY3Y6kMl7sOB for ; Thu, 22 Dec 2011 01:33:01 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 69A8F431FB6 for ; Thu, 22 Dec 2011 01:33:01 -0800 (PST) Received: by wibhq2 with SMTP id hq2so3055670wib.26 for ; Thu, 22 Dec 2011 01:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=ilgQ58VBwURrp2Sy2M2qhuaxjwUjSNrtOTzw+amfo8g=; b=X3Q2qx8FC/8kLRtL21VoC2/dr4a+EtbyzHzu828QXjYhlwv70GIsoLTvNaTMX66OYF VTAJKeKT5td7mfxg5sTGrrK/VpH2ksboMcINuqAAXZNn4jpAKYQn0sDB8gOq1/quVyav tY8nz9xGTWsDgvpom7i7xTtGumQwIeo83Nao8= Received: by 10.180.88.10 with SMTP id bc10mr21880199wib.13.1324546380315; Thu, 22 Dec 2011 01:33:00 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id ff10sm9008026wbb.6.2011.12.22.01.32.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Dec 2011 01:32:59 -0800 (PST) From: Dmitry Kurochkin To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [RFC][PATCH] notmuch: Workaround to allow ignoring non-void function return. In-Reply-To: <1324503532-5799-1-git-send-email-dme@dme.org> References: <1324503532-5799-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.10.2+116~ga89e197 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Thu, 22 Dec 2011 13:32:15 +0400 Message-ID: <874nwtx880.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Thu, 22 Dec 2011 09:33:02 -0000 Hi David. Perhaps I am missing something here. But I do not get any warnings when building with GCC 4.6.2 with -Wall -Werror (-O2 and -O0). I do not like adding any complex hacks to make the build warning-free on old GCC versions. If this happens on the build bot, we should just update it or ignore the warnings. Regards, Dmitry