Dear Axel, thanks for your reply.
I’m working on OSX 10.8.5
I updated to XCode 5.1 and installed CommandLineTools for Mountain Lion.
I try to compile root-6.05.02
I’ve first installed clang3.5 via macports and made it active.
First switched gcc off and tried to compile root -> compilation errors
Switched apple gcc/gcc4.9 to active aside clang3.5 and tried to compile root -> compilation errors
I tried as well to compile clang myself using your script:
raw.githubusercontent.com/karie … r/clone.sh
I tried compiling it with apple gcc and gcc4.9 -> compilation errors
get multiple errors, some related to std libraty but also different.
Could you give me a combination of XCode, gcc or clang and root6 that should work on OSX 10.8.5?
And when I make Clang active, should I also keep a gcc active or put it to none?
Hope I don’t bother.
Kind regards,
Merijn
Begin of thread for compiling clang:
/Users/Merijn/PhD/Software/Clang/src/include/llvm/ADT/iterator_range.h:36:29: error: no member named ‘move’ in namespace ‘std’
: begin_iterator(std::move(begin_iterator)),
~~~~~^
/Users/Merijn/PhD/Software/Clang/src/include/llvm/ADT/iterator_range.h:37:27: error: no member named ‘move’ in namespace 'std’
end_iterator(std::move(end_iterator)) {}
~^
/Users/Merijn/PhD/Software/Clang/src/include/llvm/ADT/iterator_range.h:48:33: error: no member named ‘move’ in namespace 'std’
return iterator_range(std::move(x), std::move(y));
~^
/Users/Merijn/PhD/Software/Clang/src/include/llvm/ADT/iterator_range.h:52:33: error: no member named ‘move’ in namespace 'std’
return iterator_range(std::move(p.first), std::move(p.second));
~^
llvm[1]: Compiling BranchProbability.cpp for Debug+Asserts build
In file included from /Users/Merijn/PhD/Software/Clang/src/lib/Support/Allocator.cpp:14:
In file included from /Users/Merijn/PhD/Software/Clang/src/include/llvm/Support/Allocator.h:24:
In file included from /Users/Merijn/PhD/Software/Clang/src/include/llvm/ADT/SmallVector.h:20:
/Users/Merijn/PhD/Software/Clang/src/include/llvm/Support/MathExtras.h:21:10: fatal error: ‘type_traits’ file not found
#include <type_traits>
^
In file included from /Users/Merijn/PhD/Software/Clang/src/lib/Support/ARMBuildAttrs.cpp:11:
/Users/Merijn/PhD/Software/Clang/src/include/llvm/ADT/StringRef.h:343:14: error: no template named ‘enable_if’ in namespace ‘std’; didIn file included from you/Users/Merijn/PhD/Software/Clang/src/lib/Support/BranchProbability.cpp :mean15 :
’__gnu_cxx::__enable_if’?In file included from /Users/Merijn/PhD/Software/Clang/src/include/llvm/Support/Debug.h
:31:
In file included from /Users/Merijn/PhD/Software/Clang/src/include/llvm/Support/raw_ostream.h:17:
/Users/Merijn/PhD/Software/Clang/src/include/llvm/ADT/StringRef.h:343:14: error: no template named ‘enable_if’ in namespace ‘std’; did you typename std::enable_if<std::numeric_limits::is_signed, bool>::type
mean ‘__gnu_cxx::__enable_if’? ^~
begin of thread for compiling root:
nclude/RWrap_libcpp_string_view.h:329:4: error: redefinition of ‘__find_first_of_ce’
__find_first_of_ce(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/algorithm:1045:1: note: previous definition is here
__find_first_of_ce(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:342:4: error: redefinition of ‘__str_find’
__str_find(const _CharT *__p, _SizeT __sz,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/string:996:1: note: previous definition is here
__str_find(const _CharT *__p, _SizeT __sz,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:355:4: warning: ‘__str_find’ is missing exception specification ‘noexcept’
__str_find(const _CharT *__p, _SizeT __sz,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/string:1009:1: note: previous declaration is here
__str_find(const _CharT *__p, _SizeT __sz,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:355:4: error: redefinition of ‘__str_find’
__str_find(const _CharT *__p, _SizeT __sz,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/string:1009:1: note: previous definition is here
__str_find(const _CharT *__p, _SizeT __sz,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:376:4: warning: ‘__str_rfind’ is missing exception specification ‘noexcept’
__str_rfind(const _CharT *__p, _SizeT __sz,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/string:1030:1: note: previous declaration is here
__str_rfind(const _CharT *__p, _SizeT __sz,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:376:4: error: redefinition of ‘__str_rfind’
__str_rfind(const _CharT *__p, _SizeT __sz,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/string:1030:1: note: previous definition is here
__str_rfind(const _CharT *__p, _SizeT __sz,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:395:4: warning: ‘__str_rfind’ is missing exception specification ‘noexcept’
__str_rfind(const _CharT *__p, _SizeT __sz,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/string:1049:1: note: previous declaration is here
__str_rfind(const _CharT *__p, _SizeT __sz,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:395:4: error: redefinition of ‘__str_rfind’
__str_rfind(const _CharT *__p, _SizeT __sz,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/string:1049:1: note: previous definition is here
__str_rfind(const _CharT *__p, _SizeT __sz,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:414:4: warning: ‘__str_find_first_of’ is missing exception specification ‘noexcept’
__str_find_first_of(const _CharT *__p, _SizeT __sz,
^
/opt/local/libexec/llvm-3.5/bin/…/include/c++/v1/string:1068:1: note: previous declaration is here
__str_find_first_of(const _CharT *__p, _SizeT __sz,
^
In file included from /Users/Merijn/PhD/Software/root-6.05.02/core/metautils/src/TClassEdit.cxx:9:
In file included from include/TClassEdit.h:66:
In file included from include/RStringView.h:26:
include/RWrap_libcpp_string_view.h:414:4: error: redefinition of ‘__str_find_first_of’
__str_find_first_of(const _CharT *__p, _SizeT __sz,