Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76238 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39675 invoked from network); 28 Jul 2014 20:37:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jul 2014 20:37:07 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qa0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:42791] helo=mail-qa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/B1-29900-274B6D35 for ; Mon, 28 Jul 2014 16:37:07 -0400 Received: by mail-qa0-f49.google.com with SMTP id dc16so8539976qab.36 for ; Mon, 28 Jul 2014 13:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sRItHSnvEVx3C8OPEmwhg4ZZ+X0x4tvEeEBtuJVOz2I=; b=IWdWKlzXvMAiuhFNQlV3nUQ19JylH1LBVcX9DR/hVh8vdsaOn6nJ57IUR6PHpqRnFS xatns5zoKa43xI47lBeCNPH4/G/RgQ+IT10XZMTZpeCe+iu8WlIKupp8iekzKo3xC9r2 5RF7X8PuXisnpg3U5RknEcHXYlASXTSNm/wI0eqJv5xFPvAbY0mOVwmmgYkZdiL6s+/c I80/qh4GdD7E98VRoMyxr0OurE8rZhcUpmf1Q1jSzMQHNZaoNku9rl/Qe1gIZDA/Twjc a2znqxxhdpOU/3Kf9Dfa2iFRK2z5GV8+GQAyjlzrGmHeNRXB/wO9lOG8meG4umaHReyf NkvA== MIME-Version: 1.0 X-Received: by 10.229.67.69 with SMTP id q5mr1766636qci.25.1406579837174; Mon, 28 Jul 2014 13:37:17 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Mon, 28 Jul 2014 13:37:17 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Mon, 28 Jul 2014 13:37:17 -0700 (PDT) In-Reply-To: References: <71A78449-A62C-400D-A01F-5668930A7BED@ajf.me> Date: Mon, 28 Jul 2014 22:37:17 +0200 Message-ID: To: Andrea Faulds Cc: PHP internals , Dmitry Stogov , Julien Pauli , Nikita Popov , Derick Rethans Content-Type: multipart/alternative; boundary=001a11c308ec8b278d04ff46e3f1 Subject: Re: [PHP-DEV] Thoughts on C version supported for PHP-Next From: pierre.php@gmail.com (Pierre Joye) --001a11c308ec8b278d04ff46e3f1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Jul 28, 2014 10:13 PM, "Andrea Faulds" wrote: > > > On 28 Jul 2014, at 20:14, Dmitry Stogov wrote: > > > The real problem, that it'll break compatibility with old uncommon compilers. > > I'm not sure if new MSVC versions support it, but the one I use - does not. > > > > Breaking something without a real reason is not a good move. > > While C99 itself would, I would again argue that we don=E2=80=99t need to= use the whole thing. Are there any compilers out there which people use to compile PHP that do not support declarations between statements? VC is one, except latest RC. And if gcc would follow c89 std without tricks too. Why we should use the c89 strict option. --001a11c308ec8b278d04ff46e3f1--