Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[root6] Modify StRoot/StBFChain/BFC.C for ROOT6/cling #423

Merged
merged 2 commits into from
Oct 28, 2022

Conversation

klendathu2k
Copy link
Contributor

StRoot/StBFChain/BFC.C is loaded and executed through the ROOT interpreter in StBFChain::Setup.

ROOT 6 / cling complains about redefinitions when we run the bfc macro.

Minimal solution is to protect the table implementation for "Bfc" from being compiled by the cling interpreter (just like it is protected from compilation by the CINT interpreter).

Likely solves the same problem which Victor was addressing on the Star6 branch.
https://github.com/star-bnl/star-sw/blame/Star6/StRoot/StBFChain/BFC.C#L6

… several

things being redefined.  It points to this BFC.C macro in StBFChain/.

BFC.C is loaded and executed through the ROOT interpreter in StBFChain::Setup.

Minimal solution is to protect the table implementation for "Bfc" from being
compiled by the cling interpreter (just like it is protected from compilation
by the CINT interpreter).

Likely solves the same problem which Victor was addressing on the Star6
branch.
https://github.com/star-bnl/star-sw/blame/Star6/StRoot/StBFChain/BFC.C#L6
Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I've seen this issue, but seems okay

@veprbl veprbl merged commit 8a9f477 into star-bnl:main Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants