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

David Bremner david at tethera.net
Fri Mar 4 16:44:02 PST 2016


Tomi Ollila <tomi.ollila at 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


More information about the notmuch mailing list