Everyone wants these symbols; for now put the symbol request through static init into UserInterface

git-svn-id: http://root.cern.ch/svn/root/trunk@46982 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
Axel Naumann 2012-11-01 16:51:59 +00:00
parent ee3b83e48a
commit b4a8dcde49

View File

@ -31,4 +31,11 @@ void libcling__symbol_requester(const clang::FunctionDecl& Decl,
DEI.getExpr();
cling::InterpreterCallbacks cb(0);
}
static struct ForceSymbolsAsUsed {
typedef void (*SRType)(const clang::FunctionDecl& Decl,
const cling::Interpreter& Interp);
ForceSymbolsAsUsed(): mPtr(libcling__symbol_requester) {}
SRType mPtr;
} sForceSymbolsAsUsed;
}