solenv/gbuild/platform/com_MSC_defs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a019bd2ab104d410bfbf31a0c611860650e0a5e7 Author: Mike Kaganski <[email protected]> AuthorDate: Sun Jan 11 13:13:06 2026 +0100 Commit: Mike Kaganski <[email protected]> CommitDate: Sun Jan 11 14:55:10 2026 +0100 Silence warning C4996 from MSVC's standard library in externals C:\PROGRA~1\MICROS~18\COMMUN~1\VC\Tools\MSVCe0~1.357\Include\__msvc_iter_core.hpp(191): warning C4996: 'std::iterator<std::input_iterator_tag,std::pair<graphite2::sparse::key_type, graphite2::sparse::mapped_type>,ptrdiff_t,std::pair<graphite2::sparse::key_type, graphite2::sparse::mapped_type> *,std::pair<graphite2::sparse::key_type, graphite2::sparse::mapped_type> &>::value_type': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The <iterator> header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. Change-Id: I3b849760e71e6c17294076620179a6ddd8cca962 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197008 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 40009b5a6851..73aa7af1cd7d 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -120,7 +120,7 @@ gb_CFLAGS := \ -wd4505 \ -bigobj \ -gb_CXXFLAGS_DISABLE_WARNINGS = -w -analyze- +gb_CXXFLAGS_DISABLE_WARNINGS = -w -analyze- -D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS gb_CXXFLAGS := \ -utf-8 \ commit 8aa4ec5d5d07d51b29c78d4b783ad99742b83dc4 Author: Mike Kaganski <[email protected]> AuthorDate: Sun Jan 11 13:36:50 2026 +0100 Commit: Mike Kaganski <[email protected]> CommitDate: Sun Jan 11 14:55:03 2026 +0100 Avoid msvc-analyze in externals (attempt 2) This reverts commit d36c2d629f1974c0847578942629079af3111736 (Avoid msvc-analyze in externals (i.e., with WARNINGS_DISABLED), 2025-12-29), and adds -analyze- to gb_CXXFLAGS_DISABLE_WARNINGS. Change-Id: I3689535bed22c8f7444539bdddfa026e76bfe3a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197010 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 ec136fbec2f2..40009b5a6851 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -103,7 +103,7 @@ gb_AFLAGS := $(AFLAGS) # C4706: assignment within conditional expression # build-time penalty is too high for ci use/disable when JENKINS_HOME is set -MSVC_ANALYZE_FLAGS := $(if $(ENABLE_MSVC_ANALYZE),$(if $(WARNINGS_DISABLED),,-analyze:ruleset$(SRCDIR)/solenv/vs/LibreOffice.ruleset),) +MSVC_ANALYZE_FLAGS := $(if $(ENABLE_MSVC_ANALYZE),-analyze:ruleset$(SRCDIR)/solenv/vs/LibreOffice.ruleset,) gb_FilterOutClangCFLAGS += $(MSVC_ANALYZE_FLAGS) @@ -120,7 +120,7 @@ gb_CFLAGS := \ -wd4505 \ -bigobj \ -gb_CXXFLAGS_DISABLE_WARNINGS = -w +gb_CXXFLAGS_DISABLE_WARNINGS = -w -analyze- gb_CXXFLAGS := \ -utf-8 \
