From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 7E5C4431FBC for ; Tue, 17 Nov 2009 19:50:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tjKRftIw+Uaz for ; Tue, 17 Nov 2009 19:50:18 -0800 (PST) Received: from mail-pw0-f51.google.com (mail-pw0-f51.google.com [209.85.160.51]) by olra.theworths.org (Postfix) with ESMTP id D476C431FAE for ; Tue, 17 Nov 2009 19:50:17 -0800 (PST) Received: by pwj10 with SMTP id 10so428706pwj.30 for ; Tue, 17 Nov 2009 19:50:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=UxorCAHmz8fcwlbcgw02L136i9g0fH9uqR+jpiJh4a0=; b=GfVWg/IHguZMuP08Q6OyBVO87H8yiKjXxmtCrtqqveWu91JKdHf5g3/ZnHEwjkupcP Nrd6qpf1a7p8xR4IHJK0JnmahiEI/vOsUaAAf54a2idsmlqT8rctYkJ6z4MC6+tKsx3c TsFpNKebLtFgsi25hY1jBQIea9kyVhnVff5U4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=eDHkm9Aqgs7nKVogFhC3JS2J+zHJyTzE/TkzAgg8Z85BSo16Spimug/tkhXgeqF9IN lduF8jgEhglbGK0RFUu6wwZQ7Z1rPJHtybn6NPpkP8KCgGu9lZALIFIxWSgwgNwH8nPo 0mYT7/FZvCGn91FLlPL8nv/VCuCa+elUISsCs= MIME-Version: 1.0 Received: by 10.114.7.10 with SMTP id 10mr11064999wag.90.1258516217264; Tue, 17 Nov 2009 19:50:17 -0800 (PST) Date: Wed, 18 Nov 2009 11:50:17 +0800 Message-ID: From: Jjgod Jiang To: notmuch@notmuchmail.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Mac OS X/Darwin compatibility issues X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 03:50:18 -0000 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 =E2=80=98address_is_users=E2=80=99: notmuch-reply.c:87: warning: passing argument 2 of =E2=80=98notmuch_config_get_user_other_email=E2=80=99 from incompatible poi= nter 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 =E2=80=98getline=E2=80=99 error: =E2=80=98strndup=E2=80=99 was not declared in this scope We can implement these with fgets() and strncpy() though. - Jiang