Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124922 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 5099B1A00B7 for ; Tue, 13 Aug 2024 15:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723564730; bh=dWWOT/EYRhFC0c7eMg875Tpgsfff9TRgZEk2V8X+Hrc=; h=References:In-Reply-To:From:Date:Subject:To:From; b=Zp3lzNEBB8N3TN9jfGFlqh5XRpXML+5TUv06Eorc2z6P8nTfRm1Y2gkFZhRnQ1SEw VMfvqznMKXTOQ96lqBXKizt+Esaep8nMYkaAUiYFps5QMn/qmUIeE3Qv0ARX8MZXlk 7i2j/Z3tiPE1tNOsiwBQXLZbn6vamwDyYtfKTKo1NtrLA80pV8vpUVIMzfHlbZ6W2/ wS28/nJjd4fUu3oDUh5ZKjL2GyYij5vfPY8C0O4DguTJpKJ9cyweRJgJN+80pta7YK sged/JWp3nmwbrGB+6QGf9SpuYs32rAWuJ8056MvB1NfyvniGT7FPwcmXVk0tWmJ/8 8rPsLBvvBXdbQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E4234180088 for ; Tue, 13 Aug 2024 15:58:49 +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_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) (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, 13 Aug 2024 15:58:49 +0000 (UTC) Received: by mail-qv1-f47.google.com with SMTP id 6a1803df08f44-6b795574f9dso31026316d6.0 for ; Tue, 13 Aug 2024 08:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723564623; x=1724169423; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dWWOT/EYRhFC0c7eMg875Tpgsfff9TRgZEk2V8X+Hrc=; b=Lkz85liwmNP3hsREB1XDSn6nMKUP4Pur6JXAR5pQCYRIh0BAlXIhdrfGeIZ2KCzLU/ TJXqjLDuX8262TqqFRXXoSu/ak477yAgzdKkWuJMn9AWVl6bovsRAPbp2z7t6V4eeB4v Dl1K+TC3S/pMYtKwkx12KlMfOQVdXbHWFuQWLQMCMSxWEPwC8Ug8kv0NHkXeJBQKa7S7 /14GnvNBwWrCowT2zOI2c8hndmgQLjlAKr+fi5fgev85p1xO8zLjcIx5gloDPTq4oWhc ho2h5ojJiF88Y/p1u+K2/9aEPDjlPqw/AcBRu/s59zTEcDsbJgoUx5hkZMzF4Y0ld9Oj 4YUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723564623; x=1724169423; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dWWOT/EYRhFC0c7eMg875Tpgsfff9TRgZEk2V8X+Hrc=; b=kXvUdrFiC80b+TMkG1x/SoKVp6E1NWUzwEe3cCvrUo9luHJlPsxqffBeD4mEQ0Y/kP qI+AE1WSxcd3SCs+XbW4BeG2cPdwZwvjaEWP67RlUQa2P2jAiuwhYIPXZ0v5WCykMVJr GJ0cIHda6kaH4VYPHzRo59Z4KOCWtP/dY4f48gZ8X4fzSzgStbZR6GsERL2WcGay8YVv /qilvNeJqsH5grb5L8SJaolTw/TBL7YJVwJkc9remuYPsolJvNn1gDyd17wT8etGw/uy C+N3gJHejyhmWYidtVjz5tQJAUBAciwoiFRvjwDCcPvVS0ThukfaKh66zMFn7/TQRU4A TlWA== X-Gm-Message-State: AOJu0YyjsM18CotUHn82no0qCH00Lw46pxroPm7UJpcqk0iPM4c4ar4X JhIn8RLNbs/M49Qi38YSmOxr8ll2AGh9ZseVbGtOoDmxTQE2S7PYfAo1DQaJ3F2mN4AqZDrQYSW bASJvECUa3EUbMYm/DTW7I6b66spfRrZazXA= X-Google-Smtp-Source: AGHT+IGrXVlyudIOYPBMlLf9ZBLdYG5P7VXE095xBHZQVhTLxCNz43dU7/j9VxE12LfgBN+88kkCRUgjn5VInd4Nm7k= X-Received: by 2002:a05:6214:450e:b0:6bb:b4c1:646c with SMTP id 6a1803df08f44-6bf4f79e9b1mr59482086d6.22.1723564622809; Tue, 13 Aug 2024 08:57:02 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <9e1068ae-593e-40bc-91d7-dd63545d9e60@gmx.de> In-Reply-To: Date: Tue, 13 Aug 2024 17:56:51 +0200 Message-ID: Subject: Re: [PHP-DEV] Require C11 in PHP 8.4 To: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: tovilo.ilija@gmail.com (Ilija Tovilo) Hi Levi On Tue, Aug 13, 2024 at 5:00=E2=80=AFPM Levi Morrison wrote: > > On Tue, Aug 13, 2024 at 8:17=E2=80=AFAM Ilija Tovilo wrote: > > > > Just to state it officially: You object to switching to C11 in 8.4? In > > that case, we'll have to postpone. > > I don't object. I think it's smarter to wait, and do more than just > redeclare a few typedefs. But I won't block it. Thank you for the clarification. In that case, I'd say let's go forward with the proposal. I agree that we should be making use of more C11 features in the future, once the opportunity presents itself. > If only documentation changes, then I think the risk is lower. We > definitely should not be doing configure checks in 8.4 with how little > time there is, except maybe _one_ that attempts to redeclare a typedef > to see if it compiles, and give a nicer error message. I agree. I will create a PR to provide a ./configure time error message if the compiler doesn't support typedef redeclarations. Adopting C11 does mean we can start using other C11 features too, though that should naturally happen only on (future) master rather than 8.4, given that ABI freeze is only a little over a month away. Ilija