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 `Rtypes.h` as replacement.
* The header `GLConstants.h` is no longer part of ROOT installed headers.
* The header `Strlen.h` is no longer part of installed ROOT headers. Use `<cstring>` directly as a replacement.

## Build System

Expand Down
20 changes: 0 additions & 20 deletions core/base/inc/Strlen.h

This file was deleted.

2 changes: 1 addition & 1 deletion core/base/src/TAttPad.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/

#include "Strlen.h"
#include "TAttPad.h"
#include "TBuffer.h"
#include "TStyle.h"

#include <cstring>

/** \class TAttPad
\ingroup Base
Expand Down
4 changes: 2 additions & 2 deletions core/base/src/TAttText.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/

#include <iostream>
#include "Strlen.h"
#include "TROOT.h"
#include "TAttText.h"
#include "TVirtualPad.h"
Expand All @@ -21,6 +19,8 @@
#include "TError.h"
#include "TColor.h"

#include <iostream>
#include <cstring>

/** \class TAttText
\ingroup Base
Expand Down
7 changes: 2 additions & 5 deletions core/base/src/TDatime.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,19 @@ required, use TTimeStamp.

#include <ROOT/RConfig.hxx>

#include <ctime>

#ifdef WIN32
#include "Windows4Root.h"
#include <cstring>
#endif

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


#include <ctime>
#include <cstring>

////////////////////////////////////////////////////////////////////////////////
/// Create a TDatime and set it to the current time.
Expand Down
5 changes: 2 additions & 3 deletions core/base/src/TDirectory.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#include <cstdlib>

#include "Strlen.h"
#include "strlcpy.h"
#include "TDirectory.h"
#include "TBuffer.h"
Expand All @@ -31,6 +28,8 @@

#include <algorithm>
#include <limits>
#include <cstdlib>
#include <cstring>

const Int_t kMaxLen = 2048;

Expand Down
5 changes: 3 additions & 2 deletions core/base/src/TFolder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ to save the pointer to the object as a class member or local variable
if this pointer is used frequently or inside loops.
*/

#include <iostream>
#include "Strlen.h"
#include "strlcpy.h"
#include "TFolder.h"
#include "TBrowser.h"
Expand All @@ -95,6 +93,9 @@ if this pointer is used frequently or inside loops.
#include "TError.h"
#include "TRegexp.h"

#include <iostream>
#include <cstring>

static const char *gFolderD[64];
static Int_t gFolderLevel = -1;
static char gFolderPath[512];
Expand Down
4 changes: 2 additions & 2 deletions core/base/src/TNamed.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Most member functions defined in this base class are in general
overridden by the derived classes.
*/

#include <iostream>
#include "Strlen.h"
#include "TNamed.h"
#include "TROOT.h"
#include "TVirtualPad.h"
#include "TClass.h"

#include <iostream>
#include <cstring>

////////////////////////////////////////////////////////////////////////////////
/// TNamed copy ctor.
Expand Down
4 changes: 0 additions & 4 deletions core/foundation/inc/ROOT/RConfig.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
# include <cstdlib>
# endif
# define R__UNIX
# define NEED_STRING
# define NEED_SIGJMP
# if __SUNPRO_CC > 0x420
# define R__SOLARIS_CC50
Expand All @@ -117,7 +116,6 @@
# define R__SEEK64
# define ANSICPP
# define R__UNIX
# define NEED_STRING
# define NEED_SIGJMP
#endif

Expand Down Expand Up @@ -384,7 +382,6 @@
# define SC
# define R__SC
# if defined(WIN32)
# define NEED_STRING
# define NEED_STRCASECMP
# define NEED_SNPRINTF
# define ANSICPP
Expand All @@ -397,7 +394,6 @@

#ifdef _MSC_VER
# define R__VISUAL_CPLUSPLUS
# define NEED_STRING
# define NEED_STRCASECMP
# if _MSC_VER < 1900
# define NEED_SNPRINTF
Expand Down
3 changes: 1 addition & 2 deletions core/meta/src/TDataMember.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ but also in Dump() and Inspect() methods and by the THtml class.

#include "TDataMember.h"

