Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86191 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17138 invoked from network); 13 May 2015 07:56:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2015 07:56:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:57692] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 13/60-14407-FA303555 for ; Wed, 13 May 2015 03:56:32 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 33) id 23C446D2035; Wed, 13 May 2015 09:56:28 +0200 (CEST) Received: from 217.254.138.82 (SquirrelMail authenticated user anatol@belski.net) by webmail.klapt.com with HTTP; Wed, 13 May 2015 09:56:28 +0200 Message-ID: In-Reply-To: References: <71A78449-A62C-400D-A01F-5668930A7BED@ajf.me> <554BDC4B.2010808@gmx.de> Date: Wed, 13 May 2015 09:56:28 +0200 To: "Levi Morrison" Cc: "Pierre Joye" , "Nikita Popov" , "Christoph Becker" , "Dmitry Stogov" , "Andrea Faulds" , "Julien Pauli" , "Derick Rethans" , "PHP internals" User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Thoughts on C version supported for PHP-Next From: anatol.php@belski.net ("Anatol Belski") 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