From ea357236f4e426b876e07c172714f85943d7b3fc Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 17 Dec 2025 16:56:41 -0500 Subject: Help: Add 4.1 release note about VS link flag suppression Document link flags suppressed by commit 99d09ec45a (VS: Suppress MSBuild default link flags not specified by project or user, 2025-06-17, v4.1.0-rc1~6^2). Leave out `-subsystem` because that's being reverted by another commit. Issue: #27004 Issue: #27464 --- Help/release/4.1.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Help/release/4.1.rst b/Help/release/4.1.rst index 0b93e81..4b0de5c 100644 --- a/Help/release/4.1.rst +++ b/Help/release/4.1.rst @@ -220,9 +220,11 @@ Other Changes ``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. + ``-Zc:forScope``, ``-Zc:inline``, and ``-Zc:wchar_t`` compiler flags, + and ``-dynamicbase``, ``-errorreport``, ``-nxcompat``, and ``-safeseh`` + link flags, 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` -- cgit v0.12