[php-src] PR #15403: Drop support for building with old Visual Studio versions

From: Date: Wed, 14 Aug 2024 12:21:29 +0000
Subject: [php-src] PR #15403: Drop support for building with old Visual Studio versions
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27939@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15403 Author: cmb69 The first commit requires users to have at least Visual Studio 2015; the second commit raises that to Visual Studio 2017 RTW; the third commit even raises that to Visual Studio 2019 RTW 16.0. Note that building with Visual Studio 2017 15.9.64 (latest version) fails on https://github.com/php/php-src/blob/d100caa476f62a9f6576dcf2c5d8dbb88ed9c57e/ext/bcmath/libbcmath/src/convert.h#L22 because the restrict keyword is not supported. Thus, if we still want to support Visual Studio 2017, we would need to fix this (and maybe more; I haven't done a full snapshot build). However, I think we should (or even need to) raise the bar even further. Builds with Visual Studio 2019 16.11.38 (latest version) appear to work flawlessly, but I'm not sure whether somewhat older Visual Studio 2019 versions would work (and I don't think I can test this since going back to older Visual Studio 2019 version is impossible, to my knowledge; you don't need to update, but you can't install an older version). For details regarding the versioning details, see https://learn.microsoft.com/en-us/cpp/overview/compiler-versions?view=msvc-170.

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