Re: Thoughts on C version supported for PHP-Next
| From: | Levi Morrison | Date: | Fri, 08 May 2015 13:13:04 +0000 |
| Subject: | Re: Thoughts on C version supported for PHP-Next | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86140@lists.php.net to get a copy of this message | ||
On Fri, May 8, 2015 at 5:01 AM, Pierre Joye <pierre.php@gmail.com> wrote:
> On May 8, 2015 4:42 AM, "Christoph Becker" <cmbecker69@gmx.de> 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.