From: David Bremner Date: Sat, 5 Mar 2016 00:44:02 +0000 (+2000) Subject: Re: [PATCH v2] lib: NOTMUCH_DEPRECATED macro also for older compilers X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=efa5e275084185f2b84499e2a8e820c5fb165130;p=notmuch-archives.git Re: [PATCH v2] lib: NOTMUCH_DEPRECATED macro also for older compilers --- diff --git a/dc/01663ca27cc1ea038b788e34fb7db41a21f794 b/dc/01663ca27cc1ea038b788e34fb7db41a21f794 new file mode 100644 index 000000000..b2c489eeb --- /dev/null +++ b/dc/01663ca27cc1ea038b788e34fb7db41a21f794 @@ -0,0 +1,61 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 0AC186DE11EC + for ; Fri, 4 Mar 2016 16:44:37 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.024 +X-Spam-Level: +X-Spam-Status: No, score=-0.024 tagged_above=-999 required=5 + tests=[AWL=-0.034, T_RP_MATCHES_RCVD=-0.01, T_SPF_HELO_TEMPERROR=0.01, + T_SPF_TEMPERROR=0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id k3sj9Ynz4b6S for ; + Fri, 4 Mar 2016 16:44:25 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 981666DE1003 + for ; Fri, 4 Mar 2016 16:44:21 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1ac0Kx-0007qn-Pi; Fri, 04 Mar 2016 19:44:51 -0500 +Received: (nullmailer pid 15123 invoked by uid 1000); + Sat, 05 Mar 2016 00:44:02 -0000 +From: David Bremner +To: Tomi Ollila , notmuch@notmuchmail.org +Cc: tomi.ollila@iki.fi +Subject: Re: [PATCH v2] lib: NOTMUCH_DEPRECATED macro also for older compilers +In-Reply-To: <1456860607-3523-1-git-send-email-tomi.ollila@iki.fi> +References: <1456860607-3523-1-git-send-email-tomi.ollila@iki.fi> +User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Fri, 04 Mar 2016 20:44:02 -0400 +Message-ID: <877fhhvjn1.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sat, 05 Mar 2016 00:44:37 -0000 + +Tomi Ollila writes: + +> Some compilers (older than gcc 4.5 and clang 2.9) do support +> __attribute__ ((deprecated)) but not +> __attribute__ ((deprecated("message"))). + +I _still_ can't properly link against xapian with Clang (in debian +testing/unstable), but oh well, it doesn't break things with GCC. + +d