Hi Levi,

On Sun, May 10, 2015 22:01, Levi Morrison wrote:
>> 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).
>
I've added makefiles for gcc and VC and your C99 code to
https://github.com/FriendsOfPHP/phpnextctest . Yet as is, but they still
could be extended so it would look like a list with "Feature X: pass/fail"
lines, but that they do compile an run is already encouraging :) So
catching the cases would make sense to continue. Other makefiles can be
added for different compilers/platforms.

To run just checkout and type

nmake /f makefile.vc run_all

or

make -f makefile.gcc run_all

IMO we should ignore C11 for this, otherwise the mix will get unpredictable.

Regards

Anatol

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

Reply via email to