Hi Matt,

> -----Original Message-----
> From: Matt Wilmas [mailto:php_li...@realplain.com]
> Sent: Wednesday, July 8, 2015 5:17 PM
> To: Kalle Sommer Nielsen
> Cc: PHP internals; Levi Morrison; Pierre Joye; Nikita Popov; Christoph
Becker;
> Dmitry Stogov; Anatol Belski; Julien Pauli; Derick Rethans
> Subject: Re: [PHP-DEV] Thoughts on C version supported for PHP-Next
> 
> Hi Kalle,
> 
> ----- Original Message -----
> From: "Kalle Sommer Nielsen"
> Sent: Wednesday, July 08, 2015
> 
> > Hi Matt
> >
> > 2015-07-08 17:00 GMT+02:00 Matt Wilmas <php_li...@realplain.com>:
> >> Hi all,
> >>
> >> ----- Original Message -----
> >> From: "Levi Morrison"
> >> Sent: Sunday, May 10, 2015
> >>
> >>>> Again, this is a C11 feature. It is supported by clang, gcc and MSVC.
> >>>
> >>>
> >>> To clarify this a bit: they permit anonymous unions in C89 and C99
> >>> code (meaning you do not need to pass flags like -std=c11 to enable
> >>> it).
> >>
> >>
> >> What's the status on compiler requirements?  Are they, or will they
> >> be, higher?
> >>
> >> I'm going to take advantage of variadic macros (__VA_ARGS__) for
> >> better code generation with the parameter parsing implementation I'm
> >> finishing up, and it would be nice to not have to make two versions
> >> with a compiler check.
> >> e.g. for MSVC or GCC >= 3, but I don't know what else...
> >
> > For 7.0, we are gonna focus on MSVC 2015 (VC14), although VC11 is also
> > known to work, we will do the 7.0+ releases with VC14 (that is
> > releasing later this month)
> 
> Right, but MSVC isn't a concern for the variadic macros thing I'm talking
about
> (supported since 2005). [1]
> 
> I'm just wondering about the subject of this old thread: have we bumped,
or will
> we, the minimum requirements for *ALL the other compilers* PHP "supports?"
> e.g. requiring some or all of C99 support?  That would hopefully say
whether we
> can rely on variadic macros. :-)
> 
There was an idea to gather as much info as we can, a repo was created
https://github.com/FriendsOfPHP/phpnextctest . If you have some more
snippets, please supply a PR. Also if you think about a particular compiler,
you might add a makefile for it.

Regards

Anatol 



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to