Skip to content

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

Merged
veprbl merged 2 commits intostar-bnl:mainfrom
klendathu2k:star-wrap-bfc-table-from-cling
Oct 28, 2022
Merged

[root6] Modify StRoot/StBFChain/BFC.C for ROOT6/cling#423
veprbl merged 2 commits intostar-bnl:mainfrom
klendathu2k:star-wrap-bfc-table-from-cling

Conversation

@klendathu2k
Copy link
Copy Markdown
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
Copy Markdown
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