From 1718e3c2fa38555b59a7e2af60536f394cfa0378 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Sun, 6 Sep 2026 13:15:06 +0200 Subject: [PATCH 1/4] [core] emit warning for header deprecated in 6.14 --- core/foundation/inc/RStringView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/foundation/inc/RStringView.h b/core/foundation/inc/RStringView.h index 35c1c38834dfd..23ebdb36835e0 100644 --- a/core/foundation/inc/RStringView.h +++ b/core/foundation/inc/RStringView.h @@ -9,6 +9,6 @@ * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ -// this file is only kept for backwards compatibility reasons. ROOT/RStringView.hxx should be included instead. +#warning "This header is deprecated and will be removed in ROOT 6.44, use ROOT/RStringView.hxx instead" #include From 5d13a23d24541b438dcae6916b14ac6f027f03c0 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Sun, 6 Sep 2026 13:16:57 +0200 Subject: [PATCH 2/4] [RN] mention RStringView deprecation schedule --- README/ReleaseNotes/v642/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README/ReleaseNotes/v642/index.md b/README/ReleaseNotes/v642/index.md index 7a16b865e42e2..13fafd13b8092 100644 --- a/README/ReleaseNotes/v642/index.md +++ b/README/ReleaseNotes/v642/index.md @@ -67,8 +67,9 @@ Users are encouraged to export their models to ONNX and use the retained ONNX pa * The **RooStats::DebuggingSampler** and **RooStats::DebuggingTestStat** classes are removed. They were mock implementations of the `TestStatSampler` and `TestStatistic` interfaces that returned uniform random numbers independent of the data, only meant for debugging the RooStats framework itself during its initial development. * The `RooTrace` class is deprecated and will be removed in ROOT 6.44. It was a RooFit-specific memory tracer whose instrumentation hooks are compiled out by default, so it has been inert and untested for years. For memory debugging, please use general-purpose tools such as AddressSanitizer or Valgrind instead. * Support for the AIX operating system has been removed from the codebase. This support has not been tested since the late v5 releases and the LLVM JIT is not yet supporting AIX. -* The headers Htypes.h and Gtypes.h that were deprecated in ROOT 6.20 will now emit warnings and will be fully removed in ROOT 6.44. -* The header GLConstants.h is no longer part of ROOT installed headers. +* The headers `Htypes.h` and `Gtypes.h` that were deprecated in ROOT 6.20 will now emit warnings and will be fully removed in ROOT 6.44. Use instead `Rtypes.h`. +* The header `GLConstants.h` is no longer part of ROOT installed headers. +* The header `RStringView.h` deprecated in ROOT 6.14 will now emit warnings and will be fully removed after ROOT 6.44. Use `ROOT/RStringView.hxx` instead. * The `ROOT::Math::ParamFunctionBase`, `ROOT::Math::ParamFunctorHandler` and `ROOT::Math::ParamMemFunHandler` classes in `Math/ParamFunctor.h` are removed, together with the `ParamFunctor::GetImpl()` and `ParamFunctor::SetFunction()` methods that exposed them. They implemented the type erasure that `ParamFunctor` now gets from `std::function`, mirroring what was already done for `ROOT::Math::Functor`. Constructing and calling a `ParamFunctor` is unchanged, except that the constructor from an object and one of its member functions now takes a plain pointer to the object instead of anything dereferenceable, so smart pointers are no longer accepted there. ## Build System From 9f5550d39a80fa19c216ae2126da4b33d25fd2b1 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Sun, 6 Sep 2026 13:44:54 +0200 Subject: [PATCH 3/4] [core] rm deprecated header from dicts --- core/foundation/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/core/foundation/CMakeLists.txt b/core/foundation/CMakeLists.txt index 63b93ac475843..044b1fad1e05e 100644 --- a/core/foundation/CMakeLists.txt +++ b/core/foundation/CMakeLists.txt @@ -10,7 +10,6 @@ set_property(TARGET Core APPEND PROPERTY DICT_HEADERS ESTLType.h - RStringView.h TClassEdit.h TError.h ThreadLocalStorage.h From b13ae28ffdf77ae9f4fbb93c1bcfbbeb51faa1d5 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 7 Sep 2026 07:27:00 +0200 Subject: [PATCH 4/4] [RN] readjust removal date Co-authored-by: ferdymercury --- core/foundation/inc/RStringView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/foundation/inc/RStringView.h b/core/foundation/inc/RStringView.h index 23ebdb36835e0..e620b8c14b26c 100644 --- a/core/foundation/inc/RStringView.h +++ b/core/foundation/inc/RStringView.h @@ -9,6 +9,6 @@ * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ -#warning "This header is deprecated and will be removed in ROOT 6.44, use ROOT/RStringView.hxx instead" +#warning "This header is deprecated and will be removed in ROOT 6.46, use ROOT/RStringView.hxx instead" #include