Re: [PATCH v2] lib: NOTMUCH_DEPRECATED macro also for older compilers

Subject: Re: [PATCH v2] lib: NOTMUCH_DEPRECATED macro also for older compilers

Date: Fri, 04 Mar 2016 20:44:02 -0400

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> 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

Thread: