Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86140 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39139 invoked from network); 8 May 2015 13:13:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2015 13:13:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.173 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.223.173 mail-ie0-f173.google.com Received: from [209.85.223.173] ([209.85.223.173:36101] helo=mail-ie0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/20-35121-366BC455 for ; Fri, 08 May 2015 09:13:07 -0400 Received: by iecnq11 with SMTP id nq11so63040130iec.3 for ; Fri, 08 May 2015 06:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ukQMdIEz1sB/Pu1VBEf9JLNywgxkyHA/B2xoIagNi/A=; b=frzKeukB5NFUVJ8BkQ7+awnKTj6RL09P5OkOLg87BNhNWrZo2gOGw+1R2DCWlxKLHl o3FT2VWVEqMWBRC4U9+dCB/cm22GEMCySNsrUawAdmcyPmiARQLNQWGQdVV5oyJxhPPF /SzCQGNcwDBv3JFrWj6gqhWoMjlrVAKti9XBmnewaiZThdA4tM7t8cJ3McYE26ODNz5q w4l+kh7oPVaezH+9mrl52tDRgldw+UbHPyYep4WUieZijpspi+7JDT2ekq+jG4hAN+Y/ 4XBEyMVWgHdayxaV+pEsVf8ys+kAvum7q7VslwSVFN1FQIf47IeOdlKbZtZYsM/PHyT7 syQA== MIME-Version: 1.0 X-Received: by 10.107.10.79 with SMTP id u76mr4723713ioi.79.1431090785023; Fri, 08 May 2015 06:13:05 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.79.98.67 with HTTP; Fri, 8 May 2015 06:13:04 -0700 (PDT) In-Reply-To: References: <71A78449-A62C-400D-A01F-5668930A7BED@ajf.me> <554BDC4B.2010808@gmx.de> Date: Fri, 8 May 2015 07:13:04 -0600 X-Google-Sender-Auth: sZC3NfiQLY8k1heFK2p2aojSl2o Message-ID: To: Pierre Joye Cc: Christoph Becker , Nikita Popov , Andrea Faulds , Dmitry Stogov , Julien Pauli , Derick Rethans , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Thoughts on C version supported for PHP-Next From: levim@php.net (Levi Morrison) On Fri, May 8, 2015 at 5:01 AM, Pierre Joye wrote: > On May 8, 2015 4:42 AM, "Christoph Becker" wrote: >> >> Nikita Popov wrote: >> >> > [...] What's our current minimum required vc version? >> >> As of PHP 5.5 at least VC11 (Visual Studio 2012) is required for Windows >> builds. The currently available snapshots of master are also built with >> VC11[1]. > > We are in the process of testing latest or better said the upcoming next > version of VC. > > However it is a long process. We use a couple of libs to test c99 support. > > What could be amazingly helpful, not only for VC, is some sample codes > using what we are most likely to use intensively from c99. It will allow is > to valid them against various compilers as well as clearly define what we > can support in the CS, all compilers we are likely to support for 7, > including VC, ICC or older GCC. > > Cheers, I am quite sure we would use these features: - compound literals (this would allow for zend_string* at compile time) - designated initializers I'll work on some code examples later today if someone hasn't beaten me to it by then.