mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
971cdc72cd
We largely use the corpus under test/corpus for testing. Unfortunately, many of our tests have grown to depend on having exactly this set of messages, making it hard to add new message files for testing specific cases. We do use a lot of add_message from within the tests, but it's not possible to use that for adding broken messages, and adding several messages at once can get unwieldy. Move the basic corpus under tests/corpora/default, and make it possible to add new, independent corpora along its side. This means tons of renames with a few tweaks to add_email_corpus function in test-lib.sh to let tests specify which corpus to use.
31 lines
952 B
Text
31 lines
952 B
Text
From: "Jjgod Jiang" <gzjjgod@gmail.com>
|
|
To: notmuch@notmuchmail.org
|
|
Date: Wed, 18 Nov 2009 11:50:17 +0800
|
|
Subject: [notmuch] Mac OS X/Darwin compatibility issues
|
|
Message-ID: <ddd65cda0911171950o4eea4389v86de9525e46052d3@mail.gmail.com>
|
|
|
|
Hi,
|
|
|
|
When I tried to compile notmuch under Mac OS X 10.6, several issues
|
|
arisen:
|
|
|
|
1. g++ reports 'warning: command line option "-Wmissing-declarations"
|
|
is valid for C/ObjC but not for C++'
|
|
|
|
2.
|
|
notmuch-reply.c: In function ?address_is_users?:
|
|
notmuch-reply.c:87: warning: passing argument 2 of
|
|
?notmuch_config_get_user_other_email? from incompatible pointer type
|
|
|
|
That's due to the size incompatibility of 'unsigned int' and 'size_t'
|
|
(size_t is uint64_t in Mac OS X).
|
|
|
|
3. Several errors about missing GNU extensions like getline() and strndup():
|
|
|
|
warning: implicit declaration of function ?getline?
|
|
error: ?strndup? was not declared in this scope
|
|
|
|
We can implement these with fgets() and strncpy() though.
|
|
|
|
- Jiang
|
|
|