notmuch/lib
Tomi Ollila 342910a280 lib: NOTMUCH_DEPRECATED macro also for older compilers
Some compilers (older than gcc 4.5 and clang 2.9) do support
__attribute__ ((deprecated)) but not
__attribute__ ((deprecated("message"))).

Check if clang version is at least 3.0, or gcc version
is at least 4.5 to define NOTMUCH_DEPRECATED as the
latter variant above. Otherwise define NOTMUCH_DEPRECATED
as the former variant above.

For a bit simpler implementation clang 2.9 is not included
to use the newer variant. It is just one release, and the
older one works fine. Clang 3.0 was released around 2011-11
and gcc 5.1 2015-04-22 (therefore newer macro for gcc 4.5+)
2016-03-14 19:54:32 -03:00
..
database-private.h lib: Add "lastmod:" queries for filtering by last modification 2015-08-14 18:23:49 +02:00
database.cc forbid atomic transactions on writable, upgradable databases 2015-11-23 08:15:37 -04:00
directory.cc lib: add interface to delete directory documents 2015-10-10 09:14:25 -03:00
filenames.c lib: fix NULL checks for filenames iterators 2012-09-01 23:03:11 -03:00
gen-version-script.sh build: add "set -eu" to version script generation 2015-07-28 21:34:01 +02:00
index.cc lib: content disposition values are not case-sensitive 2015-11-19 07:47:29 -04:00
libsha1.c util: detect byte order 2013-11-27 07:43:29 -04:00
libsha1.h fix sum moar typos [comments in source code] 2011-06-23 15:58:39 -07:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local build: extract library versions from notmuch.h 2015-08-10 13:53:55 +02:00
message-file.c util: move strcase_equal and strcase_hash to util 2015-09-07 09:43:31 -03:00
message.cc clean up stray apostrophe in comment 2016-01-16 08:17:15 -04:00
messages.c lib: Eliminate _notmuch_message_list_append 2013-02-18 20:20:38 -04:00
notmuch-private.h util: move strcase_equal and strcase_hash to util 2015-09-07 09:43:31 -03:00
notmuch.h lib: NOTMUCH_DEPRECATED macro also for older compilers 2016-03-14 19:54:32 -03:00
parse-time-vrp.cc lib: add support for date:<expr>..! to mean date:<expr>..<expr> 2015-09-25 21:55:24 -03:00
parse-time-vrp.h lib: add date range query support 2012-10-31 16:55:32 -03:00
query.cc lib: add versions of n_q_count_{message,threads} with status return 2015-10-05 19:44:07 -03:00
sha1.c lib: Start all function names in notmuch-private.h with 2014-07-13 12:25:29 -03:00
string-list.c Fixup string list author 2011-03-21 02:45:18 -04:00
tags.c lib: fix warnings when building with clang 2012-12-01 08:10:32 -04:00
thread.cc lib: migrate thread.cc to new query_search API 2015-10-05 19:53:53 -03:00