Return-Path: X-Original-To: apmail-incubator-lucy-user-archive@www.apache.org Delivered-To: apmail-incubator-lucy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E3408C2B for ; Mon, 22 Aug 2011 19:16:42 +0000 (UTC) Received: (qmail 83208 invoked by uid 500); 22 Aug 2011 19:16:42 -0000 Delivered-To: apmail-incubator-lucy-user-archive@incubator.apache.org Received: (qmail 83156 invoked by uid 500); 22 Aug 2011 19:16:41 -0000 Mailing-List: contact lucy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucy-user@incubator.apache.org Delivered-To: mailing list lucy-user@incubator.apache.org Received: (qmail 83148 invoked by uid 99); 22 Aug 2011 19:16:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 19:16:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.116.39.62] (HELO rectangular.com) (68.116.39.62) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 19:16:35 +0000 Received: from marvin by rectangular.com with local (Exim 4.69) (envelope-from ) id 1QvZyr-0002k5-QN for lucy-user@incubator.apache.org; Mon, 22 Aug 2011 12:16:17 -0700 Date: Mon, 22 Aug 2011 12:16:17 -0700 From: Marvin Humphrey To: lucy-user@incubator.apache.org Message-ID: <20110822191617.GA10487@rectangular.com> References: <20110820184958.GA7817@rectangular.com> <508633B1A0244BE9B15D4AEA5AE5D475@teddy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <508633B1A0244BE9B15D4AEA5AE5D475@teddy> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: [lucy-user] [ANNOUNCE] Apache Lucy (incubating) 0.2.1 released On Mon, Aug 22, 2011 at 07:57:37PM +0300, Octavian Rasnita wrote: > This time I tried to build it with gcc that comes with ActivePerl, but it gave the following errors on perl Build step: > (I use Win XP Pro, ActivePerl 5.10.1) > E:\apache-lucy-incubating-0.2.1\apache-lucy-incubating-0.2.1\core\Lucy\Store\FSFileHandle.c:154: error: invalid operands to binary & This error is nearly identical to . That time, it was FSDirHandle.c; this time, it is FSFileHandle.c. The problem is that among the zillion symbols exported by windows.h are INCREF and DECREF, which conflict with Lucy's versions of same. Implicit symbol imports suck. :( The solution is going to be the same as the one applied in FSDirHandle: swap out INCREF and DECREF for LUCY_INCREF and LUCY_DECREF. I'll open an issue. Marvin Humphrey