Return-Path: X-Original-To: apmail-incubator-lucy-dev-archive@www.apache.org Delivered-To: apmail-incubator-lucy-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C268B9A95 for ; Sun, 25 Mar 2012 19:08:45 +0000 (UTC) Received: (qmail 48666 invoked by uid 500); 25 Mar 2012 19:08:45 -0000 Delivered-To: apmail-incubator-lucy-dev-archive@incubator.apache.org Received: (qmail 48633 invoked by uid 500); 25 Mar 2012 19:08:45 -0000 Mailing-List: contact lucy-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucy-dev@incubator.apache.org Delivered-To: mailing list lucy-dev@incubator.apache.org Received: (qmail 48624 invoked by uid 99); 25 Mar 2012 19:08:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2012 19:08:45 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.227.126.186] (HELO moutng.kundenserver.de) (212.227.126.186) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2012 19:08:37 +0000 Received: from [192.168.178.26] (mnch-d9bdeb90.pool.mediaWays.net [217.189.235.144]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LejPS-1ScwPv2esQ-00ppU3; Sun, 25 Mar 2012 21:08:17 +0200 Message-ID: <4F6F6D20.4020206@aevum.de> Date: Sun, 25 Mar 2012 21:08:16 +0200 From: Nick Wellnhofer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: lucy-dev@incubator.apache.org References: <4F6B792D.1010906@aevum.de> <4F6DB1F7.4040504@aevum.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:b4Aag2E7vkJ37zBk2J5HHx6fesPjl4syOK/VwMunOdZ S8l9LcJweCfqOLSxJq9GxGiiqUbbccUeULdNM7Ckdh9lPll0Eu C8gkYdUmreIPjQoHbbkid5OiEs7ZCpfkldopMajx54iZumlW6D OQ+0zkPafaNZcRIGFlwgLOvjlmucQTCz1QkBtQOnN8ZxHhPO1B jtNRg6cznMNlg7wngWuuHrZYW9G9RsR1Ns4eJOk/OO8OCGYVA+ mV5229IIJgz8r8EZIxHpBTDbbLDD7HC1XZdscevLL9LRHlCw73 iRSGjXFN/vg7aypuUxKCbbiwGtPUXd/0VEyKx9z8c2GrZv3Wvn mCy6UYI8u+CxFfuQTzO0= Subject: Re: [lucy-dev] New branch LUCY-215-cf-extensions On 25/03/2012 20:33, Marvin Humphrey wrote: > On Sat, Mar 24, 2012 at 4:37 AM, Nick Wellnhofer wrote: > >> One thing is core/Lucy/Util/ToolSet.h, which is included from every >> Clownfish .c file. I'm not sure what's the best way to handle that. > > For the record, I grepped trunk/clownfish for "ToolSet" and came up empty. I > believe it's used only in Lucy-specific hand-coded .c files in core/, not in > CFC-autogenerated files. Right? Yes, it's just a utility file used in the Lucy .c files. > Nevertheless, there is still a potential problem in that .cfh files are > allowed to contain arbitrary C code, and this scenario could have arisen: > > class Lucy::Foo::Bar { > ... > } > > __C__ > #include "Lucy/Util/ToolSet.h" > __END_C__ > > To address that scenario, I believe that the best approach is to install all > .h files in core/ along with all .cfh files underneath Clownfish/_include. OK, makes sense. Nick