Submitted by Jason (not verified) on Fri, 17/02/2012 - 02:42.
A quick patch suggestion:
Using what seemed to be the latest cling (svn 43039), and the llvm/clang svn r150068 named in LastKnownGoodLLVMSVNRevision.txt, I had to make the following change to the file cint/cling/lib/Interpreter/DynamicLookup.cpp in order to get compilation:
Regards,
Jason
svn diff
=====================
--- DynamicLookup.cpp (revision 43039)
+++ DynamicLookup.cpp (working copy)
@@ -416,7 +416,7 @@
// resolution of the constructors and then initializes the new
// variable with it
ExprResult InitExprResult
- = m_Sema->ActOnParenListExpr(m_NoSLoc,
+ = m_Sema->ActOnParenOrParenListExpr(m_NoSLoc,
m_NoELoc,
move_arg(Inits));
m_Sema->AddInitializerToDecl(HandlerInstance,
svn info
Path: .
URL: http://root.cern.ch/svn/root/trunk/cint/cling/lib/Interpreter
Repository Root: http://root.cern.ch/svn/root
Repository UUID: 27541ba8-7e3a-0410-8455-c3a389f83636
Revision: 43039
Node Kind: directory
Schedule: normal
Last Changed Author: vvassilev
Last Changed Rev: 42986
Last Changed Date: 2012-02-13 13:20:45 -0600 (Mon, 13 Feb 2012)
small adjustment needed to compile DynamicLookup.cpp
Regards,
Jason
svn diff ===================== --- DynamicLookup.cpp (revision 43039) +++ DynamicLookup.cpp (working copy) @@ -416,7 +416,7 @@ // resolution of the constructors and then initializes the new // variable with it ExprResult InitExprResult - = m_Sema->ActOnParenListExpr(m_NoSLoc, + = m_Sema->ActOnParenOrParenListExpr(m_NoSLoc, m_NoELoc, move_arg(Inits)); m_Sema->AddInitializerToDecl(HandlerInstance, svn info Path: . URL: http://root.cern.ch/svn/root/trunk/cint/cling/lib/Interpreter Repository Root: http://root.cern.ch/svn/root Repository UUID: 27541ba8-7e3a-0410-8455-c3a389f83636 Revision: 43039 Node Kind: directory Schedule: normal Last Changed Author: vvassilev Last Changed Rev: 42986 Last Changed Date: 2012-02-13 13:20:45 -0600 (Mon, 13 Feb 2012)