From 9a5647d877268b5e6b6433a25bcb7e5c228463b8 Mon Sep 17 00:00:00 2001 From: Dmitry Arkhipov Date: Fri, 7 Aug 2026 14:55:57 +0300 Subject: [PATCH 1/3] updated clang-23 CI setup --- .drone.star | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.star b/.drone.star index 03f03feeb..501a8dc10 100644 --- a/.drone.star +++ b/.drone.star @@ -609,6 +609,7 @@ _supported_compilers = { 'image': 'cppalliance/droneubuntu2404:1', 'packages': ['clang-23'], 'llvm_os': 'noble', + 'llvm_ver': '23', }, }, }, From 2b8558fcdb527848c0a7d1c410b117414c868b53 Mon Sep 17 00:00:00 2001 From: Dmitry Arkhipov Date: Fri, 7 Aug 2026 14:56:27 +0300 Subject: [PATCH 2/3] up-to-date CI information in readme --- README.adoc | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/README.adoc b/README.adoc index 2b75ab58e..d6278c8bb 100644 --- a/README.adoc +++ b/README.adoc @@ -17,14 +17,6 @@ image:https://raw.githubusercontent.com/CPPAlliance/json/master/doc/images/repo- |https://github.com/boostorg/json/tree/master[`master`] |https://github.com/boostorg/json/tree/develop[`develop`] -|https://azure.microsoft.com/en-us/services/devops/pipelines/[Azure] -a| -[link=https://vinniefalco.visualstudio.com/json/_build/latest?definitionId=5&branchName=master] -image::https://img.shields.io/azure-devops/build/vinniefalco/2571d415-8cc8-4120-a762-c03a8eda0659/8/master[Build Status] -a| -[link=https://vinniefalco.visualstudio.com/json/_build/latest?definitionId=8&branchName=develop] -image::https://img.shields.io/azure-devops/build/vinniefalco/2571d415-8cc8-4120-a762-c03a8eda0659/8/develop[Build Status] - |Docs a| [link=https://www.boost.org/doc/libs/master/libs/json/] @@ -55,14 +47,6 @@ a| [link=https://github.com/boostorg/json/workflows/fuzz/badge.svg?branch=develop] image::https://github.com/boostorg/json/workflows/fuzz/badge.svg?branch=develop[fuzz] -|https://ci.appveyor.com/[Appveyor] -a| -[link=https://ci.appveyor.com/project/vinniefalco/cppalliance-json/branch/master] -image::https://ci.appveyor.com/api/projects/status/8csswcnmfm798203?branch=master&svg=true[Build status] -a| -[link=https://ci.appveyor.com/project/vinniefalco/cppalliance-json/branch/develop] -image::https://ci.appveyor.com/api/projects/status/8csswcnmfm798203?branch=develop&svg=true[Build status] - |https://codecov.io[codecov.io] a| [link=https://codecov.io/gh/boostorg/json/branch/master] @@ -199,9 +183,9 @@ in order to support both little endian and big endian platforms. ==== Supported Compilers Boost.JSON has been tested with the following compilers: -* clang: 3.5, 3.6, 3.7, 3.8, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 -* gcc: 5, 6, 7, 8, 9, 10, 11, 12 -* msvc: 14.0, 14.1, 14.2, 14.3 +* clang: 3.8, 4–23; +* gcc: 5–16; +* msvc: 14.0, 14.1, 14.2, 14.3, 14.5. ==== Supported JSON Text The library expects input text to be encoded using UTF-8, which is @@ -231,10 +215,10 @@ endif::[] The development infrastructure for the library includes these per-commit analyses: -* Coverage reports -* Benchmark performance comparisons -* Compilation and tests on Drone.io, Azure Pipelines, Appveyor -* Fuzzing using clang-llvm and machine learning +* coverage reports, +* benchmark performance comparisons, +* compilation and tests on Drone.io and GitHub Actions, +* fuzzing using clang-llvm and machine learning. ==== Security Review (Bishop Fox) As part of our commitment to producing the very finest C++ libraries that From 3dd600ff8bb7ffa030c0ecb764072f223310a450 Mon Sep 17 00:00:00 2001 From: Dmitry Arkhipov Date: Fri, 7 Aug 2026 16:52:44 +0300 Subject: [PATCH 3/3] silence annoying clang warning --- example/use_allocator.cpp | 12 +++++++++++- test/doc_background.cpp | 12 +++++++++++- test/doc_quick_look.cpp | 12 +++++++++++- test/memory_resource.cpp | 12 +++++++++++- test/test.hpp | 1 - 5 files changed, 44 insertions(+), 5 deletions(-) diff --git a/example/use_allocator.cpp b/example/use_allocator.cpp index a86c8bdc3..4fd802cef 100644 --- a/example/use_allocator.cpp +++ b/example/use_allocator.cpp @@ -14,10 +14,20 @@ */ #include -#include #include #include +#if defined(BOOST_CLANG) && BOOST_CLANG_VERSION > 40000 +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wunused-template" +#endif + +#include + +#if defined(BOOST_CLANG) && BOOST_CLANG_VERSION > 40000 +# pragma clang diagnostic pop +#endif + using namespace boost::json; using namespace boost::container; diff --git a/test/doc_background.cpp b/test/doc_background.cpp index 8c474acf0..d6ed7d115 100644 --- a/test/doc_background.cpp +++ b/test/doc_background.cpp @@ -10,9 +10,19 @@ #include #include #include -#include #include +#if defined(BOOST_CLANG) && BOOST_CLANG_VERSION > 40000 +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wunused-template" +#endif + +#include + +#if defined(BOOST_CLANG) && BOOST_CLANG_VERSION > 40000 +# pragma clang diagnostic pop +#endif + #include "test_suite.hpp" #ifdef assert diff --git a/test/doc_quick_look.cpp b/test/doc_quick_look.cpp index ce8aca19d..68f4f1e6e 100644 --- a/test/doc_quick_look.cpp +++ b/test/doc_quick_look.cpp @@ -8,9 +8,19 @@ // #include -#include #include +#if defined(BOOST_CLANG) && BOOST_CLANG_VERSION > 40000 +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wunused-template" +#endif + +#include + +#if defined(BOOST_CLANG) && BOOST_CLANG_VERSION > 40000 +# pragma clang diagnostic pop +#endif + #include "test_suite.hpp" namespace boost { diff --git a/test/memory_resource.cpp b/test/memory_resource.cpp index 2519ec365..4a17f7116 100644 --- a/test/memory_resource.cpp +++ b/test/memory_resource.cpp @@ -9,9 +9,19 @@ #include #include -#include #include +#if defined(BOOST_CLANG) && BOOST_CLANG_VERSION > 40000 +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wunused-template" +#endif + +#include + +#if defined(BOOST_CLANG) && BOOST_CLANG_VERSION > 40000 +# pragma clang diagnostic pop +#endif + #include "test_suite.hpp" namespace boost { diff --git a/test/test.hpp b/test/test.hpp index 6c1bdb5c7..b9d8b208b 100644 --- a/test/test.hpp +++ b/test/test.hpp @@ -1124,7 +1124,6 @@ check_array_impl( } // detail template -static void check_array( value const& jv,