]> git.notmuchmail.org Git - notmuch/blob - test/corpus/31
88f17ca9dea28e07849671c567261de482db7d15
[notmuch] / test / corpus / 31
1 From: "Jjgod Jiang" <gzjjgod@gmail.com>
2 To: notmuch@notmuchmail.org
3 Date: Wed, 18 Nov 2009 11:50:17 +0800
4 Subject: [notmuch] Mac OS X/Darwin compatibility issues
5 Message-ID: <ddd65cda0911171950o4eea4389v86de9525e46052d3@mail.gmail.com>
6
7 Hi,
8
9 When I tried to compile notmuch under Mac OS X 10.6, several issues
10 arisen:
11
12 1. g++ reports 'warning: command line option "-Wmissing-declarations"
13 is valid for C/ObjC but not for C++'
14
15 2.
16 notmuch-reply.c: In function ?address_is_users?:
17 notmuch-reply.c:87: warning: passing argument 2 of
18 ?notmuch_config_get_user_other_email? from incompatible pointer type
19
20 That's due to the size incompatibility of 'unsigned int' and 'size_t'
21 (size_t is uint64_t in Mac OS X).
22
23 3. Several errors about missing GNU extensions like getline() and strndup():
24
25 warning: implicit declaration of function ?getline?
26 error: ?strndup? was not declared in this scope
27
28 We can implement these with fgets() and strncpy() though.
29
30 - Jiang
31