Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46905 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5409 invoked from network); 29 Jan 2010 10:32:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jan 2010 10:32:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.42 unknown Received: from [74.125.82.42] ([74.125.82.42:48800] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/21-33667-D39B26B4 for ; Fri, 29 Jan 2010 05:32:29 -0500 Received: by wwb18 with SMTP id 18so122000wwb.29 for ; Fri, 29 Jan 2010 02:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=NAgcLvKeGQzW46BudcLDvYg6YAU3OLHbrmFuz9GDJMo=; b=Hjdx7WqEQb3Onf/lEyGsM47wfP4FYsQGyEAWlWn3IhuMDdKWFdWzeexbsppGxbXvXj jeEo4NlsWbq0v9SrODuKkkziDBC8DXYkUNA7d56f/CAwH505zbbaADyKelTa8OX9BNh4 ULT0DvHs43Jz0UPCkKv474ZCHQoPbn+vwwv1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=a1X9XDzcHEcMeydR1pdyFY+rIwDVMwQuVphq90DnIOQmBj6V2clbURUVmCcRVqETf4 qoEOCxitsedFbqjZZnGhbej1KZUEOQ7FOpl3LelAQ6x07oeJN0ZmauViv/I9JzpQ6yT2 RMOezPFhj5zHL+JkLjg5/pTamW9MEyOp3qQNY= MIME-Version: 1.0 Received: by 10.216.86.80 with SMTP id v58mr369234wee.40.1264761145794; Fri, 29 Jan 2010 02:32:25 -0800 (PST) Date: Fri, 29 Jan 2010 11:32:25 +0100 Message-ID: To: Alexey Zakhlestin Cc: David Soria Parra , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/pcre/pcrelib/AUTHORS branches/PHP_5_2/ext/pcre/pcrelib/ChangeLog branches/PHP_5_2/ext/pcre/pcrelib/HACKING branches/PHP_5_2/ext/pcre/pcrelib/LICENCE branches/PH From: pierre.php@gmail.com (Pierre Joye) On Fri, Jan 29, 2010 at 9:36 AM, Alexey Zakhlestin wrote: > As far as I remember, it was decided that C99 is ok for php6. I can't remember any decision about C99. > Anyway, we probably need to compose some table on what compilers have limited (and how limited) support for c99. > Then we can objectively decide if we can leave those aside That's not a solution, or we kill solaris, HPUX, windows, etc. support. GCC does a very bad job here by enabling part of C99 by default and breaking the other half of the specs. Also C99 is pretty much a bastarized version of C++ in an incompatible way. The price to accept C99 is too high, especially when all we use (in 99.99999% of what the usages) is stdint/stdbool. Simply detect and define them at configure time will kill the need to use c99 and keeps us on the good/right side (what I do on win for example,easy) :) Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org