From 20de58f51d92660481923c7f795d2e36e9626247 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 28 Dec 2018 18:12:50 +0100 Subject: [PATCH] Drop deprecated /Gm compile option The `/Gm` option of `cl` is deprecated[1], and `cl` claims that it will be removed in the future, so we're dropping it right away. [1] --- win32/build/confutils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 371d586ef8..a74812e7f4 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -3194,7 +3194,7 @@ function toolset_setup_common_libs() function toolset_setup_build_mode() { if (PHP_DEBUG == "yes") { - ADD_FLAG("CFLAGS", "/LDd /MDd /W3 /Gm /Od /D _DEBUG /D ZEND_DEBUG=1 " + + ADD_FLAG("CFLAGS", "/LDd /MDd /W3 /Od /D _DEBUG /D ZEND_DEBUG=1 " + (X64?"/Zi":"/ZI")); ADD_FLAG("LDFLAGS", "/debug"); // Avoid problems when linking to release libraries that use the release -- 2.40.0