Skip to content
Merged
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
2 changes: 1 addition & 1 deletion roottest/root/io/ForeignCArray/LinkDef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/abstractclass/LinkDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/abstractclass/abstractInVector.C
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bool abstractInVector() {
return false;
}

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class SimuModule+;
#pragma link C++ class Module+;
#pragma link C++ class SimuModuleFactory+;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/alloc/customLoader.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "customConstructor.C"
#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#include "linkdef.h"
#endif
2 changes: 1 addition & 1 deletion roottest/root/io/arrayobject/fooLinkdef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/arrayobject/main.C
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int run() {

}

#ifndef __CINT__
#ifndef __CLING__
int
main()
{
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/bigevent/EventLinkDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

//#ppragma link off all globals;
//#ppragma link off all classes;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/bill01/LinkDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/bill02/LinkDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
2 changes: 0 additions & 2 deletions roottest/root/io/buffer/runownership.C
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "TString.h"
#include <exception>

#ifndef __CINT__
class myexception
{
public:
Expand All @@ -15,7 +14,6 @@ class myexception
return fMsg.Data();
}
};
#endif

void NonDefaultErrorHandler(Int_t level, Bool_t abort_bool, const char *location, const char *msg)
{
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/clones/RtObjLinkDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/constmembers/LinkDef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//LinkDef.h
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/constmembers/oldLinkDef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//LinkDef.h
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class DataVectorConcrete {
typedef DataVectorTmplt<Content> DataVector;


#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class DataVectorTmplt<Content>+;
#pragma link C++ class vector<Content>+;
#pragma link C++ class DataVector+;
Expand Down
4 changes: 2 additions & 2 deletions roottest/root/io/customStreamer/header.C
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include "header.h"
#include "Rtypes.h"

#ifndef __CINT__
#ifndef __CLING__
RootClassVersion(Hard2Stream,2);
#endif

#ifdef __CINT__
#ifdef __CLING__
#pragma link C++ class Hard2Stream-;
#endif

Expand Down
2 changes: 0 additions & 2 deletions roottest/root/io/customStreamer/header.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
#include "TClass.h"
class Hard2Stream {
private:
#ifndef __CINT__
double val;
#endif
public:
Hard2Stream() : val(-1) {};
Hard2Stream(double v) : val(v) {};
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/00/DataModelV1.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Container {
};


#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ options=version(8) class ACache+;
#pragma link C++ options=version(2) class Container+;
#pragma link C++ class Unversioned+;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/00/DataModelV2.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Container {
ACache a;
};

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ options=version(9) class ACache+;
#pragma read sourceClass="ACache" targetClass="ACache" source="int x; int y; char c" version="[8]" target="z" include="TMath.h,math.h" \
code="{ z = onfile.x*1000 + onfile.y*10; }"
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/00/DataModelV3.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Container {
};


#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ options=version(2) class Axis+;
#pragma read sourceClass="ACache" targetClass="Axis" source="int x; int y;" version="[8]" target="z" \
code="{ z = onfile.x*1000 + onfile.y*10; }"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
Expand Down
6 changes: 3 additions & 3 deletions roottest/root/io/datamodelevolution/cms-00/classloader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Author : M.Frank
//====================================================================

#ifndef __CINT__
#ifndef __CLING__
#include "Cintex/Cintex.h"
#endif
#include "Reflex/Reflex.h"
Expand All @@ -21,7 +21,7 @@
#include "TDataMember.h"

#include "TCollectionProxyFactory.h"
#ifndef __CINT__
#ifndef __CLING__
#include "Api.h"
#endif

Expand All @@ -45,7 +45,7 @@ void patchClass(TClass* cl, TypeH& ) {
#include <utility>
#include <vector>

#ifndef __CINT__
#ifndef __CLING__
namespace ROOT { namespace Cintex {
bool IsSTLinternal(const std::string& nam);
bool IsSTL(const std::string& nam);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Flow {
ClassDefNV(Flow,4);
};

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma read sourceClass="Flow" targetClass="Flow" version="[2]" source="float charged" target="sumCharged" code="{ sumCharged = onfile.charged; }"
#pragma read sourceClass="Flow" targetClass="Flow" version="[2]" source="float neutral" target="sumNeutral" code="{ sumNeutral = onfile.neutral; }"
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Flow {
ClassDefNV(Flow,3);
};

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma read sourceClass="Flow" targetClass="Flow" version="[2]" source="float charged" target="sumCharged" code="{ sumCharged = onfile.charged; }"
#endif

Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/common/Demangler.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <typeinfo>
#include <string>

#if !defined(_WIN32) && !defined(__CINT__)
#if !defined(_WIN32)
#include <cxxabi.h>
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/misc/OrderClass_v1.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class MyClass : public TObject
ClassDefOverride(MyClass, 1)
};

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class MyClass+;
#endif

Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/misc/OrderClass_v2.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MyClass : public TObject
ClassDefOverride(MyClass, 2)
};

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class MyClass+;

#pragma read sourceClass="MyClass" version="[1]" source="int ver" \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class MyClass+;
#pragma read sourceClass="MyClass" targetClass="MyClass" source="" target="fCaches" code="{ newObj->fCaches[0] = 1; }"
#pragma read sourceClass="MyClass" targetClass="MyClass" source="float fOldCaches[3]" target="fCaches" code="{ newObj->fCaches[0] = onfile.fOldCaches[0]; }"
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/stl/libcond.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "Riostream.h"
#include <map>
#include "HepGeom__Transform3D.h"
#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class pair<string,HepGeom::Transform3D >+;
+ #pragma link C++ class Eigen+;
+ #pragma link C++ class pair<string,Eigen>+;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Eigen {};
#include "Riostream.h"
#include <map>
#include "HepGeom__Transform3D.h"
#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class pair<string,HepGeom::Transform3D >+;
#pragma link C++ class Eigen+;
#pragma link C++ class pair<string,Eigen>+;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef __CINT__
#ifdef __CLING__

#pragma link C++ class DetCondKeyTrans+;
#pragma link C++ class HepGeom::Transform3D+;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/stl/readFile.C
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public:
typedef Track Values;
#endif

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma read sourceClass="Values" targetClass="Track";
#pragma link C++ class vector<Track>+;
#pragma read sourceClass="Holder" targetClass="listHolder";
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/stl/writeFile.C
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void Print(const std::map<key,value> &fMap) {
}
}

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma read sourceClass="Holder" targetClass="listHolder";
#endif

Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/double32/other.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "runtemplate32.h"

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class MyVector<double>+;
#endif

2 changes: 1 addition & 1 deletion roottest/root/io/double32/runtemplate32.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "runtemplate32.h"
#include "longExample.h"

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class WithDouble+;
#pragma link C++ class MyVector<Double32_t>+;
#pragma link C++ class MyVector<float>+;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/emulated/abstract.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Abstract {
virtual void Action() = 0;
};

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class Abstract+;
#endif

Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/emulated/classes.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class Holder {
ClassDef(Holder,2);
};

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class vector<TopLevel*>;
#endif

Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/emulated/marker.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Marker
ClassDef(Marker,2);
};

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class Marker+;
#endif

Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/emulated/write.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if defined(__CLING__) && !defined(__MAKECINT__) && !defined(ClingWorkAroundMissingSmartInclude)
#if defined(__CLING__) && !defined(__ROOTCLING__) && !defined(ClingWorkAroundMissingSmartInclude)
#include "classes.h+"
#else
#include "classes.h"
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/evolution/ClassConvNew.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define VERSION 2
#include "ClassConv.h"
#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ namespace MyLib;
#pragma link C++ class MyLib::Inside+;
#pragma link C++ class TopLevel+;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/evolution/ClassConvOld.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define VERSION 1
#include "ClassConv.h"
#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class Inside+;
#pragma link C++ class TopLevel+;
#pragma link C++ class Typedefed+;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/evolution/ClassConvOther.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define VERSION 3
#include "ClassConv.h"
#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ namespace OtherLib;
#pragma link C++ class OtherLib::Inside+;
#pragma link C++ class TopLevel+;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/evolution/MyClass.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define VERSION 2
#include "MyClass.h"
#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class MyClass+;
#endif
2 changes: 1 addition & 1 deletion roottest/root/io/evolution/array/MyClass.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ void MyClass::SetArray(Int_t* array){
}
#endif

#ifdef __MAKECINT__
#ifdef __ROOTCLING__
#pragma link C++ class MyClass+;
#endif
Loading
Loading