[php-src] PR #15100: Fix GH-15094: php_random_default_engine() is not C++ conforming

From: Date: Wed, 24 Jul 2024 22:27:03 +0000
Subject: [php-src] PR #15100: Fix GH-15094: php_random_default_engine() is not C++ conforming
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27482@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15100 Author: cmb69 Using compound literals is conforming to C99 (and up), but not with any C++ standard. Since the code is in a public header, it might be used by C++ extensions. Unfortunately, we cannot even used designated initializers, because these are a C++20 feature, so we stick with classic C/C++ code.

« previous php.git-pulls (#27482) next »