Ticket #7100: clang_error_nomatchingfunction.txt

File clang_error_nomatchingfunction.txt, 10.0 KB (added by Rich Eakin <reakinator@…>, 10 years ago)

clang compile error log "No Matching Function.."

Line 
1CompileC build/test_unordered_set.build/Debug/test_unordered_set.build/Objects-normal/x86_64/main.o test_unordered_set/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
2 cd /Volumes/ssd/code/sandbox/test_unordered_set
3 setenv LANG en_US.US-ASCII
4 /Applications/Xcode45-DP2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -std=gnu++11 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-sign-compare -Wshorten-64-to-32 -Wno-newline-eof -Wc++11-extensions -DDEBUG=1 -isysroot /Applications/Xcode45-DP2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility-inlines-hidden -Wno-sign-conversion -iquote /Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/test_unordered_set-generated-files.hmap -I/Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/test_unordered_set-own-target-headers.hmap -I/Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/test_unordered_set-all-target-headers.hmap -iquote /Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/test_unordered_set-project-headers.hmap -I/Volumes/ssd/code/sandbox/test_unordered_set/build/Debug/include -I/Users/r/code/cpp/boost-trunk -I/Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/DerivedSources/x86_64 -I/Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/DerivedSources -F/Volumes/ssd/code/sandbox/test_unordered_set/build/Debug -MMD -MT dependencies -MF /Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/Objects-normal/x86_64/main.dia -c /Volumes/ssd/code/sandbox/test_unordered_set/test_unordered_set/main.cpp -o /Volumes/ssd/code/sandbox/test_unordered_set/build/test_unordered_set.build/Debug/test_unordered_set.build/Objects-normal/x86_64/main.o
5
6In file included from /Volumes/ssd/code/sandbox/test_unordered_set/test_unordered_set/main.cpp:48:
7In file included from /Users/r/code/cpp/boost-trunk/boost/unordered_set.hpp:16:
8In file included from /Users/r/code/cpp/boost-trunk/boost/unordered/unordered_set.hpp:20:
9In file included from /Users/r/code/cpp/boost-trunk/boost/functional/hash.hpp:6:
10In file included from /Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:495:
11/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:245:20: error: no matching function for call to 'hash_value'
12 return hash_value(val);
13 ^~~~~~~~~~
14/Users/r/code/cpp/boost-trunk/boost/unordered/detail/buckets.hpp:487:25: note: in instantiation of member function 'boost::hash<std::tr1::shared_ptr<int> >::operator()' requested here
15 SizeT key = hf(x);
16 ^
17/Users/r/code/cpp/boost-trunk/boost/unordered/detail/table.hpp:343:28: note: in instantiation of function template specialization 'boost::unordered::detail::mix64_policy<unsigned long>::apply_hash<boost::hash<std::tr1::shared_ptr<int>>, std::tr1::shared_ptr<int> >' requested here
18 return policy::apply_hash(this->hash_function(), k);
19 ^
20/Users/r/code/cpp/boost-trunk/boost/unordered/detail/unique.hpp:451:42: note: in instantiation of member function 'boost::unordered::detail::table<boost::unordered::detail::set<std::allocator<std::tr1::shared_ptr<int>>, std::tr1::shared_ptr<int>, boost::hash<std::tr1::shared_ptr<int>>, std::equal_to<std::tr1::shared_ptr<int>>> >::hash' requested here
21 std::size_t key_hash = this->hash(k);
22 ^
23/Users/r/code/cpp/boost-trunk/boost/unordered/detail/unique.hpp:428:20: note: in instantiation of function template specialization 'boost::unordered::detail::table_impl<boost::unordered::detail::set<std::allocator<std::tr1::shared_ptr<int>>, std::tr1::shared_ptr<int>, boost::hash<std::tr1::shared_ptr<int>>, std::equal_to<std::tr1::shared_ptr<int>>> >::emplace_impl<const std::tr1::shared_ptr<int> &>' requested here
24 return emplace_impl(
25 ^
26/Users/r/code/cpp/boost-trunk/boost/unordered/unordered_set.hpp:237:27: note: in instantiation of function template specialization 'boost::unordered::detail::table_impl<boost::unordered::detail::set<std::allocator<std::tr1::shared_ptr<int>>, std::tr1::shared_ptr<int>, boost::hash<std::tr1::shared_ptr<int>>, std::equal_to<std::tr1::shared_ptr<int>>> >::emplace<const std::tr1::shared_ptr<int> &>' requested here
27 return table_.emplace(boost::forward<Args>(args)...);
28 ^
29/Users/r/code/cpp/boost-trunk/boost/unordered/unordered_set.hpp:381:26: note: in instantiation of function template specialization 'boost::unordered::unordered_set<std::tr1::shared_ptr<int>, boost::hash<std::tr1::shared_ptr<int>>, std::equal_to<std::tr1::shared_ptr<int>>, std::allocator<std::tr1::shared_ptr<int>> >::emplace<const std::tr1::shared_ptr<int> &>' requested here
30 return this->emplace(x);
31 ^
32/Volumes/ssd/code/sandbox/test_unordered_set/test_unordered_set/main.cpp:56:8: note: in instantiation of member function 'boost::unordered::unordered_set<std::tr1::shared_ptr<int>, boost::hash<std::tr1::shared_ptr<int>>, std::equal_to<std::tr1::shared_ptr<int>>, std::allocator<std::tr1::shared_ptr<int>> >::insert' requested here
33 mySet.insert( intSP );
34 ^
35/Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:165:57: note: candidate template ignored: substitution failure [with T = std::tr1::shared_ptr<int>]
36 typename boost::hash_detail::basic_numbers<T>::type hash_value(T v)
37 ^
38/Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:171:56: note: candidate template ignored: substitution failure [with T = std::tr1::shared_ptr<int>]
39 typename boost::hash_detail::long_numbers<T>::type hash_value(T v)
40 ^
41/Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:177:57: note: candidate template ignored: substitution failure [with T = std::tr1::shared_ptr<int>]
42 typename boost::hash_detail::ulong_numbers<T>::type hash_value(T v)
43 ^
44/Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:297:57: note: candidate template ignored: substitution failure [with T = std::tr1::shared_ptr<int>]
45 typename boost::hash_detail::float_numbers<T>::type hash_value(T v)
46 ^
47/Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:184:36: note: candidate template ignored: failed template argument deduction
48 template <class T> std::size_t hash_value(T* const& v)
49 ^
50/Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:277:24: note: candidate template ignored: failed template argument deduction
51 inline std::size_t hash_value(const T (&x)[N])
52 ^
53/Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:283:24: note: candidate template ignored: failed template argument deduction
54 inline std::size_t hash_value(T (&x)[N])
55 ^
56/Users/r/code/cpp/boost-trunk/boost/functional/hash/hash.hpp:290:24: note: candidate template ignored: failed template argument deduction
57 inline std::size_t hash_value(
58 ^
59/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:58:17: note: candidate template ignored: failed template argument deduction
60 std::size_t hash_value(std::pair<A, B> const& v)
61 ^
62/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:67:17: note: candidate template ignored: failed template argument deduction
63 std::size_t hash_value(std::vector<T, A> const& v)
64 ^
65/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:73:17: note: candidate template ignored: failed template argument deduction
66 std::size_t hash_value(std::list<T, A> const& v)
67 ^
68/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:79:17: note: candidate template ignored: failed template argument deduction
69 std::size_t hash_value(std::deque<T, A> const& v)
70 ^
71/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:85:17: note: candidate template ignored: failed template argument deduction
72 std::size_t hash_value(std::set<K, C, A> const& v)
73 ^
74/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:91:17: note: candidate template ignored: failed template argument deduction
75 std::size_t hash_value(std::multiset<K, C, A> const& v)
76 ^
77/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:97:17: note: candidate template ignored: failed template argument deduction
78 std::size_t hash_value(std::map<K, T, C, A> const& v)
79 ^
80/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:103:17: note: candidate template ignored: failed template argument deduction
81 std::size_t hash_value(std::multimap<K, T, C, A> const& v)
82 ^
83/Users/r/code/cpp/boost-trunk/boost/functional/hash/extensions.hpp:109:17: note: candidate template ignored: failed template argument deduction
84 std::size_t hash_value(std::complex<T> const& v)
85 ^
861 error generated.