Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124852 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id ECA051A00B7 for <internals@lists.php.net>; Sun, 11 Aug 2024 15:27:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723390176; bh=3GvzpPds5oKdbiikSF6+vMq+I+ZIYuBv38tv97TSOqU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=b3XG3ifSqsg7N2pTvoaCW08I9KDHKGuI+iIjgkDAj30Pr863T1hX/BYLrPpThk7rI 0vbtAB+jdkL/S3d6hrg0K+yfcD+H9l6xViCOXC+UAtztL9N9o7Gq/ge193RbINXlsv ZgEVJuL2ypA85bF2SDxcsfZ33YOy8iW53sgjlVPPjtXQHpagSDBAmf8GYhCxVlA0AK Vlcw5F0W9gi2b4YD5sON73/9ISnT6HetXNlOhg193Ol9OndFgdgp+DA3QxityE5gBW zQ9jaVOsHlMbA6TRuUvJebL5MzAupneWCxXpbn/irerQpdJP/jUY3qIKfIXNIXl6yj jFL5wLsv1uRTQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C86CD18006D for <internals@lists.php.net>; Sun, 11 Aug 2024 15:29:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: <giovanni@giacobbi.net> Received: from venus.thgnet.it (venus.thgnet.it [159.69.22.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for <internals@lists.php.net>; Sun, 11 Aug 2024 15:29:34 +0000 (UTC) Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) by venus.thgnet.it (Postfix) with ESMTPSA id 3339A3E5F7 for <internals@lists.php.net>; Sun, 11 Aug 2024 17:27:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=giacobbi.net; s=venus; t=1723390068; bh=3GvzpPds5oKdbiikSF6+vMq+I+ZIYuBv38tv97TSOqU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=GePsHkn5fvZJg1agXx/H/fAwqLSqlG3w4Ke92WIxZO2krbzph5SoQznDhWskc8bzn Ft+FUu0sHpQpUdyDYcaGF91WG2vQinbPl02/Uf6fYYMp++GCn/RmlQQmHYqzjixriZ FXrZz9X2t41wMSbp2ue7d2GVpq6sh+gaEX2hr/Ik= Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-260dde65a68so2283997fac.2 for <internals@lists.php.net>; Sun, 11 Aug 2024 08:27:48 -0700 (PDT) X-Gm-Message-State: AOJu0YzHIuFHU0HmqMzAzbs0FW8nj3MCwJkoDcvcchBFptXwyVNfDbUO /beh9B4koTKR4j4z1Kr7eTKptiArVPP3gdDkKcgkaHr+lf/ucA2LqWt2nmH0WzPukOb8bs1OrUN I3724pDnr1L/W4HVNS9UJSkrPAS4= X-Google-Smtp-Source: AGHT+IFyY+j2ShwCs6E1OQ2G+XQvFv8xAbOpl98q8JaPCZzZXL/Ki4WoNfkrXeLdin6EZgFK0OktU+lKZUhAZDhRlq4= X-Received: by 2002:a05:6870:2113:b0:258:3cd8:5108 with SMTP id 586e51a60fabf-26c62fa07cfmr7257334fac.44.1723390066995; Sun, 11 Aug 2024 08:27:46 -0700 (PDT) Precedence: bulk list-help: <mailto:internals+help@lists.php.net list-unsubscribe: <mailto:internals+unsubscribe@lists.php.net> list-post: <mailto:internals@lists.php.net> List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <CAPyj-LB11wiZyHV8=7fEs=J==tDO+m+z4qRsXRroPnqXzNZvvg@mail.gmail.com> <9e1068ae-593e-40bc-91d7-dd63545d9e60@gmx.de> <CAPyj-LCpC4KzUSWK08ehEVmzarZWacGnJ0uDJrF9aAtCqfzVQw@mail.gmail.com> In-Reply-To: <CAPyj-LCpC4KzUSWK08ehEVmzarZWacGnJ0uDJrF9aAtCqfzVQw@mail.gmail.com> Date: Sun, 11 Aug 2024 17:27:38 +0200 X-Gmail-Original-Message-ID: <CAML1Pf5EndWtNkE8=ut6MLSushaosq95+k2FBym0cHKeX3wYfw@mail.gmail.com> Message-ID: <CAML1Pf5EndWtNkE8=ut6MLSushaosq95+k2FBym0cHKeX3wYfw@mail.gmail.com> Subject: Re: [PHP-DEV] Require C11 in PHP 8.4 To: Ilija Tovilo <tovilo.ilija@gmail.com> Cc: PHP internals <internals@lists.php.net> Content-Type: multipart/alternative; boundary="000000000000c0cd6c061f6a0466" From: giovanni@giacobbi.net (Giovanni Giacobbi) --000000000000c0cd6c061f6a0466 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 11 Aug 2024 at 16:12, Ilija Tovilo <tovilo.ilija@gmail.com> wrote: > Hi Christoph > > On Sat, Aug 10, 2024 at 2:19=E2=80=AFPM Christoph M. Becker <cmbecker69@g= mx.de> > wrote: > > > > On 01.08.2024 at 23:57, Ilija Tovilo wrote: > > > > So skimming the whole discussion[1] it seems that most are generally > > fine with bumping the requirements to C11, except for Giovanni Giacobbi > > (whose draft PR[2] had no further discussion so far), and maybe for som= e > > uncertainties regarding some less used compilers. > > Giovanni's remark that this would impact many people was challenged by > Jakub [1] which didn't get a response. I believe it's safe to assume > that this isn't the case. > > I'd like to remark that this is not a decision about renouncing some valuable feature in order to support older compilers, but rather about applying a patch shy of ~100 lines where half of the changes should be considered bugfixes. If you think it would be acceptable to have an additional header file pre-declaring the typedefs, it would solve the only standing issue that prevents the entire codebase to be C99 compliant. Isn't it worth it? The more systems that can bild PHP, the better :-) Also this is not a binding decision: If in the future there is a real need to increase the requirement to C11, you can always do that. --000000000000c0cd6c061f6a0466 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Sun, 11 Aug 2024 at 16:12, Ilija Tovil= o <<a href=3D"mailto:tovilo.ilija@gmail.com">tovilo.ilija@gmail.com</a>&= gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_q= uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2= 04);padding-left:1ex">Hi Christoph<br> <br> On Sat, Aug 10, 2024 at 2:19=E2=80=AFPM Christoph M. Becker <<a href=3D"= mailto:cmbecker69@gmx.de" target=3D"_blank">cmbecker69@gmx.de</a>> wrote= :<br> ><br> > On 01.08.2024 at 23:57, Ilija Tovilo wrote:<br> ><br> > So skimming the whole discussion[1] it seems that most are generally<b= r> > fine with bumping the requirements to C11, except for Giovanni Giacobb= i<br> > (whose draft PR[2] had no further discussion so far), and maybe for so= me<br> > uncertainties regarding some less used compilers.<br> <br> Giovanni's remark that this would impact many people was challenged by<= br> Jakub [1] which didn't get a response. I believe it's safe to assum= e<br> that this isn't the case.<br> <br></blockquote><div><br></div><div>I'd like to remark that this is no= t a decision about renouncing some valuable feature in order to support old= er compilers, but rather about applying a patch shy of=C2=A0~100 lines wher= e half of the changes should be considered bugfixes.</div><div><br></div><d= iv>If you think it would be acceptable to have an additional header file pr= e-declaring the typedefs, it would solve the only standing issue that preve= nts the entire codebase to be C99 compliant. Isn't it worth it? The mor= e systems that can bild PHP, the better :-)<br></div><div><br></div><div>Al= so this is not a binding decision: If in the future there is a real need to= increase the requirement to C11, you can always do that.</div><div><br></d= iv></div></div> --000000000000c0cd6c061f6a0466--