Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Created May 2, 2015 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfirebaugh/01805dc7c4db10d5c154 to your computer and use it in GitHub Desktop.
Save jfirebaugh/01805dc7c4db10d5c154 to your computer and use it in GitHub Desktop.
In file included from /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:1:
In file included from src/mbgl/util/worker.hpp:5:
In file included from src/mbgl/util/thread.hpp:4:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:366:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:223:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3476:13: error: no matching function for call to '__invoke'
__invoke(_VSTD::declval<_Fp>(), _VSTD::declval<_Args>()...)
^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3484:11: note: in instantiation of template class 'std::__1::__invokable_imp<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), void>' requested here
__invokable_imp<_Fp, _Args...>::value>
^
In file included from /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:1:
In file included from src/mbgl/util/worker.hpp:5:
In file included from src/mbgl/util/thread.hpp:4:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:370:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/mutex:177:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:1974:31: note: in instantiation of template class 'std::__1::__invokable<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), void>' requested here
static const bool value = __invokable<_Fp,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:1986:18: note: in instantiation of template class 'std::__1::_is_valid_bind_return<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), std::__1::tuple<std::__1::__bind<void (&)(int), int> >, std::__1::tuple<> >' requested here
bool = _is_valid_bind_return<_Fp, _BoundArgs, _TupleUj>::value>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2083:18: note: in instantiation of default argument for '__bind_return<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), std::__1::tuple<std::__1::__bind<void (&)(int), int> >, std::__1::tuple<> >' required here
typename __bind_return<_Fd, _Td, tuple<_Args&&...> >::type
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:39:10: note: while substituting deduced template arguments into function template 'operator()' [with _Args = <>]
bound();
^
In file included from /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:1:
In file included from src/mbgl/util/worker.hpp:5:
In file included from src/mbgl/util/thread.hpp:4:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:366:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:223:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3402:1: note: candidate template ignored: substitution failure [with _Args = <void>]: cannot form a reference to 'void'
__invoke(__any, _Args&& ...__args)
^ ~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3417:1: note: candidate template ignored: substitution failure [with _Fp = (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _A0 = void, _Args = <>]: no type named '_ClassType' in 'std::__1::__member_pointer_traits<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28)>'
__invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3430:1: note: candidate template ignored: substitution failure [with _Fp = (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _A0 = void, _Args = <>]: no type named '_ClassType' in 'std::__1::__member_pointer_traits<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28)>'
__invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3445:1: note: candidate template ignored: substitution failure [with _Fp = (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _A0 = void]: no type named '_ClassType' in 'std::__1::__member_pointer_traits<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28)>'
__invoke(_Fp&& __f, _A0&& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3458:1: note: candidate template ignored: substitution failure [with _Fp = (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _A0 = void]: no type named '_ClassType' in 'std::__1::__member_pointer_traits<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28)>'
__invoke(_Fp&& __f, _A0&& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3466:1: note: candidate template ignored: substitution failure [with _Fp = (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _Args = <void>]: cannot form a reference to 'void'
__invoke(_Fp&& __f, _Args&& ...__args)
^ ~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3476:13: error: no matching function for call to '__invoke'
__invoke(_VSTD::declval<_Fp>(), _VSTD::declval<_Args>()...)
^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3484:11: note: in instantiation of template class 'std::__1::__invokable_imp<const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), void>' requested here
__invokable_imp<_Fp, _Args...>::value>
^
In file included from /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:1:
In file included from src/mbgl/util/worker.hpp:5:
In file included from src/mbgl/util/thread.hpp:4:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:370:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/mutex:177:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:1981:31: note: in instantiation of template class 'std::__1::__invokable<const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), void>' requested here
static const bool value = __invokable<_Fp,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:1986:18: note: in instantiation of template class 'std::__1::_is_valid_bind_return<const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), const std::__1::tuple<std::__1::__bind<void (&)(int), int> >, std::__1::tuple<> >' requested here
bool = _is_valid_bind_return<_Fp, _BoundArgs, _TupleUj>::value>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2092:18: note: in instantiation of default argument for '__bind_return<const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), const std::__1::tuple<std::__1::__bind<void (&)(int), int> >, std::__1::tuple<> >' required here
typename __bind_return<const _Fd, const _Td, tuple<_Args&&...> >::type
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:39:10: note: while substituting deduced template arguments into function template 'operator()' [with _Args = <>]
bound();
^
In file included from /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:1:
In file included from src/mbgl/util/worker.hpp:5:
In file included from src/mbgl/util/thread.hpp:4:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:366:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:223:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3402:1: note: candidate template ignored: substitution failure [with _Args = <void>]: cannot form a reference to 'void'
__invoke(__any, _Args&& ...__args)
^ ~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3417:1: note: candidate template ignored: substitution failure [with _Fp = const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _A0 = void, _Args = <>]: no type named '_ClassType' in 'std::__1::__member_pointer_traits<const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28)>'
__invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3430:1: note: candidate template ignored: substitution failure [with _Fp = const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _A0 = void, _Args = <>]: no type named '_ClassType' in 'std::__1::__member_pointer_traits<const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28)>'
__invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3445:1: note: candidate template ignored: substitution failure [with _Fp = const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _A0 = void]: no type named '_ClassType' in 'std::__1::__member_pointer_traits<const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28)>'
__invoke(_Fp&& __f, _A0&& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3458:1: note: candidate template ignored: substitution failure [with _Fp = const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _A0 = void]: no type named '_ClassType' in 'std::__1::__member_pointer_traits<const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28)>'
__invoke(_Fp&& __f, _A0&& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3466:1: note: candidate template ignored: substitution failure [with _Fp = const (lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), _Args = <void>]: cannot form a reference to 'void'
__invoke(_Fp&& __f, _Args&& ...__args)
^ ~~
/Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:39:5: error: no matching function for call to object of type 'std::__1::__bind<(lambda at /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:38:28), std::__1::__bind<void (&)(int), int> &>'
bound();
^~~~~
In file included from /Users/john/Development/mapbox-gl-native/src/mbgl/util/worker.cpp:1:
In file included from src/mbgl/util/worker.hpp:5:
In file included from src/mbgl/util/thread.hpp:4:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:370:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/mutex:177:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2084:9: note: candidate template ignored: substitution failure [with _Args = <>]
operator()(_Args&& ...__args)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2093:9: note: candidate template ignored: substitution failure [with _Args = <>]
operator()(_Args&& ...__args) const
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment