Skip to content

Commit 8a9f477

Browse files
authored
[root6] Modify StRoot/StBFChain/BFC.C for ROOT6/cling (star-bnl#423)
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
1 parent fd02555 commit 8a9f477

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

StRoot/StBFChain/BFC.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "TROOT.h"
33
#endif
44
#include "Bfc.h"
5-
#if !defined(__CINT__)
5+
#if !defined(__CINT__) && !defined(__CLING__)
66
TableImpl(Bfc);
77
#endif
88
#include "BigFullChain.h"

0 commit comments

Comments
 (0)