Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124775 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 0B6F01A00B7 for ; Mon, 5 Aug 2024 16:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722875347; bh=1AL5caeWVLdFBaYRw2rDwM72H9UmXR4s1x1WclVGMfQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JEJdk3eqa3cOrmAPZHx55gnQBcryguMGzxc9Dl2gc/rHeCL5rmRxExgBHjvOEgAk6 aaimKhsgfWg4aRSwIcjbHitQQ7jYWEmKSMz8ee5Y9zvlDAJQthrdBotqZQfSr9puYm KOrL4Y8fMBJ7qbLanlDsjqBOOw2Zw/q/1B1HLuZkd55z6eLwuAYB0o/MQEknlR4HfN dHJVGQf5WXKx/2BKmL2Rm8hhIn2Nq4H56tuogaG+Ucsx//njmIGtGEqu2FCHRi1Od6 wjuXnCLEK1v3BVCRU8fgTMU0E1Q6khe8VhWykNvE8L+InaWTOwbSr5bDoGJTqXS9KI ATBSSrSqa6quw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E3AA6180077; Mon, 5 Aug 2024 16:29:06 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS; Mon, 5 Aug 2024 16:29:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722875242; x=1723480042; i=cmbecker69@gmx.de; bh=72e1aPNCddbL3IcB46nI0YykuD90GdCh5+rXAUXZ6t4=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=m5RG4dXNijLOmwAEc2ypUYh7fB2IQ4npPepeXVPz+ao7H+9PklTO4j42w/1v5tqU C32HLBgTEcvHa3O+qnssnQFlrV7SnqPQQnFdIrZ3fhAMQfMLp2gdyqiPT1yGtaZ3+ 1doZdIvO0l4eiAQrz+nkpY+TdawXukfVZgrAvcawBRARchPRqnM5R5OtR+pV+wEvD lC4EPaWSDIpvsDTRLX8HRIL6DpOQLGMYbe2mtMDuLjZy7hkhLXk/ILLKiy6S7Qt7X 7Ud2Ys8LoCIjTWbs0CLWCPn9bIW425KxT7Ax8enMKskleW4SQGr72d/av7fIzPwWZ qahC+vOG7X9vqEOmtw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.251.205.37]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MSbx3-1smAXT2tVR-00KbKM; Mon, 05 Aug 2024 18:27:22 +0200 Message-ID: <3d5a3ae6-2e18-445e-b656-c4b7c2c54da7@gmx.de> Date: Mon, 5 Aug 2024 18:27:22 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Require C11 in PHP 8.4 Content-Language: de-DE To: Derick Rethans Cc: Ilija Tovilo , PHP internals References: <6cde6bb4-30cc-4838-a003-6333acbd6a3c@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ucu4ZaL3BRVESycurSU0avn64ItyWexyfel+iGFfcb3kLJpYJTf Ec2HEyP3W9bunuIYz4zHPekqPIS845dB8btanPlohrUysAPWrzB1tVhVLqNdW9cEVevUKwo w5mQ9qShy2TCyoFmsd9sVKwh7YeizeGdQ6qiEVcBBTPS+9/RBSpCcANK4bTeGf8QGTooYyN omrvWp1qrIWPkPmofbedA== UI-OutboundReport: notjunk:1;M01:P0:acjUvera1vM=;iw9HrgVn2kvZs7iPQ8oaBbGCjzc dVY87TyNBAnD26MaDpfBy+GeZvGogNH0N0ys6uRvdLuYyQ2o1GSRVDmmceJXjB+8/ieP5uG1i xDjkgWWXwrhvExnh7geKWamxQRF7ogpJjEh0Fr9rsM83VB/BcR+IzuvTxfRZ0K2CFPEAC+4yk vaXnBdacF+23y8V4h0tZe7R8AO2YQZ3/MtJfIdoG29W1jXzK5oqRxlGiP6PLp7iyN6Ly36Pig V8Ha5jHgtJV6yD7LglSZ4Dy9j6vYpXMuoWYms8ysbFuEwEUWpWZut0Y5RyRrGmhnbNxA5Gu6C Yooi5LrzNy+nArH6zDZQvWkYWAFDIgVaWHumP0LzPxmWtgXqhjfYRaNDlxjL+wkt+S0hkZBt+ em257wjH5PVi23JdULgLAXzSJVgtzHtCuBfRrgN95OLhl7iOd6s9KeKICEKLJ1/DuYPhSOBDi GhXhtSeb6fmSiNBH1dnHnDMqTjo2LyLIdz+tFN4OLBAfQXcF9vMrcxQ9nHK+dYbARrR/sY2qx 3HNmwpXExZM2N1iUs8R5P16q6YuXHeRlEdeXXvl51GdfbRQMr7ZbNfcrhEOLHxCHEMiMcqHWL J0FUDMCYAva2Obf01+DAANaCgBeY94oMVTYZbYCPf5srjPtU+DvlmXDrhGTSp1z62bD9hCgs5 hXMuz7BldBqTh6ecEVomPexACP4+rwD7yBGir0QlNKBjCTh8hwFWTcvcJosykMe+/kNoHocng Qjwe4WmzQbbkT7PmsxG6j94ytu4NfbeUM7BJH9diW7httDHxuBRbgUZONMK1uJKpIgKEL8Ucs 0fEXog5XLGBiBt8JlE3nfkJg== From: cmbecker69@gmx.de ("Christoph M. Becker") On 05.08.2024 at 16:59, Derick Rethans wrote: > On Mon, 5 Aug 2024, Christoph M. Becker wrote: > >> In my opinion, there is no *need* to enforce this requirement. Just >> having documentation should be sufficient. Users with an old >> compilerr will notice issues (i.e. build failures), and even if they >> don't care to look up the docs, they will file a ticket, and that can >> quickly be closed pointing to the relevant documentation. > > Instead of having to deal with tickets, wouldn't be be easier if the > compiler they used works with the features that we are using? That could > instantly provide a link to the documentation saving all of us time. Note that I'm not *against* checking C11 support during configure. If there is a respective feature test readily available for autoconf =E2=80= =93 great. Otherwise it might be sufficient to check for the definition and value of __STDC_VERSION__. However, I don't think it would be a good idea to test for certain compilers and their versions; that list might need more maintaince than catering to a couple of bug reports. Before we go down that route, we may be better off just documenting the requirement. Christoph