Files
meta-openembedded/meta-oe/recipes-devtools
Alper Ak 1414f174a9 microsoft-gsl: Upgrade 4.0.0 -> 4.2.0 to allow CMake 4+ compatibility
- Drop patches because already fixed in newer version

- Fix compile error when compiled with Clang:

assertion_tests.cpp:40:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
   40 | TEST(assertion_tests, expects)
      | ^

According to the upstream recommendation, passing the -DGSL_CXX_STANDARD=17 flag to CMake resolves the problem.
This patch applies the suggested workaround until a more permanent solution is provided from upstream.

Upstream discussion -> https://github.com/microsoft/GSL/issues/1178

Changelog:

https://github.com/microsoft/GSL/compare/v4.0.0...v4.2.0
https://github.com/microsoft/GSL/releases/tag/v4.2.0
https://github.com/microsoft/GSL/releases/tag/v4.1.0

Fix:

| CMake Error at tests/CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:57:04 -07:00
..
2025-04-10 08:31:04 -07:00
2025-02-27 20:28:17 +00:00
2025-07-09 09:16:05 -07:00
2025-06-25 06:44:50 -07:00
2025-07-09 09:16:09 -07:00
2024-07-28 00:00:31 -07:00
2025-01-24 18:20:00 -08:00
2025-04-01 09:21:23 -07:00
2024-07-25 07:58:08 -07:00
2025-07-03 09:45:04 -07:00
2025-06-26 07:26:20 -07:00
2025-07-06 22:39:27 -07:00
2025-01-14 08:52:05 -08:00
2025-06-09 21:24:16 -07:00
2025-07-08 23:40:32 -07:00
2025-05-28 08:55:16 -07:00