Long list of errors after attempting loading macros with restRoot

REST version : v2.3.0
REST commit : cd5c88df

Hi,

I have recently installed the latest version of REST; prior to that, I reinstalled root and garfield6. Afterward, I discovered that I receive a lot of errors if I try to load macros with restRoot --m 1 command:

restRoot --m 1 error output

In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:916:40: error: no member named ‘_M_finish’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
{ return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:168:60: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::size’ requested here
int GetNumberOfMetadataStructures() { return fMetadata.size(); }
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:213:70: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::operator[]’ requested here
for (unsigned int i = 0; i < fMetadata.size(); i++) fMetadata[i]->PrintMetadata();
^
In file included from input_line_277:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/macros/REST_GenerateGasFile.C:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorGas.h:37:
In file included from /local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorDriftVolume.h:41:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestMetadata.h:38:
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestTools.h:95:5: warning: ambiguous expansion of macro ‘ClassDef’ [-Wambiguous-macro]
ClassDef(TRestTools, 1);
^
/local/home/al264242/Documents/Soft/root-6.20.00/install/include/Rtypes.h:326:9: note: expanding this definition of ‘ClassDef’
#define ClassDef(name,id)
^
input_line_94:22:9: note: other definition of ‘ClassDef’
#define ClassDef(name, id)
^
In file included from input_line_277:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/macros/REST_GenerateGasFile.C:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorGas.h:37:
In file included from /local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorDriftVolume.h:41:
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestMetadata.h:281:5: warning: ambiguous expansion of macro ‘ClassDef’ [-Wambiguous-macro]
ClassDef(TRestMetadata, 7);
^
/local/home/al264242/Documents/Soft/root-6.20.00/install/include/Rtypes.h:326:9: note: expanding this definition of ‘ClassDef’
#define ClassDef(name,id)
^
input_line_94:22:9: note: other definition of ‘ClassDef’
#define ClassDef(name, id)
^
In file included from input_line_277:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/macros/REST_GenerateGasFile.C:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorGas.h:37:
/local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorDriftVolume.h:99:5: warning: ambiguous expansion of macro ‘ClassDef’ [-Wambiguous-macro]
ClassDef(TRestDetectorDriftVolume, 1); // Gas Parameters
^
/local/home/al264242/Documents/Soft/root-6.20.00/install/include/Rtypes.h:326:9: note: expanding this definition of ‘ClassDef’
#define ClassDef(name,id)
^
input_line_94:22:9: note: other definition of ‘ClassDef’
#define ClassDef(name, id)
^
In file included from input_line_277:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/macros/REST_GenerateGasFile.C:1:
/local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorGas.h:251:5: warning: ambiguous expansion of macro ‘ClassDef’ [-Wambiguous-macro]
ClassDef(TRestDetectorGas, 3); // Gas Parameters
^
/local/home/al264242/Documents/Soft/root-6.20.00/install/include/Rtypes.h:326:9: note: expanding this definition of ‘ClassDef’
#define ClassDef(name,id)
^
input_line_94:22:9: note: other definition of ‘ClassDef’
#define ClassDef(name, id)
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:90:28: note: in instantiation of member function ‘std::vector<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::operator[]’ requested here
return fObservables[n];
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:17: error: cannot cast from type ‘const
__gnu_cxx::__alloc_traits<std::allocator<REST_Reflection::TRestReflector>,
REST_Reflection::TRestReflector>::value_type’ (aka ‘const
REST_Reflection::TRestReflector’) to pointer type ‘int *’
return (T)fObservables[n];
^~~~~~~~~~~~~~~~~~~
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:108:51: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “int”) return GetObservableValue(n);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1061:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:33: note: in instantiation of member function ‘std::vector<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::operator[]’ requested here
return (T)fObservables[n];
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:108:51: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “int”) return GetObservableValue(n);
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:17: error: cannot cast from type ‘const
__gnu_cxx::__alloc_traits<std::allocator<REST_Reflection::TRestReflector>,
REST_Reflection::TRestReflector>::value_type’ (aka ‘const
REST_Reflection::TRestReflector’) to pointer type ‘double *’
return (T)fObservables[n];
^~~~~~~~~~~~~~~~~~~
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:109:54: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “double”) return GetObservableValue(n);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1186:20: error: no member named ‘_M_finish’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:114:23: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::push_back’ requested here
fMetadata.push_back(meta);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:916:40: error: no member named ‘_M_finish’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
{ return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:168:60: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::size’ requested here
int GetNumberOfMetadataStructures() { return fMetadata.size(); }
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:213:70: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::operator[]’ requested here
for (unsigned int i = 0; i < fMetadata.size(); i++) fMetadata[i]->PrintMetadata();
^
In file included from input_line_279:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/macros/REST_ValidateGeometry.C:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestTask.h:17:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:26:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestEvent.h:33:
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestTools.h:95:5: warning: ambiguous expansion of macro ‘ClassDef’ [-Wambiguous-macro]
ClassDef(TRestTools, 1);
^
/local/home/al264242/Documents/Soft/root-6.20.00/install/include/Rtypes.h:326:9: note: expanding this definition of ‘ClassDef’
#define ClassDef(name,id)
^
input_line_94:22:9: note: other definition of ‘ClassDef’
#define ClassDef(name, id)
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:90:28: note: in instantiation of member function ‘std::vector<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::operator[]’ requested here
return fObservables[n];
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:17: error: cannot cast from type ‘const
__gnu_cxx::__alloc_traits<std::allocator<REST_Reflection::TRestReflector>,
REST_Reflection::TRestReflector>::value_type’ (aka ‘const
REST_Reflection::TRestReflector’) to pointer type ‘int *’
return (T)fObservables[n];
^~~~~~~~~~~~~~~~~~~
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:108:51: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “int”) return GetObservableValue(n);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1061:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:33: note: in instantiation of member function ‘std::vector<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::operator[]’ requested here
return (T)fObservables[n];
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:108:51: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “int”) return GetObservableValue(n);
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:17: error: cannot cast from type ‘const
__gnu_cxx::__alloc_traits<std::allocator<REST_Reflection::TRestReflector>,
REST_Reflection::TRestReflector>::value_type’ (aka ‘const
REST_Reflection::TRestReflector’) to pointer type ‘double *’
return (T)fObservables[n];
^~~~~~~~~~~~~~~~~~~
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:109:54: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “double”) return GetObservableValue(n);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1186:20: error: no member named ‘_M_finish’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:114:23: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::push_back’ requested here
fMetadata.push_back(meta);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:916:40: error: no member named ‘_M_finish’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
{ return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:168:60: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::size’ requested here
int GetNumberOfMetadataStructures() { return fMetadata.size(); }
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:213:70: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::operator[]’ requested here
for (unsigned int i = 0; i < fMetadata.size(); i++) fMetadata[i]->PrintMetadata();
^
In file included from input_line_281:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/macros/REST_ViewEvents.C:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestBrowser.h:19:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestEventViewer.h:30:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestEvent.h:33:
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestTools.h:95:5: warning: ambiguous expansion of macro ‘ClassDef’ [-Wambiguous-macro]
ClassDef(TRestTools, 1);
^
/local/home/al264242/Documents/Soft/root-6.20.00/install/include/Rtypes.h:326:9: note: expanding this definition of ‘ClassDef’
#define ClassDef(name,id)
^
input_line_94:22:9: note: other definition of ‘ClassDef’
#define ClassDef(name, id)
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:90:28: note: in instantiation of member function ‘std::vector<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::operator[]’ requested here
return fObservables[n];
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:17: error: cannot cast from type ‘const
__gnu_cxx::__alloc_traits<std::allocator<REST_Reflection::TRestReflector>,
REST_Reflection::TRestReflector>::value_type’ (aka ‘const
REST_Reflection::TRestReflector’) to pointer type ‘int *’
return (T)fObservables[n];
^~~~~~~~~~~~~~~~~~~
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:108:51: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “int”) return GetObservableValue(n);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1061:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:33: note: in instantiation of member function ‘std::vector<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::operator[]’ requested here
return (T)fObservables[n];
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:108:51: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “int”) return GetObservableValue(n);
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:17: error: cannot cast from type ‘const
__gnu_cxx::__alloc_traits<std::allocator<REST_Reflection::TRestReflector>,
REST_Reflection::TRestReflector>::value_type’ (aka ‘const
REST_Reflection::TRestReflector’) to pointer type ‘double *’
return (T)fObservables[n];
^~~~~~~~~~~~~~~~~~~
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:109:54: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “double”) return GetObservableValue(n);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1186:20: error: no member named ‘_M_finish’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:114:23: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::push_back’ requested here
fMetadata.push_back(meta);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:916:40: error: no member named ‘_M_finish’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
{ return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:168:60: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::size’ requested here
int GetNumberOfMetadataStructures() { return fMetadata.size(); }
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<TRestMetadata *,
std::allocator<TRestMetadata *> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestRun.h:213:70: note: in instantiation of member function ‘std::vector<TRestMetadata *,
std::allocator<TRestMetadata *> >::operator[]’ requested here
for (unsigned int i = 0; i < fMetadata.size(); i++) fMetadata[i]->PrintMetadata();
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<TRestDetectorSignal,
std::allocator >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorSignalEvent.h:55:63: note: in instantiation of member function ‘std::vector<TRestDetectorSignal,
std::allocator >::operator[]’ requested here
for (int n = 0; n < GetNumberOfSignals(); n++) fSignal[n].Sort();
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:916:40: error: no member named ‘_M_finish’ in ‘std::_Vector_base<TRestDetectorSignal,
std::allocator >::_Vector_impl’
{ return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/source/libraries/detector/inc/TRestDetectorSignalEvent.h:64:49: note: in instantiation of member function ‘std::vector<TRestDetectorSignal,
std::allocator >::size’ requested here
Int_t GetNumberOfSignals() { return fSignal.size(); }
^
In file included from input_line_283:1:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/macros/REST_PrintTrees.C:3:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestTask.h:17:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:26:
In file included from /local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestEvent.h:33:
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestTools.h:95:5: warning: ambiguous expansion of macro ‘ClassDef’ [-Wambiguous-macro]
ClassDef(TRestTools, 1);
^
/local/home/al264242/Documents/Soft/root-6.20.00/install/include/Rtypes.h:326:9: note: expanding this definition of ‘ClassDef’
#define ClassDef(name,id)
^
input_line_94:22:9: note: other definition of ‘ClassDef’
#define ClassDef(name, id)
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1043:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:90:28: note: in instantiation of member function ‘std::vector<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::operator[]’ requested here
return fObservables[n];
^
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:118:17: error: cannot cast from type ‘const
__gnu_cxx::__alloc_traits<std::allocator<REST_Reflection::TRestReflector>,
REST_Reflection::TRestReflector>::value_type’ (aka ‘const
REST_Reflection::TRestReflector’) to pointer type ‘int *’
return (T)fObservables[n];
^~~~~~~~~~~~~~~~~~~
/local/home/al264242/Documents/Soft/rest-framework/install/master/include/TRestAnalysisTree.h:108:51: note: in instantiation of function template specialization
‘TRestAnalysisTree::GetObservableValue’ requested here
if (GetObservableType(n) == “int”) return GetObservableValue(n);
^
In module ‘std’ imported from input_line_1:1:
/usr/include/c++/9/bits/stl_vector.h:1061:25: error: no member named ‘_M_start’ in ‘std::_Vector_base<REST_Reflection::TRestReflector,
std::allocator<REST_Reflection::TRestReflector> >::_Vector_impl’
return *(this->_M_impl._M_start + __n);
~~~~~~~~~~~~~ ^

Root and Garfield are working fine by themselves.

Could it be possible that the problem is in the compiler itself?

Thanks for pointing that out!

I have created an issue to track this problem

Hi @jgalan, thank you. The issue is now closed.