Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CD1108B71 for ; Tue, 30 Aug 2011 06:48:02 +0000 (UTC) Received: (qmail 83821 invoked by uid 500); 30 Aug 2011 06:48:01 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 83549 invoked by uid 500); 30 Aug 2011 06:47:53 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 83539 invoked by uid 99); 30 Aug 2011 06:47:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 06:47:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stephan.bergmann.secondary@googlemail.com designates 209.85.161.47 as permitted sender) Received: from [209.85.161.47] (HELO mail-fx0-f47.google.com) (209.85.161.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 06:47:39 +0000 Received: by fxg11 with SMTP id 11so5312132fxg.6 for ; Mon, 29 Aug 2011 23:47:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=pLuK2GsSB48FJS1hc8mgJg4B323jFeyNs9kyYWmKzlM=; b=Xt3WEdv1QhJSJNUU6JKSdXIvXwCCzdszubziuL6hWCY1dDrFfrjs7vC56ZYxYDAzzX 0rD0VhdF77JqLSUb7gmp9YuFnSuXwYvT7NI2BLoYUqEEwAWDKnA8ZSk14K1apYOWyYuc l+c26StA4+7Xdw2N7QOCIf/mCVFnae7UJtB6E= Received: by 10.223.13.212 with SMTP id d20mr5323768faa.80.1314686839477; Mon, 29 Aug 2011 23:47:19 -0700 (PDT) Received: from little.fritz.box (p5DC4046B.dip0.t-ipconnect.de [93.196.4.107]) by mx.google.com with ESMTPS id 11sm4378152fav.10.2011.08.29.23.47.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Aug 2011 23:47:18 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1244.3) Subject: Re: [code] stuck at offapi on unxlngx6.pro From: Stephan Bergmann In-Reply-To: <1314645963.10931.YahooMailClassic@web113505.mail.gq1.yahoo.com> Date: Tue, 30 Aug 2011 08:47:18 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1314645963.10931.YahooMailClassic@web113505.mail.gq1.yahoo.com> To: ooo-dev@incubator.apache.org, giffunip@tutopia.com X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on apache.org On Aug 29, 2011, at 9:26 PM, Pedro F. Giffuni wrote: >> any reason why we build our own preprocessors and don't use >> the C toolchain preprocessor that is already required to >> build OOo? >>=20 >=20 > This is an important question. If we need another > preprocessor there are options(1), but we need to now > why. At least for idlc, I think the best solution would be to get rid of a C = preprocessor completely. Even if de-facto (if not also de-jure) .idl = files have always been passed through a C preprocessor, so in theory = could make use of all the C preprocessor's features, this has = practically always only been used for plain #include <=85> or #include = "=85" stuff (plus internal and external header guards, #ifndef = XXX/#define XXX/.../#endif and #ifndef XXX/#include "YYY"/#endif), I = think. So, it should be possible---without breaking backwards compatibility in = practice---to change idlc so that it ignores all #=85 lines except for = #include lines, which it then handles via a more efficient mechanism = than textual inclusion. Would still have to have a look at soltools/cpp, though... -Stephan=