1 Return-Path: <gzjjgod@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 7E5C4431FBC
\r
6 for <notmuch@notmuchmail.org>; Tue, 17 Nov 2009 19:50:18 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id tjKRftIw+Uaz for <notmuch@notmuchmail.org>;
\r
11 Tue, 17 Nov 2009 19:50:18 -0800 (PST)
\r
12 Received: from mail-pw0-f51.google.com (mail-pw0-f51.google.com
\r
14 by olra.theworths.org (Postfix) with ESMTP id D476C431FAE
\r
15 for <notmuch@notmuchmail.org>; Tue, 17 Nov 2009 19:50:17 -0800 (PST)
\r
16 Received: by pwj10 with SMTP id 10so428706pwj.30
\r
17 for <notmuch@notmuchmail.org>; Tue, 17 Nov 2009 19:50:17 -0800 (PST)
\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
19 h=domainkey-signature:mime-version:received:date:message-id:subject
\r
20 :from:to:content-type:content-transfer-encoding;
\r
21 bh=UxorCAHmz8fcwlbcgw02L136i9g0fH9uqR+jpiJh4a0=;
\r
22 b=GfVWg/IHguZMuP08Q6OyBVO87H8yiKjXxmtCrtqqveWu91JKdHf5g3/ZnHEwjkupcP
\r
23 Nrd6qpf1a7p8xR4IHJK0JnmahiEI/vOsUaAAf54a2idsmlqT8rctYkJ6z4MC6+tKsx3c
\r
24 TsFpNKebLtFgsi25hY1jBQIea9kyVhnVff5U4=
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
26 h=mime-version:date:message-id:subject:from:to:content-type
\r
27 :content-transfer-encoding;
\r
28 b=eDHkm9Aqgs7nKVogFhC3JS2J+zHJyTzE/TkzAgg8Z85BSo16Spimug/tkhXgeqF9IN
\r
29 lduF8jgEhglbGK0RFUu6wwZQ7Z1rPJHtybn6NPpkP8KCgGu9lZALIFIxWSgwgNwH8nPo
\r
30 0mYT7/FZvCGn91FLlPL8nv/VCuCa+elUISsCs=
\r
32 Received: by 10.114.7.10 with SMTP id 10mr11064999wag.90.1258516217264; Tue,
\r
33 17 Nov 2009 19:50:17 -0800 (PST)
\r
34 Date: Wed, 18 Nov 2009 11:50:17 +0800
\r
35 Message-ID: <ddd65cda0911171950o4eea4389v86de9525e46052d3@mail.gmail.com>
\r
36 From: Jjgod Jiang <gzjjgod@gmail.com>
\r
37 To: notmuch@notmuchmail.org
\r
38 Content-Type: text/plain; charset=UTF-8
\r
39 Content-Transfer-Encoding: quoted-printable
\r
40 Subject: [notmuch] Mac OS X/Darwin compatibility issues
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.12
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Wed, 18 Nov 2009 03:50:18 -0000
\r
57 When I tried to compile notmuch under Mac OS X 10.6, several issues
\r
60 1. g++ reports 'warning: command line option "-Wmissing-declarations"
\r
61 is valid for C/ObjC but not for C++'
\r
64 notmuch-reply.c: In function =E2=80=98address_is_users=E2=80=99:
\r
65 notmuch-reply.c:87: warning: passing argument 2 of
\r
66 =E2=80=98notmuch_config_get_user_other_email=E2=80=99 from incompatible poi=
\r
69 That's due to the size incompatibility of 'unsigned int' and 'size_t'
\r
70 (size_t is uint64_t in Mac OS X).
\r
72 3. Several errors about missing GNU extensions like getline() and strndup()=
\r
75 warning: implicit declaration of function =E2=80=98getline=E2=80=99
\r
76 error: =E2=80=98strndup=E2=80=99 was not declared in this scope
\r
78 We can implement these with fgets() and strncpy() though.
\r