Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ms-gsl for openSUSE:Factory checked in at 2026-07-06 12:27:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ms-gsl (Old) and /work/SRC/openSUSE:Factory/.ms-gsl.new.1982 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ms-gsl" Mon Jul 6 12:27:48 2026 rev:6 rq:1363535 version:4.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ms-gsl/ms-gsl.changes 2025-12-17 17:34:26.798804216 +0100 +++ /work/SRC/openSUSE:Factory/.ms-gsl.new.1982/ms-gsl.changes 2026-07-06 12:28:28.551361016 +0200 @@ -1,0 +2,9 @@ +Thu May 21 16:55:35 UTC 2026 - Scott Bradnick <[email protected]> + +- Update to upstream version 4.2.2: + * This is a patch release that corresponds with the current tip of the + `rel/4.2` branch. + * Bug Fixes + - Fix MSVC's C4875 when compiling GSL 4.2.1 with latest MSVC toolset. #1243 + +------------------------------------------------------------------- Old: ---- ms-gsl-4.2.1.tar.gz New: ---- ms-gsl-4.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ms-gsl.spec ++++++ --- /var/tmp/diff_new_pack.Rh2ypa/_old 2026-07-06 12:28:29.319387661 +0200 +++ /var/tmp/diff_new_pack.Rh2ypa/_new 2026-07-06 12:28:29.319387661 +0200 @@ -1,7 +1,7 @@ # # spec file for package ms-gsl # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: ms-gsl -Version: 4.2.1 +Version: 4.2.2 Release: 0 Summary: Guidelines Support Library License: MIT ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.Rh2ypa/_old 2026-07-06 12:28:29.375389605 +0200 +++ /var/tmp/diff_new_pack.Rh2ypa/_new 2026-07-06 12:28:29.379389743 +0200 @@ -1,5 +1,5 @@ -mtime: 1765825903 -commit: 617a914287551baee7bac9b09e730f1a983e3ba4ac4924210fbcde5e7720673e +mtime: 1779382777 +commit: 98d21dbb6f635020ae339931b52606fbfb02d0f0131afd5d0ca07341de8b2e2a url: https://src.opensuse.org/sbradnick/ms-gsl revision: main ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-05-21 18:59:37.000000000 +0200 @@ -0,0 +1,4 @@ +_buildconfig-* +_buildinfo-* +*.obscpio +ms-gsl/ ++++++ ms-gsl-4.2.1.tar.gz -> ms-gsl-4.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GSL-4.2.1/.github/workflows/ios.yml new/GSL-4.2.2/.github/workflows/ios.yml --- old/GSL-4.2.1/.github/workflows/ios.yml 2025-12-08 19:17:57.000000000 +0100 +++ new/GSL-4.2.2/.github/workflows/ios.yml 2026-05-21 00:31:39.000000000 +0200 @@ -28,8 +28,8 @@ -DCMAKE_OSX_DEPLOYMENT_TARGET=9 \ -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY \ "-DMACOSX_BUNDLE_GUI_IDENTIFIER=GSL.\$(EXECUTABLE_NAME)" \ - -DMACOSX_BUNDLE_BUNDLE_VERSION=4.2.1 \ - -DMACOSX_BUNDLE_SHORT_VERSION_STRING=4.2.1 \ + -DMACOSX_BUNDLE_BUNDLE_VERSION=4.2.2 \ + -DMACOSX_BUNDLE_SHORT_VERSION_STRING=4.2.2 \ .. - name: Build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GSL-4.2.1/CMakeLists.txt new/GSL-4.2.2/CMakeLists.txt --- old/GSL-4.2.1/CMakeLists.txt 2025-12-08 19:17:57.000000000 +0100 +++ new/GSL-4.2.2/CMakeLists.txt 2026-05-21 00:31:39.000000000 +0200 @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.14...3.16) -project(GSL VERSION 4.2.1 LANGUAGES CXX) +project(GSL VERSION 4.2.2 LANGUAGES CXX) add_library(GSL INTERFACE) add_library(Microsoft.GSL::GSL ALIAS GSL) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GSL-4.2.1/README.md new/GSL-4.2.2/README.md --- old/GSL-4.2.1/README.md 2025-12-08 19:17:57.000000000 +0100 +++ new/GSL-4.2.2/README.md 2026-05-21 00:31:39.000000000 +0200 @@ -49,7 +49,7 @@ move_owner | ☐ | A helper function that moves one `owner` to the other [final_action](docs/headers.md#user-content-H-util-final_action) | ☑ | A RAII style class that invokes a functor on its destruction [finally](docs/headers.md#user-content-H-util-finally) | ☑ | A helper function instantiating [final_action](docs/headers.md#user-content-H-util-final_action) -[GSL_SUPPRESS](docs/headers.md#user-content-H-assert-gsl_suppress) | ☑ | A macro that takes an argument and turns it into `[[gsl::suppress(x)]]` or `[[gsl::suppress("x")]]` +[GSL_SUPPRESS](docs/headers.md#user-content-H-assert-gsl_suppress) | ☑ | A macro that takes an argument and turns it into `[[gsl::suppress(x)]]` or `[[gsl::suppress("x")]]` depending on the compiler. [[implicit]] | ☐ | A "marker" to put on single-argument constructors to explicitly make them non-explicit [index](docs/headers.md#user-content-H-util-index) | ☑ | A type to use for all container and array indexing (currently an alias for `std::ptrdiff_t`) [narrow](docs/headers.md#user-content-H-narrow-narrow) | ☑ | A checked version of `narrow_cast`; it can throw [narrowing_error](docs/headers.md#user-content-H-narrow-narrowing_error) @@ -202,7 +202,7 @@ FetchContent_Declare(GSL GIT_REPOSITORY "https://github.com/microsoft/GSL" - GIT_TAG "v4.2.1" + GIT_TAG "v4.2.2" GIT_SHALLOW ON ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GSL-4.2.1/docs/headers.md new/GSL-4.2.2/docs/headers.md --- old/GSL-4.2.1/docs/headers.md 2025-12-08 19:17:57.000000000 +0100 +++ new/GSL-4.2.2/docs/headers.md 2026-05-21 00:31:39.000000000 +0200 @@ -49,9 +49,9 @@ This macro can be used to suppress a code analysis warning. The core guidelines request tools that check for the rules to respect suppressing a rule by writing -`[[gsl::suppress(tag)]]` or `[[gsl::suppress(tag, justification: "message")]]`. +`[[gsl::suppress("tag")]]` or `[[gsl::suppress("tag", justification: "message")]]`. -Clang does not use exactly that syntax, but requires `tag` to be put in double quotes `[[gsl::suppress("tag")]]`. +Older versions of MSVC (VS 2022 and earlier) only understand `[[gsl::suppress(tag)]]` without the double quotes around `tag`. For portable code you can use `GSL_SUPPRESS(tag)`. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GSL-4.2.1/include/gsl/assert new/GSL-4.2.2/include/gsl/assert --- old/GSL-4.2.1/include/gsl/assert 2025-12-08 19:17:57.000000000 +0100 +++ new/GSL-4.2.2/include/gsl/assert 2026-05-21 00:31:39.000000000 +0200 @@ -47,13 +47,14 @@ // #if defined(__clang__) #define GSL_SUPPRESS(x) [[gsl::suppress(#x)]] -#else -#if defined(_MSC_VER) && !defined(__INTEL_COMPILER) && !defined(__NVCC__) +#elif defined(_MSC_VER) && _MSC_VER >= 1950 +// Visual Studio versions after 2022 (_MSC_VER > 1944) support the justification message. +#define GSL_SUPPRESS(x) [[gsl::suppress(#x)]] +#elif defined(_MSC_VER) && !defined(__INTEL_COMPILER) && !defined(__NVCC__) #define GSL_SUPPRESS(x) [[gsl::suppress(x)]] #else #define GSL_SUPPRESS(x) -#endif // _MSC_VER -#endif // __clang__ +#endif // defined(__clang__) #if defined(__clang__) || defined(__GNUC__) #define GSL_LIKELY(x) __builtin_expect(!!(x), 1)
