Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124802 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 39C0A1A00B7 for ; Tue, 6 Aug 2024 11:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722943669; bh=olh58sNgPen3laTXgbPfYNyJCC6s/6/VUOUbjs8raeA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=n4Ieu0OVL30lVDtQKwFMpNCGHbVYbjRKaXOqIlZrlWCYSHSS/VCmFLfLbffHCXmwL yvZnyBmN/rUUFPY9msXKwI0H5gTjPgGLJVJm0sBnlT0N+KFkHxU8LAYXNRj+jSPnQg EGUPWu02Fo10gcVXOmknqN18fHJrzhGNXRuhNEuIXwgOrnsMQgsoUvey4xnxWio9oQ rq+CfOTRY+aTwovpWRkvPLJzG6LHOXTU4RnGI+GRVnaLQV6VVbinPAKyym2w0m8q+E ZzeUjXQGqcy4hpb2t5lAEBazx9cZHmjKDyF6uIlnAxLnsF5KuzzdMMZnmF13FGPkFk 6m8eDfudTIVsg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 70BF2180051 for ; Tue, 6 Aug 2024 11:27:45 +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=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 6 Aug 2024 11:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722943562; bh=olh58sNgPen3laTXgbPfYNyJCC6s/6/VUOUbjs8raeA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=G4PTZBAhBpEvjipDav7pHP5Bg2iT4nmCusJQfYZ4+wdlhwGf/OM98AIhZ+pNXh/rW 5yxomMqdBak343Mv5Noqk5yap+rYGgyIcw//voygJgVP2aQTX8CY4M9OXcDq/kZOjO twZ5yp9DqFdcLdFhSGrGaWVXbjTjgiKmgi2VXOeSdH+xYt0enM5x8+fsbUXY5fJlCa 8oVvvYE4WNgr7GJQFKl84F0N+/edreQXpUgwacuP0Ts3f48h76BU6USb6rC2ha/m8U F4+yjoRot5AUMLX6mOZMti8gI/y1FzG1JUQ41jb1TuNw3y8DNsNI/LxwDqSvkjqahh 0yydddnvtrG1A== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id C619310C027; Tue, 06 Aug 2024 12:26:02 +0100 (BST) Date: Tue, 6 Aug 2024 12:26:02 +0100 (BST) To: "Christoph M. Becker" cc: Pierre Joye , Ilija Tovilo , PHP internals Subject: Re: [PHP-DEV] Require C11 in PHP 8.4 In-Reply-To: Message-ID: References: <6cde6bb4-30cc-4838-a003-6333acbd6a3c@gmx.de> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1125907262-1722943562=:23442" From: derick@php.net (Derick Rethans) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1125907262-1722943562=:23442 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 5 Aug 2024, Christoph M. Becker wrote: > On 05.08.2024 at 17:42, Pierre Joye wrote: >=20 > > On Mon, Aug 5, 2024, 10:03=E2=80=AFPM Derick Rethans w= rote: > > > >> Instead of having to deal with tickets, wouldn't be be easier if=20 > >> the compiler they used works with the features that we are using?=20 > >> That could instantly provide a link to the documentation saving all=20 > >> of us time. > > > > it is significantly easier at configure time. Gcc 4.9 is (almost)=20 > > fully c11 compliant (not 4.7). >=20 > But what about other compilers we support on non Windows platforms=20 > currently, like clang, Apple's clang, Solaris Studio and maybe some=20 > more we don't even know about. Normal clang supports the same flag. Apple clang potentially too, but=20 not currently:=20 https://opensource.apple.com/source/clang/clang-23/clang/tools/clang/docs/U= sersManual.html=20 =E2=80=94 it could be outdated information though. I don't have a mac to te= st. But it's just possible to check for the flag for compilers that we *do*=20 know about. And by checking for it and showing a warning, we make=20 people's lives easire. cheers, Derick --8323329-1125907262-1722943562=:23442--