From 0cf615374aca5c8c83c9e2fa30c83e3ad2364c6c Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 15 Apr 2013 20:00:16 +2100 Subject: [PATCH] Re: [PATCH] cli: mime node: fix compiler warning when building against gmime 2.4 --- da/b84e16bd8530ae3f213a181128ce540d965940 | 73 +++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 da/b84e16bd8530ae3f213a181128ce540d965940 diff --git a/da/b84e16bd8530ae3f213a181128ce540d965940 b/da/b84e16bd8530ae3f213a181128ce540d965940 new file mode 100644 index 000000000..10182bf7d --- /dev/null +++ b/da/b84e16bd8530ae3f213a181128ce540d965940 @@ -0,0 +1,73 @@ +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 9015D431FB6 + for ; Sun, 14 Apr 2013 16:00:29 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 V1WT2mxfbdWJ for ; + Sun, 14 Apr 2013 16:00:27 -0700 (PDT) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 91689431FAF + for ; Sun, 14 Apr 2013 16:00:27 -0700 (PDT) +Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.82.78] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) + (envelope-from ) + id 1URVuJ-00019H-1l; Sun, 14 Apr 2013 20:00:23 -0300 +Received: from bremner by zancas.localnet with local (Exim 4.80) + (envelope-from ) + id 1URVuD-0003ln-8S; Sun, 14 Apr 2013 20:00:17 -0300 +From: David Bremner +To: Jani Nikula , notmuch@notmuchmail.org, + Mark Walters +Subject: Re: [PATCH] cli: mime node: fix compiler warning when building + against gmime 2.4 +In-Reply-To: <1365248863-17947-1-git-send-email-jani@nikula.org> +References: <1365248863-17947-1-git-send-email-jani@nikula.org> +User-Agent: Notmuch/0.15.2+73~g1c450ec (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Sun, 14 Apr 2013 20:00:16 -0300 +Message-ID: <87mwt0u39b.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-Spam_bar: - +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: Sun, 14 Apr 2013 23:00:29 -0000 + +Jani Nikula writes: + +[...] + +> mime-node.c:224:9: warning: assignment discards =E2=80=98const=E2=80=99 q= +ualifier from +> pointer target type [enabled by default] +> +> Pass the non-const signature validity to the destructor to fix this. + +pushed, + +d + -- 2.26.2