Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23773 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33001 invoked by uid 1010); 29 May 2006 19:27:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32985 invoked from network); 29 May 2006 19:27:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 May 2006 19:27:30 -0000 X-PHP-List-Original-Sender: wcandillon@gmail.com X-Host-Fingerprint: 64.233.184.224 wr-out-0506.google.com Linux 2.4/2.6 Received: from ([64.233.184.224:26442] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2F/0B-04939-02B4B744 for ; Mon, 29 May 2006 15:27:29 -0400 Received: by wr-out-0506.google.com with SMTP id i34so734162wra for ; Mon, 29 May 2006 12:27:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=q1Yv9vIID2TOpjiUcjxMS7cprApVPrNG1vqDkP7nG6MsxbkS1otWXL70E31R34u3bxQutJB9yEjXD/xJGfVP+pxenk4T0ZCLO1HerECMXu4piMsXmVh88JUA/Xcw9zkuWBYTCYjqgENvIcwuqJ8uG4iEPrO99jgMbWXIHGVtv4Y= Received: by 10.54.121.18 with SMTP id t18mr2463300wrc; Mon, 29 May 2006 12:27:25 -0700 (PDT) Received: by 10.54.66.10 with HTTP; Mon, 29 May 2006 12:27:25 -0700 (PDT) Message-ID: <43b5c44e0605291227w5af9d707yf58c504709ebb848@mail.gmail.com> Date: Mon, 29 May 2006 21:27:25 +0200 To: internals@lists.php.net In-Reply-To: <447AA566.1040103@fischer.name> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <138663365.20060514205903@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> <447AA566.1040103@fischer.name> Subject: Re: [PHP-DEV] Using CPP for PHP [Was Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?] From: wcandillon@gmail.com ("William Candillon") > Try > cpp -w -P -C out.php 2>/dev/null > if you don't want to reinvent the wheel :-) It's very limited! It's not implementing #line macro for php by example. On 5/29/06, Markus Fischer wrote: > -----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 u= p. > > - - Markus > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEeqVm1nS0RcInK9ARAvw1AKCkRy0DcbWpZc1UWKqPCq9DtA7CaQCglHqc > +zre6WvuUGUMpszoEZpgdDU=3D > =3DAU8I > -----END PGP SIGNATURE----- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 William Candillon Telecom Lille Student E-mail: wcandillon@elv.enic.fr Tel: +33(0) 6 67 99 13 16 CV: http://wcandillon.netcv.org Resume: http://wcandillon.en.netcv.org