Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README/ReleaseNotes/v642/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,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 `snprintf.h` is no longer part of ROOT installed headers. Use instead `<cstdio>`.

## Build System

Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/RootMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ function (ROOT_CXXMODULES_APPEND_TO_MODULEMAP library library_headers)
DllImport.h ESTLType.h Varargs.h
ThreadLocalStorage.h
TBranchProxyTemplate.h
snprintf.h strlcpy.h)
strlcpy.h)
# Deprecated header files.
set (excluded_headers "${excluded_headers}")
Expand Down
1 change: 0 additions & 1 deletion cmake/unix/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ROOT_Foundation_C {
module "ThreadLocalStorage.h" { header "ThreadLocalStorage.h" export * }
module "strlcpy.h" { header "strlcpy.h" export * }
module "snprintf.h" { header "snprintf.h" export * }

export *
}
Expand Down
1 change: 0 additions & 1 deletion core/base/inc/Rtypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <cstdio>
#include "strtok.h" // provides R__STRTOK_R with <cstring> include
#include "strlcpy.h" // part of string.h on systems that have it
#include "snprintf.h" // part of stdio.h on systems that have it
#include <type_traits>
#endif

Expand Down
1 change: 0 additions & 1 deletion core/base/inc/TString.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include <string_view>
#include "ROOT/TypeTraits.hxx"
#include "snprintf.h"

#include <iosfwd>
#include <cstdarg>
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/TColor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#include "TMathBase.h"
#include "TApplication.h"
#include "TColorGradient.h"
#include "snprintf.h"

#include <algorithm>
#include <cmath>
Comment thread
ferdymercury marked this conversation as resolved.
#include <cstdio>
#include <fstream>
#include <iostream>
#include <sstream>
Expand Down
3 changes: 1 addition & 2 deletions core/base/src/TDatime.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ required, use TTimeStamp.

#include "TBuffer.h"
#include "Strlen.h"
#include "snprintf.h"
#include "TDatime.h"
#include "TError.h"
#include "Bytes.h"
#include "TString.h"


#include <cstdio>

////////////////////////////////////////////////////////////////////////////////
/// Create a TDatime and set it to the current time.
Expand Down
25 changes: 12 additions & 13 deletions core/base/src/TObject.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,7 @@ class hierarchies (watch out for overlaps).
that the object was allocated on the heap).
*/

#include <cstring>
#if !defined(WIN32) && !defined(__MWERKS__) && !defined(R__SOLARIS)
#include <strings.h>
#endif
#include <cstdlib>
#include <cstdio>
#include <sstream>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <limits>

#include "Varargs.h"
#include "snprintf.h"
#include "TObject.h"
#include "TBuffer.h"
#include "TClass.h"
Expand All @@ -64,6 +51,18 @@ class hierarchies (watch out for overlaps).
#include "TRefTable.h"
#include "TProcessID.h"

#include <cstring>
#if !defined(WIN32) && !defined(__MWERKS__) && !defined(R__SOLARIS)
#include <strings.h>
#endif
#include <cstdlib>
#include <cstdio>
#include <sstream>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <limits>

Longptr_t TObject::fgDtorOnly = 0;
Bool_t TObject::fgObjectStat = kTRUE;

Expand Down
3 changes: 2 additions & 1 deletion core/base/src/TProcessID.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ of TUUIDs.
#include "TExMap.h"
#include "TVirtualMutex.h"
#include "TError.h"
#include "snprintf.h"

#include <cstdio>

TObjArray *TProcessID::fgPIDs = nullptr; //pointer to the list of TProcessID
TProcessID *TProcessID::fgPID = nullptr; //pointer to the TProcessID of the current session
Expand Down
2 changes: 0 additions & 2 deletions core/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

set_property(TARGET Core APPEND PROPERTY DICT_HEADERS
strlcpy.h
snprintf.h
strtok.h
)

Expand All @@ -26,7 +25,6 @@ ROOT_OBJECT_LIBRARY(Clib
src/mmcheck.c
src/mrealloc.c
src/sbrksup.c
src/snprintf.c
src/strlcat.c
src/strlcpy.c
)
Expand Down
43 changes: 0 additions & 43 deletions core/clib/inc/snprintf.h

This file was deleted.

Loading
Loading