I compiled the llvm/clang r165095 svn download to completion. So I then ran the patches for cling.
It was the first time ever that the patches just completed. I started an optimized compile of llvm/clang with cling in /tools since the previous compilation ended with the 10 times faster if not debug.
This morning I had these errors from the attempted compilation of cling:
llvm[4]: Compiling MetaSema.cpp for Release+Asserts build
llvm[4]: Building Release+Asserts Archive Library libclingMetaProcessor.a
make[4]: Leaving directory /home/dbrunk/llvm/tools/cling/lib/MetaProcessor' make[4]: Entering directory
/home/dbrunk/llvm/tools/cling/lib/UserInterface’
Makefile:31: /home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput/Makefile.d: No such file or directory
svn: E155036: Please see the ‘svn upgrade’ command
svn: E155036: Working copy ‘/home/dbrunk/llvm/tools/cling/lib/UserInterface’ is too old (format 10, created by Subversion 1.6)
svn co /home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput
svn: E205000: Try ‘svn help’ for more info
svn: E205000: Error parsing arguments
make[4]: *** [/home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput/Makefile.d] Error 1
make[4]: Leaving directory /home/dbrunk/llvm/tools/cling/lib/UserInterface' make[3]: *** [UserInterface/.makeall] Error 2 make[3]: Leaving directory
/home/dbrunk/llvm/tools/cling/lib’
make[2]: *** [all] Error 1
make[2]: Leaving directory /home/dbrunk/llvm/tools/cling' make[1]: *** [all] Error 1 make[1]: Leaving directory
/home/dbrunk/llvm/tools’
make: *** [all] Error 1
First: is the a problem with my svn or your svn?
Second: there is not a Makefile.d in there.
Will cling only compile with a debug llvm/clang?
So I checked in the directory and here seems to be the problem:
[root@panda-f18-v7hl UserInterface]# more Makefile
##===- cling/lib/UserInterface/Makefile---------------------- Makefile --===##
The LLVM Compiler Infrastructure
This file is distributed under the University of Illinois Open Source
License. See LICENSE.TXT for details.
##===----------------------------------------------------------------------===##
This implements the a C++ interpreter user frontend.
##===----------------------------------------------------------------------===##
CLING_LEVEL = …/…
DIRS = textinput
LIBRARYNAME := clingUserInterface
BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
CPPFLAGS += -I$(PROJ_SRC_DIR)/…/…/include -I$(PROJ_SRC_DIR)/…/…/…/clang/include
-I$(PROJ_SRC_DIR)/…/…/…/clang/lib -I$(PROJ_OBJ_DIR)/…/…/include -I$(PROJ_OBJ_DIR)/…/…/…/clang/include
include $(CLING_LEVEL)/Makefile
$(PROJ_SRC_DIR)/textinput/Makefile.d:
svn co $(shell svn info $(PROJ_SRC_DIR) | grep ^URL: | sed ‘s,^URL: (.*)interpreter/cling/lib/UserInterface,\1/core/
textinput/src/textinput,’) $(PROJ_SRC_DIR)/textinput
touch $@
trigger checkput before building
include $(PROJ_SRC_DIR)/textinput/Makefile.d
So since llvm/clang installed into /usr/local as expected, I tried to compile ROOT from source with
–build-debug --enable-c++11 --enable-cling --with-llvm-config=/usr/local/bin.
It stopped with this error:
me/dbrunk/root/core/utils/src/rootcint.cxx
g++ -g -Wall -fsigned-char -fPIC -Iinclude -pthread -o core/utils/src/rootcint.o -c /home/dbrunk/root/core/utils/src/rootcint.cxx
/home/dbrunk/root/core/utils/src/rootcint.cxx:387:6: note: the mangling of ‘va_list’ has changed in GCC 4.4
bin/rmkdepend -R -fcore/utils/src/RStl.d -Y -w 1000 – -Wall -fsigned-char -fPIC -Iinclude -pthread -D__cplusplus – /home/dbrunk/root/core/utils/src/RStl.cxx
g++ -g -Wall -fsigned-char -fPIC -Iinclude -pthread -o core/utils/src/RStl.o -c /home/dbrunk/root/core/utils/src/RStl.cxx
g++ -g -o bin/rootcint core/utils/src/rootcint.o core/utils/src/RStl.o core/metautils/src/RConversionRuleParser.o core/metautils/src/TClassEdit.o
core/clib/src/snprintf.o core/clib/src/strlcpy.o core/clib/src/strlcat.o -Llib -lCint -lm -ldl -rdynamic
cp /home/dbrunk/root/core/utils/src/rootcling.cxx core/utils/src/rootcling_tmp.cxx
bin/rmkdepend -R -fcore/utils/src/rootcling_tmp.d -Y -w 1000 – -Wall -fsigned-char -fPIC -Iinclude -pthread -UR__HAVE_CONFIG -DROOTBUILD -I/home/dbrunk/root/core/utils/src -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -I/home/dbrunk/root/cint/cling/include ‘-DR__LLVMDIR="/usr/local"’ ‘-DR__CLANG="/usr/local/bin/clang++"’ -Wno-shadow -Wno-unused-parameter -D__cplusplus – core/utils/src/rootcling_tmp.cxx
bin/rmkdepend: error: cannot open "core/utils/src/rootcling_tmp.d"
make: *** [core/utils/src/rootcling_tmp.o] Error 1
rm core/utils/src/rootcling_tmp.cxx
I checked and rootcling_tmp.d is there. ls -l indicated that it was assigned to root, so I su password
thinking it did not have the correct permissions and got this:
[usual improper characters from a copy/paste from Linux to Windows]
make
cp /home/dbrunk/root/core/utils/src/rootcling.cxx core/utils/src/rootcling_tmp.cxx
bin/rmkdepend -R -fcore/utils/src/rootcling_tmp.d -Y -w 1000 – -Wall -fsigned-char -fPIC -Iinclude -pthread -UR__HAVE_CONFIG -DROOTBUILD -I/home/dbrunk/root/core/utils/src -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -I/home/dbrunk/root/cint/cling/include ‘-DR__LLVMDIR="/usr/local"’ ‘-DR__CLANG="/usr/local/bin/clang++"’ -Wno-shadow -Wno-unused-parameter -D__cplusplus – core/utils/src/rootcling_tmp.cxx
"core/utils/src/rootcling_tmp.cxx":27: warning: (__has_feature(cxx_rvalue_references) || defined(GXX_EXPERIMENTAL_CXX0X) || (defined(_MSC_VER) && _MSC_VER >= 1600))
^— expecting )
“core/utils/src/rootcling_tmp.cxx”:53: warning: (__has_feature(cxx_deleted_functions) || defined(GXX_EXPERIMENTAL_CXX0X))
^— expecting )
“core/utils/src/rootcling_tmp.cxx”:62: warning: (__has_feature(cxx_override_control))
^— expecting )
“core/utils/src/rootcling_tmp.cxx”:70: warning: (__has_feature(cxx_override_control))
^— expecting )
g++ -g -Wall -fsigned-char -fPIC -Iinclude -pthread -UR__HAVE_CONFIG -DROOTBUILD -I/home/dbrunk/root/core/utils/src -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -I/home/dbrunk/root/cint/cling/include ‘-DR__LLVMDIR="/usr/local"’ ‘-DR__CLANG="/usr/local/bin/clang++"’ -Wno-shadow -Wno-unused-parameter -o core/utils/src/rootcling_tmp.o -c core/utils/src/rootcling_tmp.cxx
core/utils/src/rootcling_tmp.cxx: In function ‘const clang::CXXMethodDecl* R__GetFuncWithProto(const clang::CXXRecordDecl*, const char*, const char*)’:
core/utils/src/rootcling_tmp.cxx:851:43: error: lvalue required as unary ‘&’ operand
core/utils/src/rootcling_tmp.cxx: At global scope:
core/utils/src/rootcling_tmp.cxx:1071:6: note: the mangling of ‘va_list’ has changed in GCC 4.4
core/utils/src/rootcling_tmp.cxx: In function ‘const clang::FieldDecl* R__GetDataMemberFromAll(const clang::CXXRecordDecl&, const char*)’:
core/utils/src/rootcling_tmp.cxx:4070:19: error: lvalue required as unary ‘&’ operand
core/utils/src/rootcling_tmp.cxx: In function ‘void WriteStreamer(const RScanner::AnnotatedRecordDecl&)’:
core/utils/src/rootcling_tmp.cxx:4419:59: error: invalid initialization of reference of type ‘const clang::Decl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:509:13: error: in passing argument 1 of ‘const char* R__GetComment(const clang::Decl&)’
core/utils/src/rootcling_tmp.cxx:4467:69: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:4255:13: error: in passing argument 1 of ‘const char* GrabIndex(const clang::FieldDecl&, int)’
core/utils/src/rootcling_tmp.cxx:4478:87: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4478:87: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4479:67: error: no matching function for call to ‘ShortTypeName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4479:67: note: candidates are:
core/utils/src/rootcling_tmp.cxx:4002:13: note: const char* ShortTypeName(const char*)
core/utils/src/rootcling_tmp.cxx:4002:13: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const char’
core/utils/src/rootcling_tmp.cxx:4040:13: note: std::string ShortTypeName(const clang::FieldDecl&)
core/utils/src/rootcling_tmp.cxx:4040:13: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4481:117: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4481:117: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4484:118: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4484:118: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4487:109: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4487:109: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4510:112: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4513:113: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4516:105: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4529:105: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4544:107: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4547:108: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4550:100: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4575:120: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4575:120: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4578:101: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4578:101: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4581:120: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4581:120: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4584:101: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4584:101: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4587:95: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4587:95: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4589:95: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4589:95: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4596:52: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:3365:5: error: in passing argument 1 of ‘int STLStringStreamer(const clang::FieldDecl&, int)’
core/utils/src/rootcling_tmp.cxx:4600:55: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:3139:5: error: in passing argument 1 of ‘int STLContainerStreamer(const clang::FieldDecl&, int)’
core/utils/src/rootcling_tmp.cxx:4616:95: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4616:95: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4618:57: error: no matching function for call to ‘R__IsBase(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type, const char [8])’
core/utils/src/rootcling_tmp.cxx:4618:57: note: candidates are:
core/utils/src/rootcling_tmp.cxx:942:6: note: bool R__IsBase(const clang::CXXRecordDecl*, const clang::CXXRecordDecl*)
core/utils/src/rootcling_tmp.cxx:942:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXRecordDecl’
core/utils/src/rootcling_tmp.cxx:950:6: note: bool R__IsBase(const clang::FieldDecl&, const char)
core/utils/src/rootcling_tmp.cxx:950:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4618:92: error: no matching function for call to ‘R__IsBase(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type, const char [7])’
core/utils/src/rootcling_tmp.cxx:4618:92: note: candidates are:
core/utils/src/rootcling_tmp.cxx:942:6: note: bool R__IsBase(const clang::CXXRecordDecl*, const clang::CXXRecordDecl*)
core/utils/src/rootcling_tmp.cxx:942:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXRecordDecl’
core/utils/src/rootcling_tmp.cxx:950:6: note: bool R__IsBase(const clang::FieldDecl&, const char)
core/utils/src/rootcling_tmp.cxx:950:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4621:98: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4621:98: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4631:53: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:3431:6: error: in passing argument 1 of ‘bool isPointerToPointer(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4639:102: error: no matching function for call to ‘R__GetQualifiedName(const clang::Type&, clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4639:102: note: candidates are:
core/utils/src/rootcling_tmp.cxx:533:6: note: void R__GetQualifiedName(std::string&, const clang::QualType&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:533:6: note: candidate expects 3 arguments, 2 provided
core/utils/src/rootcling_tmp.cxx:538:6: note: void R__GetQualifiedName(std::string&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:538:6: note: no known conversion for argument 1 from ‘const clang::Type’ to ‘std::string& {aka std::basic_string&}’
core/utils/src/rootcling_tmp.cxx:543:6: note: void R__GetQualifiedName(std::string&, const RScanner::AnnotatedRecordDecl&)
core/utils/src/rootcling_tmp.cxx:543:6: note: no known conversion for argument 1 from ‘const clang::Type’ to ‘std::string& {aka std::basic_string&}’
core/utils/src/rootcling_tmp.cxx:548:14: note: std::string R__GetQualifiedName(const clang::QualType&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:548:14: note: no known conversion for argument 1 from ‘const clang::Type’ to ‘const clang::QualType&’
core/utils/src/rootcling_tmp.cxx:555:14: note: std::string R__GetQualifiedName(const clang::Type&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:555:14: note: no known conversion for argument 2 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::NamedDecl&’
core/utils/src/rootcling_tmp.cxx:562:13: note: std::string R__GetQualifiedName(const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:562:13: note: candidate expects 1 argument, 2 provided
core/utils/src/rootcling_tmp.cxx:569:13: note: std::string R__GetQualifiedName(const clang::CXXBaseSpecifier&)
core/utils/src/rootcling_tmp.cxx:569:13: note: candidate expects 1 argument, 2 provided
core/utils/src/rootcling_tmp.cxx:576:13: note: std::string R__GetQualifiedName(const RScanner::AnnotatedRecordDecl&)
core/utils/src/rootcling_tmp.cxx:576:13: note: candidate expects 1 argument, 2 provided
core/utils/src/rootcling_tmp.cxx:4651:98: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4651:98: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4653:63: error: no matching function for call to ‘R__IsBase(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type, const char [8])’
core/utils/src/rootcling_tmp.cxx:4653:63: note: candidates are:
core/utils/src/rootcling_tmp.cxx:942:6: note: bool R__IsBase(const clang::CXXRecordDecl*, const clang::CXXRecordDecl*)
core/utils/src/rootcling_tmp.cxx:942:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXRecordDecl’
core/utils/src/rootcling_tmp.cxx:950:6: note: bool R__IsBase(const clang::FieldDecl&, const char)
core/utils/src/rootcling_tmp.cxx:950:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4653:98: error: no matching function for call to ‘R__IsBase(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type, const char [7])’
core/utils/src/rootcling_tmp.cxx:4653:98: note: candidates are:
core/utils/src/rootcling_tmp.cxx:942:6: note: bool R__IsBase(const clang::CXXRecordDecl*, const clang::CXXRecordDecl*)
core/utils/src/rootcling_tmp.cxx:942:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXRecordDecl’
core/utils/src/rootcling_tmp.cxx:950:6: note: bool R__IsBase(const clang::FieldDecl&, const char)
core/utils/src/rootcling_tmp.cxx:950:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4656:101: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4656:101: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4670:85: error: no matching function for call to ‘R__GetQualifiedName(std::string&, clang::QualType, clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4670:85: note: candidates are:
core/utils/src/rootcling_tmp.cxx:533:6: note: void R__GetQualifiedName(std::string&, const clang::QualType&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:533:6: note: no known conversion for argument 3 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::NamedDecl&’
core/utils/src/rootcling_tmp.cxx:538:6: note: void R__GetQualifiedName(std::string&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:538:6: note: candidate expects 2 arguments, 3 provided
core/utils/src/rootcling_tmp.cxx:543:6: note: void R__GetQualifiedName(std::string&, const RScanner::AnnotatedRecordDecl&)
core/utils/src/rootcling_tmp.cxx:543:6: note: candidate expects 2 arguments, 3 provided
core/utils/src/rootcling_tmp.cxx:548:14: note: std::string R__GetQualifiedName(const clang::QualType&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:548:14: note: candidate expects 2 arguments, 3 provided
core/utils/src/rootcling_tmp.cxx:555:14: note: std::string R__GetQualifiedName(const clang::Type&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:555:14: note: candidate expects 2 arguments, 3 provided
core/utils/src/rootcling_tmp.cxx:562:13: note: std::string R__GetQualifiedName(const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:562:13: note: candidate expects 1 argument, 3 provided
core/utils/src/rootcling_tmp.cxx:569:13: note: std::string R__GetQualifiedName(const clang::CXXBaseSpecifier&)
core/utils/src/rootcling_tmp.cxx:569:13: note: candidate expects 1 argument, 3 provided
core/utils/src/rootcling_tmp.cxx:576:13: note: std::string R__GetQualifiedName(const RScanner::AnnotatedRecordDecl&)
core/utils/src/rootcling_tmp.cxx:576:13: note: candidate expects 1 argument, 3 provided
core/utils/src/rootcling_tmp.cxx:4679:87: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4679:87: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4685:84: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4685:84: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx: In function ‘void WritePointersSTL(const RScanner::AnnotatedRecordDecl&)’:
core/utils/src/rootcling_tmp.cxx:4800:56: error: invalid initialization of reference of type ‘const clang::Decl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:509:13: error: in passing argument 1 of ‘const char* R__GetComment(const clang::Decl&)’
core/utils/src/rootcling_tmp.cxx:4833:42: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:2517:6: error: in passing argument 1 of ‘bool IsStreamableObject(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4835:43: error: no matching function for call to ‘IsSTLContainer(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4835:43: note: candidates are:
core/utils/src/rootcling_tmp.cxx:2456:5: note: int IsSTLContainer(Cint::G__DataMemberInfo&)
core/utils/src/rootcling_tmp.cxx:2456:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:2472:5: note: int IsSTLContainer(const clang::FieldDecl&)
core/utils/src/rootcling_tmp.cxx:2472:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:2488:5: note: int IsSTLContainer(Cint::G__BaseClassInfo&)
core/utils/src/rootcling_tmp.cxx:2488:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__BaseClassInfo&’
core/utils/src/rootcling_tmp.cxx:2502:5: note: int IsSTLContainer(const clang::CXXBaseSpecifier&)
core/utils/src/rootcling_tmp.cxx:2502:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXBaseSpecifier&’
make: *** [core/utils/src/rootcling_tmp.o] Error 1
rm core/utils/src/rootcling_tmp.cxx
Note: it attempted to compile rootcling_tmp but had an error.
Can ROOT source only compile cling if the llvm/clang is a debug compilation? I will try that tonight.