Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87073 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68750 invoked from network); 8 Jul 2015 15:00:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2015 15:00:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=php_lists@realplain.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php_lists@realplain.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain realplain.com from 216.33.127.80 cause and error) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 216.33.127.80 mta11.charter.net Solaris 10 1203 Received: from [216.33.127.80] ([216.33.127.80:58813] helo=mta11.charter.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/20-01629-B1B3D955 for ; Wed, 08 Jul 2015 11:00:44 -0400 Received: from imp10 ([10.20.200.15]) by mta11.charter.net (InterMail vM.8.01.05.09 201-2260-151-124-20120717) with ESMTP id <20150708150041.QOYR5815.mta11.charter.net@imp10>; Wed, 8 Jul 2015 11:00:41 -0400 Received: from mtaout004.msg.strl.va.charter.net ([68.114.190.29]) by imp10 with smtp.charter.net id pr0h1q0070eWGlw05r0hJo; Wed, 08 Jul 2015 11:00:41 -0400 Received: from impout004 ([68.114.189.19]) by mtaout004.msg.strl.va.charter.net (InterMail vM.9.00.018.00 201-2473-150) with ESMTP id <20150708150041.VJCN30634.mtaout004.msg.strl.va.charter.net@impout004>; Wed, 8 Jul 2015 10:00:41 -0500 Received: from pc1 ([96.35.251.86]) by impout004 with charter.net id pr0g1q00A1sc0so01r0gVa; Wed, 08 Jul 2015 10:00:41 -0500 X-Authority-Analysis: v=2.1 cv=OIGp3EqB c=1 sm=1 tr=0 a=Is5gsZaFXO8aPum+t7Tz+g==:117 a=Is5gsZaFXO8aPum+t7Tz+g==:17 a=hOpmn2quAAAA:8 a=t0KHGDoOaRkA:10 a=BCPeO_TGAAAA:8 a=N659UExz7-8A:10 a=GtCH8QKyeHMh9Yim4GQA:9 a=pILNOxqGKmIA:10 Message-ID: <51968444076E444C985BBB68C11B67BE@pc1> To: "PHP internals" , "Levi Morrison" Cc: "Pierre Joye" , "Nikita Popov" , "Christoph Becker" , "Dmitry Stogov" , "Anatol Belski" , "Julien Pauli" , "Derick Rethans" References: <71A78449-A62C-400D-A01F-5668930A7BED@ajf.me><554BDC4B.2010808@gmx.de> Date: Wed, 8 Jul 2015 10:00:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Subject: Re: [PHP-DEV] Thoughts on C version supported for PHP-Next From: php_lists@realplain.com ("Matt Wilmas") 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... Thanks, Matt