Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1354940D144 for ; Wed, 13 Oct 2010 06:32:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 sFj2iLZEOpGX for ; Wed, 13 Oct 2010 06:32:03 -0700 (PDT) Received: from everglades.pioto.org (mail.pioto.org [207.192.71.235]) by olra.theworths.org (Postfix) with ESMTP id 9451740D141 for ; Wed, 13 Oct 2010 06:32:03 -0700 (PDT) Received: from pioto.org (pit84.pair.com [216.92.130.84]) (Authenticated sender: pioto) by everglades.pioto.org (Postfix) with ESMTPSA id 0C4CB1601D1 for ; Wed, 13 Oct 2010 09:32:02 -0400 (EDT) Date: Wed, 13 Oct 2010 09:31:58 -0400 From: Mike Kelly To: notmuch@notmuchmail.org Subject: Re: [PATCH 0/4] Maildir synchronization v2 Message-ID: <20101013093158.6d637b89@pioto.org> In-Reply-To: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz> References: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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, 13 Oct 2010 13:32:14 -0000 On Wed, 13 Oct 2010 14:13:54 +0200 Michal Sojka wrote: > Hi, > > this is an updated version of patches sent in > id:1273580061-22580-1-git-send-email-sojkam1@fel.cvut.cz. Only the > last patch (tests) was actually updated to work with new test suite. > These patches has already been tested by several people and I think > they are ready to be merged. They can be pulled by: > > git pull git://rtime.felk.cvut.cz/notmuch maildir-sync-v2 This sounds like just the sort of feature set I'd want from this sort of patch, except unfortunately it won't compile for me on FreeBSD: gcc -c -DNOTMUCH_VERSION=0.3.1-96-g6e0dca9 -O2 -Wall -Wextra -Wwrite-strings -Wswitch-enum -Wmissing-declarations -DHAVE_GETLINE=1 -D_REENTRANT -I/usr/local/include/gmime-2.4 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DHAVE_VALGRIND=0 -DHAVE_STRCASESTR=1 -Icompat -Ilib -fPIC notmuch-config.c -o notmuch-config.o notmuch-config.c:90: error: field 'maildir_sync' has incomplete type notmuch-config.c: In function 'notmuch_config_open': notmuch-config.c:241: error: 'NOTMUCH_MAILDIR_SYNC_INVALID' undeclared (first use in this function) notmuch-config.c:241: error: (Each undeclared identifier is reported only once notmuch-config.c:241: error: for each function it appears in.) notmuch-config.c:335: error: invalid use of undefined type 'enum notmuch_maildir_sync' notmuch-config.c:336: error: 'NOTMUCH_MAILDIR_SYNC_NONE' undeclared (first use in this function) notmuch-config.c:336: error: type of formal parameter 2 is incomplete notmuch-config.c: At top level: notmuch-config.c:596: error: return type is an incomplete type notmuch-config.c:596: error: conflicting types for 'notmuch_config_get_maildir_sync' notmuch-client.h:195: error: previous declaration of 'notmuch_config_get_maildir_sync' was here notmuch-config.c: In function 'notmuch_config_get_maildir_sync': notmuch-config.c:597: error: 'NOTMUCH_MAILDIR_SYNC_INVALID' undeclared (first use in this function) notmuch-config.c:602: warning: 'return' with a value, in function returning void notmuch-config.c: At top level: notmuch-config.c:607: error: parameter 2 ('maildir_sync') has incomplete type notmuch-config.c: In function 'notmuch_config_set_maildir_sync': notmuch-config.c:607: warning: unused parameter 'maildir_sync' gmake: *** [notmuch-config.o] Error 1 This is with "gcc (GCC) 4.2.1 20070719 [FreeBSD]" Switching to gcc44 seems to allow it to compile correctly, however notmuch didn't used to have that dependency. -- Mike Kelly