* installing *source* package ‘ldat’ ... ** package ‘ldat’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 17.0.0 (https://github.com/llvm/llvm-project.git 6ee03f13f4dc6e77c6f408d4faf2331b6045463d)’ using C++11 make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang-trunk/ldat/src' /usr/local/clang-trunk/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/lvec/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o /usr/local/clang-trunk/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/lvec/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c match.cpp -o match.o /usr/local/clang-trunk/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/lvec/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c order_ldat.cpp -o order_ldat.o /usr/local/clang-trunk/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/lvec/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c partial_order.cpp -o partial_order.o /usr/local/clang-trunk/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/lvec/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c partial_sort.cpp -o partial_sort.o In file included from order_ldat.cpp:1: In file included from ./compare_visitor.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/lvec_interface.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/cppr.h:4: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:287:15: error: invalid operands to binary expression ('const ldat::lvec_iterator' and 'ldat::lvec_iterator') 287 | if (__first == __last) | ~~~~~~~ ^ ~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:759:14: note: in instantiation of function template specialization 'std::__insertion_sort_unguarded>' requested here 759 | std::__insertion_sort_unguarded<_AlgPolicy, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch, ldat_compare>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl, ldat_compare>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ order_ldat.cpp:20:8: note: in instantiation of function template specialization 'std::sort, ldat_compare>' requested here 20 | std::sort(result->begin(), result->end(), ldat_compare(vecs)); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_condition.h:98:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_condition' for 1st argument 98 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_condition& __x, const error_condition& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:94:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_code' for 1st argument 94 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_code& __x, const error_code& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:98:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_code' for 1st argument 98 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_code& __x, const error_condition& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:103:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_condition' for 1st argument 103 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_condition& __x, const error_code& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__thread/id.h:78:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to '__thread_id' for 1st argument 78 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(__thread_id __x, __thread_id __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/lvec/include/boolean.h:70:15: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const boolean' for 1st argument 70 | inline bool operator==(const boolean& lhs, const boolean& rhs) { | ^ ~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'pair' against 'lvec_iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'allocator' against 'lvec_iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'tuple' against 'lvec_iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:86:1: note: candidate template ignored: could not match 'istream_iterator' against 'lvec_iterator' 86 | operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:105:6: note: candidate template ignored: could not match 'istreambuf_iterator' against 'lvec_iterator' 105 | bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:255:6: note: candidate template ignored: could not match 'move_iterator' against 'lvec_iterator' 255 | bool operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'reverse_iterator' against 'lvec_iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:1988:1: note: candidate template ignored: could not match 'unordered_map' against 'lvec_iterator' 1988 | operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2746:1: note: candidate template ignored: could not match 'unordered_multimap' against 'lvec_iterator' 2746 | operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_set:1240:1: note: candidate template ignored: could not match 'unordered_set' against 'lvec_iterator' 1240 | operator==(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_set:1926:1: note: candidate template ignored: could not match 'unordered_multiset' against 'lvec_iterator' 1926 | operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/array:404:1: note: candidate template ignored: could not match 'array' against 'lvec_iterator' 404 | operator==(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'fpos' against 'lvec_iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3878:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3878 | operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3894:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3894 | operator==(const basic_string, _Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3914:1: note: candidate template ignored: could not match 'const _CharT *' against 'ldat::lvec_iterator' 3914 | operator==(const _CharT* __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3928:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3928 | operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/vector:3324:1: note: candidate template ignored: could not match 'vector' against 'lvec_iterator' 3324 | operator==(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Allocator>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__functional/function.h:1201:1: note: candidate template ignored: could not match 'function' against 'lvec_iterator' 1201 | operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return !__f;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__functional/function.h:1208:1: note: candidate template ignored: could not match 'function' against 'lvec_iterator' 1208 | operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return !__f;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/list:2032:1: note: candidate template ignored: could not match 'list' against 'lvec_iterator' 2032 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/map:1767:1: note: candidate template ignored: could not match 'map' against 'lvec_iterator' 1767 | operator==(const map<_Key, _Tp, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/map:2422:1: note: candidate template ignored: could not match 'multimap' against 'lvec_iterator' 2422 | operator==(const multimap<_Key, _Tp, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/set:1070:1: note: candidate template ignored: could not match 'set' against 'lvec_iterator' 1070 | operator==(const set<_Key, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/set:1661:1: note: candidate template ignored: could not match 'multiset' against 'lvec_iterator' 1661 | operator==(const multiset<_Key, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/deque:2887:1: note: candidate template ignored: could not match 'deque' against 'lvec_iterator' 2887 | operator==(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:817:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 817 | operator==(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:825:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 825 | operator==(const complex<_Tp>& __x, const _Tp& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:835:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 835 | operator==(const _Tp& __x, const complex<_Tp>& __y) | ^ /data/gannet/ripley/R/test-clang/lvec/include/iterator.h:87:12: note: candidate function not viable: 'this' argument has type 'const ldat::lvec_iterator', but method is not marked const 87 | bool operator==(const lvec_iterator& rhs) { | ^ In file included from order_ldat.cpp:1: In file included from ./compare_visitor.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/lvec_interface.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/cppr.h:4: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:289:52: error: invalid operands to binary expression ('const ldat::lvec_iterator' and 'difference_type' (aka 'long')) 289 | const _RandomAccessIterator __leftmost = __first - difference_type(1); (void)__leftmost; // can be unused when assertions are disabled | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:310:6: note: candidate template ignored: could not match 'move_iterator' against 'lvec_iterator' 310 | auto operator-(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:298:1: note: candidate template ignored: could not match 'reverse_iterator' against 'lvec_iterator' 298 | operator-(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:194:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 194 | auto operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:61:11: note: candidate template ignored: could not match 'fpos' against 'lvec_iterator' 61 | streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:557:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 557 | operator-(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:567:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 567 | operator-(const complex<_Tp>& __x, const _Tp& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:577:1: note: candidate template ignored: could not match 'complex<_Tp>' against 'difference_type' (aka 'long') 577 | operator-(const _Tp& __x, const complex<_Tp>& __y) | ^ /data/gannet/ripley/R/test-clang/lvec/include/iterator.h:53:21: note: candidate function not viable: 'this' argument has type 'const ldat::lvec_iterator', but method is not marked const 53 | lvec_iterator operator-(int n) { | ^ /data/gannet/ripley/R/test-clang/lvec/include/iterator.h:57:11: note: candidate function not viable: 'this' argument has type 'const ldat::lvec_iterator', but method is not marked const 57 | int operator-(const lvec_iterator& rhs) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:809:1: note: candidate function template not viable: requires single argument '__x', but 2 arguments were provided 809 | operator-(const complex<_Tp>& __x) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from order_ldat.cpp:1: In file included from ./compare_visitor.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/lvec_interface.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/cppr.h:4: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:290:44: error: invalid operands to binary expression ('const ldat::lvec_iterator' and 'difference_type' (aka 'long')) 290 | for (_RandomAccessIterator __i = __first + difference_type(1); __i != __last; ++__i) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:337:1: note: candidate template ignored: could not match 'move_iterator<_Iter>' against 'difference_type' (aka 'long') 337 | operator+(typename move_iterator<_Iter>::difference_type __n, const move_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:316:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'difference_type' (aka 'long') 316 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:206:21: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'difference_type' (aka 'long') 206 | __wrap_iter<_Iter1> operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4108:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 4108 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4127:1: note: candidate template ignored: could not match 'const _CharT *' against 'ldat::lvec_iterator' 4127 | operator+(const _CharT* __lhs , const basic_string<_CharT,_Traits,_Allocator>& __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4145:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'difference_type' (aka 'long') 4145 | operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Allocator>& __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4162:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 4162 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, const _CharT* __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4180:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 4180 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, _CharT __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4199:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 4199 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4207:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 4207 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4215:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 4215 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4223:1: note: candidate template ignored: could not match 'const _CharT *' against 'ldat::lvec_iterator' 4223 | operator+(const _CharT* __lhs , basic_string<_CharT,_Traits,_Allocator>&& __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4231:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'difference_type' (aka 'long') 4231 | operator+(_CharT __lhs, basic_string<_CharT,_Traits,_Allocator>&& __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4240:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 4240 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const _CharT* __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:4248:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 4248 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, _CharT __rhs) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:527:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 527 | operator+(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:537:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 537 | operator+(const complex<_Tp>& __x, const _Tp& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:547:1: note: candidate template ignored: could not match 'complex<_Tp>' against 'difference_type' (aka 'long') 547 | operator+(const _Tp& __x, const complex<_Tp>& __y) | ^ /data/gannet/ripley/R/test-clang/lvec/include/iterator.h:49:21: note: candidate function not viable: 'this' argument has type 'const ldat::lvec_iterator', but method is not marked const 49 | lvec_iterator operator+(int n) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:801:1: note: candidate function template not viable: requires single argument '__x', but 2 arguments were provided 801 | operator+(const complex<_Tp>& __x) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from order_ldat.cpp:1: In file included from ./compare_visitor.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/lvec_interface.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/cppr.h:4: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:576:15: error: invalid operands to binary expression ('const ldat::lvec_iterator' and 'ldat::lvec_iterator') 576 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition, ldat_compare &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch, ldat_compare>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl, ldat_compare>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ order_ldat.cpp:20:8: note: in instantiation of function template specialization 'std::sort, ldat_compare>' requested here 20 | std::sort(result->begin(), result->end(), ldat_compare(vecs)); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_condition.h:104:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_condition' for 1st argument 104 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const error_condition& __x, const error_condition& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:110:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_code' for 1st argument 110 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const error_code& __x, const error_code& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:114:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_code' for 1st argument 114 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const error_code& __x, const error_condition& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:118:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_condition' for 1st argument 118 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const error_condition& __x, const error_code& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__thread/id.h:89:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to '__thread_id' for 1st argument 89 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(__thread_id __x, __thread_id __y) _NOEXCEPT { return !(__x == __y); } | ^ ~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'pair' against 'lvec_iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'allocator' against 'lvec_iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'tuple' against 'lvec_iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:96:1: note: candidate template ignored: could not match 'istream_iterator' against 'lvec_iterator' 96 | operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:112:6: note: candidate template ignored: could not match 'istreambuf_iterator' against 'lvec_iterator' 112 | bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:263:6: note: candidate template ignored: could not match 'move_iterator' against 'lvec_iterator' 263 | bool operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'reverse_iterator' against 'lvec_iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2010:1: note: candidate template ignored: could not match 'unordered_map' against 'lvec_iterator' 2010 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2772:1: note: candidate template ignored: could not match 'unordered_multimap' against 'lvec_iterator' 2772 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_set:1262:1: note: candidate template ignored: could not match 'unordered_set' against 'lvec_iterator' 1262 | operator!=(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_set:1952:1: note: candidate template ignored: could not match 'unordered_multiset' against 'lvec_iterator' 1952 | operator!=(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/array:412:35: note: candidate template ignored: could not match 'array' against 'lvec_iterator' 412 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'fpos' against 'lvec_iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3962:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3962 | operator!=(const basic_string<_CharT,_Traits,_Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3971:1: note: candidate template ignored: could not match 'const _CharT *' against 'ldat::lvec_iterator' 3971 | operator!=(const _CharT* __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3980:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3980 | operator!=(const basic_string<_CharT, _Traits, _Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/vector:3335:1: note: candidate template ignored: could not match 'vector' against 'lvec_iterator' 3335 | operator!=(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Allocator>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__functional/function.h:1213:1: note: candidate template ignored: could not match 'function' against 'lvec_iterator' 1213 | operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return (bool)__f;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__functional/function.h:1218:1: note: candidate template ignored: could not match 'function' against 'lvec_iterator' 1218 | operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return (bool)__f;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/list:2050:1: note: candidate template ignored: could not match 'list' against 'lvec_iterator' 2050 | operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/map:1787:1: note: candidate template ignored: could not match 'map' against 'lvec_iterator' 1787 | operator!=(const map<_Key, _Tp, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/map:2442:1: note: candidate template ignored: could not match 'multimap' against 'lvec_iterator' 2442 | operator!=(const multimap<_Key, _Tp, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/set:1090:1: note: candidate template ignored: could not match 'set' against 'lvec_iterator' 1090 | operator!=(const set<_Key, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/set:1681:1: note: candidate template ignored: could not match 'multiset' against 'lvec_iterator' 1681 | operator!=(const multiset<_Key, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/deque:2898:1: note: candidate template ignored: could not match 'deque' against 'lvec_iterator' 2898 | operator!=(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:843:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 843 | operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:851:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 851 | operator!=(const complex<_Tp>& __x, const _Tp& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:859:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 859 | operator!=(const _Tp& __x, const complex<_Tp>& __y) | ^ /data/gannet/ripley/R/test-clang/lvec/include/iterator.h:91:12: note: candidate function not viable: 'this' argument has type 'const ldat::lvec_iterator', but method is not marked const 91 | bool operator!=(const lvec_iterator& rhs) { | ^ In file included from order_ldat.cpp:1: In file included from ./compare_visitor.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/lvec_interface.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/cppr.h:4: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:609:15: error: invalid operands to binary expression ('const ldat::lvec_iterator' and 'lvec_iterator') 609 | if (__begin == __first - difference_type(1)) { | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:803:20: note: in instantiation of function template specialization 'std::__partition_with_equals_on_right, ldat_compare &>' requested here 803 | : std::__partition_with_equals_on_right<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch, ldat_compare>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl, ldat_compare>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ order_ldat.cpp:20:8: note: in instantiation of function template specialization 'std::sort, ldat_compare>' requested here 20 | std::sort(result->begin(), result->end(), ldat_compare(vecs)); | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_condition.h:98:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_condition' for 1st argument 98 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_condition& __x, const error_condition& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:94:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_code' for 1st argument 94 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_code& __x, const error_code& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:98:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_code' for 1st argument 98 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_code& __x, const error_condition& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:103:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_condition' for 1st argument 103 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_condition& __x, const error_code& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__thread/id.h:78:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to '__thread_id' for 1st argument 78 | inline _LIBCPP_HIDE_FROM_ABI bool operator==(__thread_id __x, __thread_id __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/lvec/include/boolean.h:70:15: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const boolean' for 1st argument 70 | inline bool operator==(const boolean& lhs, const boolean& rhs) { | ^ ~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:611:1: note: candidate template ignored: could not match 'pair' against 'lvec_iterator' 611 | operator==(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:524:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 524 | operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:576:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 576 | operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:584:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 584 | operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:263:6: note: candidate template ignored: could not match 'allocator' against 'lvec_iterator' 263 | bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1564:1: note: candidate template ignored: could not match 'tuple' against 'lvec_iterator' 1564 | operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:86:1: note: candidate template ignored: could not match 'istream_iterator' against 'lvec_iterator' 86 | operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:105:6: note: candidate template ignored: could not match 'istreambuf_iterator' against 'lvec_iterator' 105 | bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:255:6: note: candidate template ignored: could not match 'move_iterator' against 'lvec_iterator' 255 | bool operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:209:1: note: candidate template ignored: could not match 'reverse_iterator' against 'lvec_iterator' 209 | operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:109:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 109 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:116:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 116 | bool operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1343:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1343 | operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1410:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1410 | operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1420:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1420 | operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:1988:1: note: candidate template ignored: could not match 'unordered_map' against 'lvec_iterator' 1988 | operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2746:1: note: candidate template ignored: could not match 'unordered_multimap' against 'lvec_iterator' 2746 | operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_set:1240:1: note: candidate template ignored: could not match 'unordered_set' against 'lvec_iterator' 1240 | operator==(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_set:1926:1: note: candidate template ignored: could not match 'unordered_multiset' against 'lvec_iterator' 1926 | operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/array:404:1: note: candidate template ignored: could not match 'array' against 'lvec_iterator' 404 | operator==(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:782:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 782 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:793:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 793 | bool operator==(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:804:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 804 | bool operator==(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:67:6: note: candidate template ignored: could not match 'fpos' against 'lvec_iterator' 67 | bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3878:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3878 | operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3894:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3894 | operator==(const basic_string, _Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3914:1: note: candidate template ignored: could not match 'const _CharT *' against 'ldat::lvec_iterator' 3914 | operator==(const _CharT* __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3928:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3928 | operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/vector:3324:1: note: candidate template ignored: could not match 'vector' against 'lvec_iterator' 3324 | operator==(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Allocator>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__functional/function.h:1201:1: note: candidate template ignored: could not match 'function' against 'lvec_iterator' 1201 | operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return !__f;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__functional/function.h:1208:1: note: candidate template ignored: could not match 'function' against 'lvec_iterator' 1208 | operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return !__f;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/list:2032:1: note: candidate template ignored: could not match 'list' against 'lvec_iterator' 2032 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/map:1767:1: note: candidate template ignored: could not match 'map' against 'lvec_iterator' 1767 | operator==(const map<_Key, _Tp, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/map:2422:1: note: candidate template ignored: could not match 'multimap' against 'lvec_iterator' 2422 | operator==(const multimap<_Key, _Tp, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/set:1070:1: note: candidate template ignored: could not match 'set' against 'lvec_iterator' 1070 | operator==(const set<_Key, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/set:1661:1: note: candidate template ignored: could not match 'multiset' against 'lvec_iterator' 1661 | operator==(const multiset<_Key, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/deque:2887:1: note: candidate template ignored: could not match 'deque' against 'lvec_iterator' 2887 | operator==(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:817:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 817 | operator==(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:825:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 825 | operator==(const complex<_Tp>& __x, const _Tp& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:835:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 835 | operator==(const _Tp& __x, const complex<_Tp>& __y) | ^ /data/gannet/ripley/R/test-clang/lvec/include/iterator.h:87:12: note: candidate function not viable: 'this' argument has type 'const ldat::lvec_iterator', but method is not marked const 87 | bool operator==(const lvec_iterator& rhs) { | ^ In file included from order_ldat.cpp:1: In file included from ./compare_visitor.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/lvec_interface.h:4: In file included from /data/gannet/ripley/R/test-clang/lvec/include/cppr.h:4: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:62: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2797: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/algorithm:1803: In file included from /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/nth_element.h:15: /usr/local/clang-trunk/bin/../include/c++/v1/__algorithm/sort.h:646:15: error: invalid operands to binary expression ('const ldat::lvec_iterator' and 'ldat::lvec_iterator') 646 | if (__begin != __pivot_pos) { | ~~~~~~~ ^ ~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_condition.h:104:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_condition' for 1st argument 104 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const error_condition& __x, const error_condition& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:110:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_code' for 1st argument 110 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const error_code& __x, const error_code& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:114:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_code' for 1st argument 114 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const error_code& __x, const error_condition& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__system_error/error_code.h:118:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to 'const error_condition' for 1st argument 118 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const error_condition& __x, const error_code& __y) _NOEXCEPT { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__thread/id.h:89:35: note: candidate function not viable: no known conversion from 'const ldat::lvec_iterator' to '__thread_id' for 1st argument 89 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(__thread_id __x, __thread_id __y) _NOEXCEPT { return !(__x == __y); } | ^ ~~~~~~~~~~~~~~~ /usr/local/clang-trunk/bin/../include/c++/v1/__utility/pair.h:636:1: note: candidate template ignored: could not match 'pair' against 'lvec_iterator' 636 | operator!=(const pair<_T1,_T2>& __x, const pair<_U1,_U2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:532:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 532 | operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:592:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 592 | operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/unique_ptr.h:600:1: note: candidate template ignored: could not match 'unique_ptr' against 'lvec_iterator' 600 | operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/allocator.h:269:6: note: candidate template ignored: could not match 'allocator' against 'lvec_iterator' 269 | bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/tuple:1597:1: note: candidate template ignored: could not match 'tuple' against 'lvec_iterator' 1597 | operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istream_iterator.h:96:1: note: candidate template ignored: could not match 'istream_iterator' against 'lvec_iterator' 96 | operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:112:6: note: candidate template ignored: could not match 'istreambuf_iterator' against 'lvec_iterator' 112 | bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/move_iterator.h:263:6: note: candidate template ignored: could not match 'move_iterator' against 'lvec_iterator' 263 | bool operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/reverse_iterator.h:235:1: note: candidate template ignored: could not match 'reverse_iterator' against 'lvec_iterator' 235 | operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:137:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 137 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__iterator/wrap_iter.h:144:6: note: candidate template ignored: could not match '__wrap_iter' against 'lvec_iterator' 144 | bool operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1353:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1353 | operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1428:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1428 | operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__memory/shared_ptr.h:1436:1: note: candidate template ignored: could not match 'shared_ptr' against 'lvec_iterator' 1436 | operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2010:1: note: candidate template ignored: could not match 'unordered_map' against 'lvec_iterator' 2010 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_map:2772:1: note: candidate template ignored: could not match 'unordered_multimap' against 'lvec_iterator' 2772 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_set:1262:1: note: candidate template ignored: could not match 'unordered_set' against 'lvec_iterator' 1262 | operator!=(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/unordered_set:1952:1: note: candidate template ignored: could not match 'unordered_multiset' against 'lvec_iterator' 1952 | operator!=(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/array:412:35: note: candidate template ignored: could not match 'array' against 'lvec_iterator' 412 | inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:849:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 849 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:858:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 858 | bool operator!=(basic_string_view<_CharT, _Traits> __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string_view:868:6: note: candidate template ignored: could not match 'basic_string_view' against 'lvec_iterator' 868 | bool operator!=(__type_identity_t > __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__ios/fpos.h:73:6: note: candidate template ignored: could not match 'fpos' against 'lvec_iterator' 73 | bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) { | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3962:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3962 | operator!=(const basic_string<_CharT,_Traits,_Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3971:1: note: candidate template ignored: could not match 'const _CharT *' against 'ldat::lvec_iterator' 3971 | operator!=(const _CharT* __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/string:3980:1: note: candidate template ignored: could not match 'basic_string' against 'lvec_iterator' 3980 | operator!=(const basic_string<_CharT, _Traits, _Allocator>& __lhs, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/vector:3335:1: note: candidate template ignored: could not match 'vector' against 'lvec_iterator' 3335 | operator!=(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Allocator>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__functional/function.h:1213:1: note: candidate template ignored: could not match 'function' against 'lvec_iterator' 1213 | operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return (bool)__f;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/__functional/function.h:1218:1: note: candidate template ignored: could not match 'function' against 'lvec_iterator' 1218 | operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return (bool)__f;} | ^ /usr/local/clang-trunk/bin/../include/c++/v1/list:2050:1: note: candidate template ignored: could not match 'list' against 'lvec_iterator' 2050 | operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/map:1787:1: note: candidate template ignored: could not match 'map' against 'lvec_iterator' 1787 | operator!=(const map<_Key, _Tp, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/map:2442:1: note: candidate template ignored: could not match 'multimap' against 'lvec_iterator' 2442 | operator!=(const multimap<_Key, _Tp, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/set:1090:1: note: candidate template ignored: could not match 'set' against 'lvec_iterator' 1090 | operator!=(const set<_Key, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/set:1681:1: note: candidate template ignored: could not match 'multiset' against 'lvec_iterator' 1681 | operator!=(const multiset<_Key, _Compare, _Allocator>& __x, | ^ /usr/local/clang-trunk/bin/../include/c++/v1/deque:2898:1: note: candidate template ignored: could not match 'deque' against 'lvec_iterator' 2898 | operator!=(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:843:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 843 | operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:851:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 851 | operator!=(const complex<_Tp>& __x, const _Tp& __y) | ^ /usr/local/clang-trunk/bin/../include/c++/v1/complex:859:1: note: candidate template ignored: could not match 'complex' against 'lvec_iterator' 859 | operator!=(const _Tp& __x, const complex<_Tp>& __y) | ^ /data/gannet/ripley/R/test-clang/lvec/include/iterator.h:91:12: note: candidate function not viable: 'this' argument has type 'const ldat::lvec_iterator', but method is not marked const 91 | bool operator!=(const lvec_iterator& rhs) { | ^ 6 errors generated. make[2]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:198: order_ldat.o] Error 1 make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang-trunk/ldat/src' ERROR: compilation failed for package ‘ldat’ * removing ‘/data/gannet/ripley/R/packages/tests-clang-trunk/ldat.Rcheck/ldat’