From e2646b9926c93eb7578f792d0f93c36db742858f Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 8 Dec 2025 10:11:29 -0500 Subject: Help: Add 4.1 release note about VS flag suppression Document flags suppressed by commit 7db3dbddb2 (VS: Suppress MSBuild default flags not specified by project or user, 2025-06-02, v4.1.0-rc1~69^2). --- Help/release/4.1.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Help/release/4.1.rst b/Help/release/4.1.rst index 7422aec..58272a9 100644 --- a/Help/release/4.1.rst +++ b/Help/release/4.1.rst @@ -219,6 +219,11 @@ Other Changes * The MSVC link ``-machine:`` flag is no longer added to the ``CMAKE_*_LINKER_FLAGS`` variables. See policy :policy:`CMP0197`. +* The :ref:`Visual Studio Generators` now suppress Visual Studio's default + flags ``-Zc:forScope``, ``-Zc:inline``, and ``-Zc:wchar_t`` if they are + not specified by the project or user. This makes builds more consistent + with other generators, and with what projects and users actually specify. + * The :genex:`TARGET_PROPERTY` generator expression now evaluates the :prop_tgt:`LINK_LIBRARIES` and :prop_tgt:`INTERFACE_LINK_LIBRARIES` target properties transitively. See policy :policy:`CMP0189`. -- cgit v0.12