1 Return-Path: <david@tethera.net>
\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 arlo.cworth.org (Postfix) with ESMTP id E15996DE13EF
\r
6 for <notmuch@notmuchmail.org>; Tue, 8 Dec 2015 04:44:19 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.318 tagged_above=-999 required=5 tests=[AWL=0.233,
\r
12 RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id CJZyhYnrDSeY for <notmuch@notmuchmail.org>;
\r
16 Tue, 8 Dec 2015 04:44:16 -0800 (PST)
\r
17 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])
\r
18 by arlo.cworth.org (Postfix) with ESMTPS id EF7716DE1378
\r
19 for <notmuch@notmuchmail.org>; Tue, 8 Dec 2015 04:44:15 -0800 (PST)
\r
20 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)
\r
21 (envelope-from <david@tethera.net>)
\r
22 id 1a6Hcn-0007Ws-1U; Tue, 08 Dec 2015 07:44:09 -0500
\r
23 Received: (nullmailer pid 14943 invoked by uid 1000);
\r
24 Tue, 08 Dec 2015 12:44:10 -0000
\r
25 From: David Bremner <david@tethera.net>
\r
26 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
\r
27 Cc: tomi.ollila@iki.fi
\r
28 Subject: Re: [PATCH] lib: have two definitions of NOTMUCH_DEPRECATED macro
\r
29 In-Reply-To: <1439303834-27030-1-git-send-email-tomi.ollila@iki.fi>
\r
30 References: <1439303834-27030-1-git-send-email-tomi.ollila@iki.fi>
\r
31 User-Agent: Notmuch/0.21+7~g55fb7da (http://notmuchmail.org) Emacs/24.5.1
\r
32 (x86_64-pc-linux-gnu)
\r
33 Date: Tue, 08 Dec 2015 08:44:10 -0400
\r
34 Message-ID: <87egexyusl.fsf@zancas.localnet>
\r
36 Content-Type: text/plain
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.20
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Tue, 08 Dec 2015 12:44:20 -0000
\r
51 Tomi Ollila <tomi.ollila@iki.fi> writes:
\r
53 > Some compilers (older than gcc 4.5 and clang 2.9) do support
\r
54 > __attribute__ ((deprecated)) but not
\r
55 > __attribute__ ((deprecated("message"))).
\r
57 > Check (clang) and know (gcc) which versions support which variants
\r
58 > and make two definitions of define NOTMUCH_DEPRECATED macro;
\r
59 > one with and and one without the ("message") part.
\r
61 > __has_extension() replacement was modeled after __has_attribute()
\r
62 > definition in compat/function-attributes.h. Thanks Justus.
\r
66 I keep coming back to review this patch, but I'm blocked by the fact
\r
67 that clang++ is broken on Debian (and lots of other places, I guess) for
\r
70 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797038
\r