https://github.com/root-project/root
Revision c5c3a158ffddbc75e9f01e31f9314019414ebf40 authored by Philippe Canal on 06 May 2015, 19:27:17 UTC, committed by Philippe Canal on 06 May 2015, 19:28:23 UTC
The underlying problem is still there and shown below. The cause is that when GetNormalizedName is run with autoloading disabled, it can lead to the premature instantiation of partially specialized templates. .x /local2/pcanal/root_working/test/2015-04-attila/root6DVDictLoading/RootCore/scripts/load_packages.C TFile *_file0 = TFile::Open("../AOD.01597980._000098.pool.root.1") std::string normalizedName; int oldAutoloadVal = gInterpreter->SetClassAutoloading(false); TClassEdit::GetNormalizedName(normalizedName, "SG::AuxTypeVectorFactory<ElementLink<DataVector<xAOD::Photon_v1> > >") gInterpreter->SetClassAutoloading(oldAutoloadVal) TClass::GetClass("ElementLink<DataVector<xAOD::Photon_v1> >")->GetClassInfo() ... In file included from input_line_143:60: In file included from .../RootCore/include/xAODEgamma/PhotonContainer.h:8: /local2/pcanal/root_working/test/2015-04-attila/root6DVDictLoading/RootCore/include/xAODEgamma/versions/PhotonContainer_v1.h:14:1: error: explicit specialization of 'DataVectorBase<xAOD::Photon_v1>' after instantiation DATAVECTOR_BASE( xAOD::Photon_v1, xAOD::Egamma_v1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .../RootCore/include/AthContainers/DataVector.h:612:43: note: expanded from macro 'DATAVECTOR_BASE' #define DATAVECTOR_BASE(T, BASE) \ ^ .../RootCore/include/AthContainers/DataVector.h:622:20: note: expanded from macro '\ DATAVECTOR_BASE_FWD' template <> struct DataVectorBase<T> \ ^~~~~~~~~~~~~~~~~ .../RootCore/include/AthContainers/DataVector.h:718:42: note: implicit instantiation first required here template <class T, class BASE = typename DataVectorBase<T>::Base> ^ Error in <TInterpreter::AutoParse>: Error parsing payload code for class DataVector<xAOD::Photon_v1> with content:
1 parent 09b7416
Tip revision: c5c3a158ffddbc75e9f01e31f9314019414ebf40 authored by Philippe Canal on 06 May 2015, 19:27:17 UTC
Alleviate the symptoms of ROOT-7181.
Alleviate the symptoms of ROOT-7181.
Tip revision: c5c3a15
File | Mode | Size |
---|---|---|
README | ||
bindings | ||
build | ||
cmake | ||
config | ||
core | ||
doc | ||
documentation | ||
etc | ||
fonts | ||
geom | ||
graf2d | ||
graf3d | ||
gui | ||
hist | ||
html | ||
icons | ||
interpreter | ||
io | ||
macros | ||
main | ||
man | ||
math | ||
misc | ||
montecarlo | ||
net | ||
proof | ||
roofit | ||
rootx | ||
sql | ||
test | ||
tmva | ||
tree | ||
tutorials | ||
.gitattributes | -rw-r--r-- | 426 bytes |
.gitignore | -rw-r--r-- | 10.7 KB |
CMakeLists.txt | -rw-r--r-- | 10.9 KB |
LICENSE | -rw-r--r-- | 25.9 KB |
Makefile | -rw-r--r-- | 50.2 KB |
README.md | -rw-r--r-- | 1.6 KB |
configure | -rwxr-xr-x | 270.9 KB |
Computing file changes ...