#include "Strlen.h"
#include "strtok.h"
#include "strlcpy.h"
#include "TBuffer.h"
Expand All @@ -160,7 +159,7 @@ but also in Dump() and Inspect() methods and by the THtml class.
#include <cassert>
#include <cctype>
#include <cstdlib>

#include <cstring>


////////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions core/meta/src/TFunction.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ functions (accessible via TROOT::GetListOfGlobalFunctions()).
#include "TList.h"
#include "TROOT.h"
#include "TInterpreter.h"
#include "Strlen.h"

#include <iostream>
#include "TVirtualMutex.h"

#include <cstring>
#include <iostream>

////////////////////////////////////////////////////////////////////////////////
/// Default TFunction ctor. TFunctions are constructed in TROOT via
Expand Down
3 changes: 1 addition & 2 deletions core/meta/src/TMethod.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@
#include "TMethodArg.h"
#include "TMethodCall.h"
#include "TInterpreter.h"
#include "Strlen.h"
#include "TDataMember.h"


#include <cstring>

////////////////////////////////////////////////////////////////////////////////
/// Default TMethod ctor. TMethods are constructed in TClass.
Expand Down
3 changes: 2 additions & 1 deletion core/meta/src/TMethodArg.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@

#include "TMethodArg.h"
#include "TInterpreter.h"
#include "Strlen.h"
#include "TMethod.h"
#include "TMethodCall.h"
#include "TDataMember.h"

#include <cstring>

/** \class TMethodArg
Each ROOT method (see TMethod) has a linked list of its arguments.
This class describes one single method argument.
Expand Down
2 changes: 1 addition & 1 deletion core/meta/src/TMethodCall.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ occur if parameters involve temporary object construction.
#include "TMethod.h"
#include "TClass.h"
#include "TROOT.h"
#include "Strlen.h"
#include "TVirtualMutex.h"
#include "TError.h"

#include <cstring>

////////////////////////////////////////////////////////////////////////////////
/// Default TMethodCall ctor. Use Init() to initialize the method call
Expand Down
3 changes: 1 addition & 2 deletions graf2d/gpad/src/TAttCanvas.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/

#include "Strlen.h"
#include "TAttCanvas.h"

#include <cstring>

/** \class TAttCanvas
\ingroup gpad
Expand Down
4 changes: 2 additions & 2 deletions graf2d/graf/src/TWbox.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/

#include <iostream>
#include "TROOT.h"
#include "Strlen.h"
#include "TWbox.h"
#include "TColor.h"
#include "TStyle.h"
#include "TVirtualPad.h"
#include "TVirtualPadPainter.h"

#include <iostream>
#include <cstring>

/** \class TWbox
\ingroup BasicGraphics
Expand Down
5 changes: 3 additions & 2 deletions io/io/src/TDirectoryFile.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ End_Macro
The structure of a file is shown in TFile::TFile
*/

#include <iostream>
#include "Strlen.h"
#include "strlcpy.h"
#include "TDirectoryFile.h"
#include "TFile.h"
Expand All @@ -49,6 +47,9 @@ End_Macro
#include "TVirtualMutex.h"
#include "TEmulatedCollectionProxy.h"

#include <iostream>
#include <cstring>

const UInt_t kIsBigFile = BIT(16);
const Int_t kMaxLen = 2048;

Expand Down
3 changes: 2 additions & 1 deletion io/io/src/TFile.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ The structure of a directory is shown in TDirectoryFile::TDirectoryFile
#include "Bytes.h"
#include "Compression.h"
#include "RConfigure.h"
#include "Strlen.h"
#include "strlcpy.h"
#include "snprintf.h"
#include "TArrayC.h"
Expand Down Expand Up @@ -172,8 +171,10 @@ The structure of a directory is shown in TDirectoryFile::TDirectoryFile
#include "TGlobal.h"
#include "ROOT/RConcurrentHashColl.hxx"
#include "ROOT/InternalIOUtils.hxx"

#include <memory>
#include <cinttypes>
#include <cstring>

#ifdef R__FBSD
#include <sys/extattr.h>
Expand Down
Loading