Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124804 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 A25E41A00B7 for ; Tue, 6 Aug 2024 12:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722946203; bh=JmoCtcdFdY2KvZCfzJnkCxvyhL/OHQdtY3y/4OXffIA=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=bfV+T/Ig+EEAPe8HHqG8kYzsP8b/u5oXIrGCvH8cuHw3HnsGoWnTcDfq8vQfeGvfq TCzSPEBY5ZATIKfohHNe1g9EUL0wEGHQsFjdmo0boF3hPogoX+UISF8LrEmc+sjXDp hdeT1Ue0DPuL6aqFKXOgZB6uMMeEBGXsduJrw6BG/ZSF/DRAKMcVC/Ghde83B26Jr0 v6BRt8kQ+3AsQRL+nbzbvVddlfSva67ot5ok1si5TydCgE+xkE/IzVzoNBrKbfX2iK bfLcnjeSfwfiVp9JMVGHT6otOleq4E2qPt5zJ0jYyJj9LlH7znRTV3Fi2jPl1DyrgN clIBO4mP7bqgA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0CE7B180069 for ; Tue, 6 Aug 2024 12:10:03 +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.8 required=5.0 tests=BAYES_50,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: Received: from mail1.25mail.st (mail1.25mail.st [206.123.115.54]) (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 ; Tue, 6 Aug 2024 12:10:02 +0000 (UTC) Received: from smtpclient.apple (unknown [49.48.242.4]) by mail1.25mail.st (Postfix) with ESMTPSA id 137C96049F; Tue, 6 Aug 2024 12:08:07 +0000 (UTC) Message-ID: <831862E2-D08C-4839-9D48-F911EC76ABB5@koalephant.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_A2D485A8-F0E8-463E-AEF8-57499F207F71" Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: [PHP-DEV] Require C11 in PHP 8.4 Date: Tue, 6 Aug 2024 19:07:54 +0700 In-Reply-To: Cc: "Christoph M. Becker" , Pierre Joye , Ilija Tovilo , PHP internals To: Derick Rethans References: <6cde6bb4-30cc-4838-a003-6333acbd6a3c@gmx.de> X-Mailer: Apple Mail (2.3776.700.51) From: php-lists@koalephant.com (Stephen Reay) --Apple-Mail=_A2D485A8-F0E8-463E-AEF8-57499F207F71 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 6 Aug 2024, at 18:26, Derick Rethans wrote: >=20 > 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/= UsersManual.html > =E2=80=94 it could be outdated information though. I don't have a mac = to test. >=20 I believe that is *extrmely* outdated, based on the other listings on = https://opensource.apple.com/source/clang/ and the listings by macOS = version on https://opensource.apple.com/releases/ To be certain, I fired up my old macOS Sierra VM again (which reports as = having Clang 9) and tried a simple `clang -std=3Dc11 foo.c` - it = doesn't complain about `c11` being invalid (which it does if I try say = `-std=3Dc17`) Is there a specific branch in the repo (or in a fork) that already uses = the required features? I can try to compile on this VM, to confirm = whether it actually works. Cheers Stephen=20= --Apple-Mail=_A2D485A8-F0E8-463E-AEF8-57499F207F71 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On 6 Aug 2024, at 18:26, Derick Rethans = <derick@php.net> wrote:

Normal clang supports the same flag. Apple = clang potentially too, but 
not currently: 
https://opensource.apple.com/source/clang/clang-23/clang/tools/clang= /docs/UsersManual.html
=E2=80=94 it could be = outdated information though. I don't have a mac to test.


 I believe that is = *extrmely* outdated, based on the other listings on https://opensource.app= le.com/source/clang/ and the listings by macOS version = on https://opensource.apple.c= om/releases/


To be certain, = I fired up my old macOS Sierra VM again (which reports as having Clang = 9) and tried a simple `clang -std=3Dc11 foo.c`  - it doesn't = complain about `c11` being invalid (which it does if I try say = `-std=3Dc17`)

Is there a specific branch in the = repo (or in a fork) that already uses the required features? I can try = to compile on this VM, to confirm whether it actually = works.


Cheers

=
Stephen 
= --Apple-Mail=_A2D485A8-F0E8-463E-AEF8-57499F207F71--