Created
December 28, 2014 17:09
-
-
Save kudkudak/c7619420576e9fad0c88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from cec/kmeanspp_assignment.cpp:1: | |
In file included from ../inst/include/cec/kmeanspp_assignment.hpp:4: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:178: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:685:97: error: invalid operands to binary expression ('const gmum::Pair' and 'const gmum::Pair') | |
_LIBCPP_INLINE_VISIBILITY bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y;} | |
~~~ ^ ~~~ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2188:13: note: in instantiation of member function 'std::__1::__less<gmum::Pair, gmum::Pair>::operator()' requested here | |
if (__comp(*--__e2, *__f1)) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2174:5: note: in instantiation of function template specialization 'std::__1::list<gmum::Pair, std::__1::allocator<gmum::Pair> >::__sort<std::__1::__less<gmum::Pair, gmum::Pair> >' requested here | |
__sort(begin(), end(), base::__sz(), __comp); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2165:5: note: in instantiation of function template specialization 'std::__1::list<gmum::Pair, std::__1::allocator<gmum::Pair> >::sort<std::__1::__less<gmum::Pair, gmum::Pair> >' requested here | |
sort(__less<value_type>()); | |
^ | |
cec/kmeanspp_assignment.cpp:74:14: note: in instantiation of member function 'std::__1::list<gmum::Pair, std::__1::allocator<gmum::Pair> >::sort' requested here | |
selected.sort(); | |
^ | |
../inst/include/cec/kmeanspp_assignment.hpp:21:10: note: candidate function not viable: 'this' argument has type 'const gmum::Pair', but method is not marked const | |
bool operator<(Pair p) { | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:419:1: note: candidate template ignored: could not match 'pair<type-parameter-0-0, type-parameter-0-1>' against 'const gmum::Pair' | |
operator< (const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:582:1: note: candidate template ignored: could not match 'reverse_iterator<type-parameter-0-0>' against 'const gmum::Pair' | |
operator<(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:977:1: note: candidate template ignored: could not match 'move_iterator<type-parameter-0-0>' against 'const gmum::Pair' | |
operator<(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1293:1: note: candidate template ignored: could not match '__wrap_iter<type-parameter-0-0>' against 'const gmum::Pair' | |
operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2886:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const gmum::Pair' | |
operator< (const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2944:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const gmum::Pair' | |
operator<(const unique_ptr<_T1, _D1>& __x, nullptr_t) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2953:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const gmum::Pair' | |
operator<(nullptr_t, const unique_ptr<_T1, _D1>& __x) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4732:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const gmum::Pair' | |
operator<(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4797:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const gmum::Pair' | |
operator<(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4805:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const gmum::Pair' | |
operator<(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT | |
^ | |
1 error generated. | |
make: *** [cec/kmeanspp_assignment.o] Error 1 | |
ERROR: compilation failed for package ‘gmum.r’ | |
* removing ‘/private/var/folders/fz/kbc_l4d53m5gcn88rghbmd_c0000gn/T/RtmpgO9plo/gmum.r’ | |
* restoring previous ‘/private/var/folders/fz/kbc_l4d53m5gcn88rghbmd_c0000gn/T/RtmpgO9plo/gmum.r’ | |
BŁĄD: Command failed (1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment