Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. [ 17%] Building CXX object plugins/poshuku/CMakeFiles/leechcraft_poshuku.dir/poshuku.cpp.obj
  2. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp: In member function 'QStringList LeechCraft::Summary::Core::GetTagsForIndex(int, QAbstractItemModel*) const':
  3. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: error: no matching function for call to 'Map(const QStringList&, LeechCraft::Summary::Core::GetTagsForIndex(int, QAbstractItemModel*) const::<lambda(const QString&)>)'
  4. return Util::Map (ids, [tm] (const QString& id) { return tm->GetTag (id); });
  5. ^
  6. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: note: candidates are:
  7. In file included from X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:33:0:
  8. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:84:7: note: template<class T, template<class U> class Container, class F> typename std::enable_if<(! std::is_same<void, decltype (LeechCraft::Util::Invoke(f, declval<T>()))>::value), typename LeechCraft::Util::WrapType<Container<typename std::decay<decltype (LeechCraft::Util::Invoke(f, declval<T>()))>::type> >::type>::type LeechCraft::Util::Map(const Container<T>&, F)
  9. auto Map (const Container<T>& c, F f) -> typename std::enable_if<!std::is_same<void, decltype (Invoke (f, std::declval<T> ()))>::value,
  10. ^
  11. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:84:7: note: template argument deduction/substitution failed:
  12. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: note: can't deduce a template for 'const Container<T>' from non-template type 'const QStringList'
  13. return Util::Map (ids, [tm] (const QString& id) { return tm->GetTag (id); });
  14. ^
  15. In file included from X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:33:0:
  16. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:94:7: note: template<template<class ...> class Container, class F, template<class> class ResultCont, class ... ContArgs> LeechCraft::Util::WrapType_t<ResultCont<typename std::decay<decltype (LeechCraft::Util::Invoke(f, (* c.begin())))>::type> > LeechCraft::Util::Map(const Container<ContArgs ...>&, F)
  17. auto Map (const Container<ContArgs...>& c, F f) -> WrapType_t<ResultCont<typename std::decay<decltype (Invoke (f, *c.begin ()))>::type>>
  18. ^
  19. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:94:7: note: template argument deduction/substitution failed:
  20. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: note: can't deduce a template for 'const Container<ContArgs ...>' from non-template type 'const QStringList'
  21. return Util::Map (ids, [tm] (const QString& id) { return tm->GetTag (id); });
  22. ^
  23. In file included from X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:33:0:
  24. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:114:7: note: template<class T, template<class U> class Container, class F> typename std::enable_if<std::is_same<void, decltype (LeechCraft::Util::Invoke(f, declval<T>()))>::value, void>::type LeechCraft::Util::Map(const Container<T>&, F)
  25. auto Map (const Container<T>& c, F f) -> typename std::enable_if<std::is_same<void, decltype (Invoke (f, std::declval<T> ()))>::value, void>::type
  26. ^
  27. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:114:7: note: template argument deduction/substitution failed:
  28. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: note: can't deduce a template for 'const Container<T>' from non-template type 'const QStringList'
  29. return Util::Map (ids, [tm] (const QString& id) { return tm->GetTag (id); });
  30. ^
  31. X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:154:2: warning: control reaches end of non-void function [-Wreturn-type]
  32. }
  33. ^
  34. plugins/summary/CMakeFiles/leechcraft_summary.dir/build.make:118: ошибка выполнения рецепта для цели «plugins/summary/CMakeFiles/leechcraft_summary.dir/core.cpp.obj»
  35. make[2]: *** [plugins/summary/CMakeFiles/leechcraft_summary.dir/core.cpp.obj] Ошибка 1
  36. CMakeFiles/Makefile2:1400: ошибка выполнения рецепта для цели «plugins/summary/CMakeFiles/leechcraft_summary.dir/all»
  37. make[1]: *** [plugins/summary/CMakeFiles/leechcraft_summary.dir/all] Ошибка 2
  38. make[1]: *** Ожидание завершения заданий…
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement