solenv/gbuild/platform/com_MSC_defs.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
New commits: commit caaf7be6481667f5d07b222f694da08d3a55006b Author: Mike Kaganski <[email protected]> AuthorDate: Sat Jan 10 11:39:31 2026 +0100 Commit: Mike Kaganski <[email protected]> CommitDate: Sat Jan 10 13:00:03 2026 +0100 The baseline is VS2022 now, drop -Wv:18 as planned Change-Id: Ie5312d8a58e12365ef1bc8d22a0a4405c18e0042 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196960 Reviewed-by: Mike Kaganski <[email protected]> Tested-by: Jenkins diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index a31288df0952..ec136fbec2f2 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -258,11 +258,7 @@ endif gb_LTOFLAGS := $(if $(filter TRUE,$(ENABLE_LTO)),-GL) -# VS2019 produces a warning C4857, that it doesn't support -std:c++20; it can't -# be suppressed by -wd4857, only by -Wv:18. The warning seems incorrect, because -# using -std:c++17 produces errors about undeclared 'char8_t'. VS2022 doesn't -# have the problem, so drop -Wv:18 when bumping baseline. -# Similarly, at least VS2022 Preview 17.12.0 Preview 2.1 with --with-latest-c++ emits a "warning +# At least VS2022 Preview 17.12.0 Preview 2.1 with --with-latest-c++ emits a "warning # C4857: C++/CLI mode does not support C++ versions newer than C++20; setting language to # /std:c++20" that cannot be disabled by adding -wd4857, so hardcode a -std:c++20 substitution in # that case: @@ -276,7 +272,6 @@ gb_CXXCLRFLAGS := \ -AI $(INSTDIR)/$(LIBO_URE_LIB_FOLDER) \ -EHa \ -clr \ - $(if $(filter 16.0,$(VCVER)),-Wv:18) \ -Zc:twoPhase- \
