Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23764 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60966 invoked by uid 1010); 29 May 2006 07:40:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60951 invoked from network); 29 May 2006 07:40:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 May 2006 07:40:32 -0000 X-PHP-List-Original-Sender: markus@fischer.name X-Host-Fingerprint: 213.46.255.14 viefep14-int.chello.at Solaris 8 (1) Received: from ([213.46.255.14:43885] helo=viefep16-int.chello.at) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 19/C0-42407-F65AA744 for ; Mon, 29 May 2006 03:40:31 -0400 Received: from genuine ([80.108.128.16]) by viefep16-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060529074026.FAWI23972.viefep16-int.chello.at@genuine>; Mon, 29 May 2006 09:40:26 +0200 Received: from [192.168.1.51] (helo=[192.168.1.51]) by genuine with esmtpa (Exim 4.50) id 1FkcIP-0004Nn-4X; Mon, 29 May 2006 09:36:16 +0200 Message-ID: <447AA566.1040103@fischer.name> Date: Mon, 29 May 2006 09:40:22 +0200 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Christian Schneider CC: internals@lists.php.net References: <138663365.20060514205903@marcus-boerger.de> <4476608C.6070503@akbkhome.com> <7.0.1.0.2.20060526050422.08680c20@zend.com> <1376291629.20060526040801@marcus-boerger.de> <7.0.1.0.2.20060526120130.03c51060@zend.com> <772458214.20060527001909@marcus-boerger.de> <7.0.1.0.2.20060527173708.03b3bd18@zend.com> <962070645.20060528030350@marcus-boerger.de> <4A.00.38460.00959744@pb1.pair.com> <6610529674.20060528114142@marcus-boerger.de> <43b5c44e0605280926k6886d4f2o25c331ff3a07a009@mail.gmail.com> <4479EB71.4050304@cschneid.com> In-Reply-To: <4479EB71.4050304@cschneid.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -27 X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "genuine", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Christian Schneider wrote: > William Candillon wrote: >> I think that a macro will be a very nice and powerful solution to this >> problem but according to me it needs to be done by an external tool. > > That already exists ;-) > > Try > cpp -w -P -C out.php 2>/dev/null > if you don't want to reinvent the wheel :-) [...] Content analysis details: (-2.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Subject: Using CPP for PHP [Was Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?] From: markus@fischer.name (Markus Fischer) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Christian Schneider wrote: > William Candillon wrote: >> I think that a macro will be a very nice and powerful solution to this >> problem but according to me it needs to be done by an external tool. > > That already exists ;-) > > Try > cpp -w -P -C out.php 2>/dev/null > if you don't want to reinvent the wheel :-) That's really a very useful thing. I just want to mention that it may be necessary to also use -traditional-cpp so white spaces don't get messed up. - - Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEeqVm1nS0RcInK9ARAvw1AKCkRy0DcbWpZc1UWKqPCq9DtA7CaQCglHqc +zre6WvuUGUMpszoEZpgdDU= =AU8I -----END PGP SIGNATURE-----