Compilation Errors with ROOT V6
BDSIM won't compile properly (strictly robdsim part) with root version 6. I propose we set a maximum version in the configuration so the user knows and it prevents this.
Until we have root 6 support, this will protect us.
Comments (4)
-
-
reporter We now have build / configuration protection against root 6 in the latest develop build soon to be v0.92 which will prevent this from happening in future.
Eventually, it'd be good to support (introduce build options for..) root v6 as I believe what we use in root isn't specific to either version but just the dictionary generation.
-
The problem was that rootcint6 does not define the preprocessor
__MAKECINT__
that we rely on in rootcint5. I couldn't find the equivalent variable for rootcint6 (not well documented). I added this preprocessor by hand now in cmake. Perhaps not so elegant, but works for the moment. -
- changed status to resolved
tests seem to run okay as well. closing report
- Log in to comment
I can reproduce and compiler error is:
Seems something is different with the preprocessor flags in root6. Needs to be checked better. For now configuration protection has been added to robdsim.