Created
February 13, 2014 20:14
-
-
Save nqn/8982945 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
../../3rdparty/libprocess/include/process/c++11/dispatch.hpp:248:25: error: binding of reference to type 'function<[...]>' to a value of type 'function<[...]>' drops qualifiers | |
REPEAT_FROM_TO(1, 11, TEMPLATE, _) // Args A0 -> A9. | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:36:125: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_1' | |
# define BOOST_PP_REPEAT_FROM_TO_1(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_1(BOOST_PP_AUTO_REC(BOOST_PP_WHILE_P, 256), f, l, m, dt) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:54:136: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_D_1' | |
# define BOOST_PP_REPEAT_FROM_TO_D_1(d, f, l, m, dt) BOOST_PP_REPEAT_1(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FROM_TO_M_1, (d, f, m, dt)) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat.hpp:38:63: note: expanded from macro 'BOOST_PP_REPEAT_1' | |
# define BOOST_PP_REPEAT_1(c, m, d) BOOST_PP_REPEAT_1_I(c, m, d) | |
^ | |
note: (skipping 19 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat.hpp:312:62: note: expanded from macro 'BOOST_PP_REPEAT_2_3' | |
# define BOOST_PP_REPEAT_2_3(m, d) BOOST_PP_REPEAT_2_2(m, d) m(3, 2, d) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/enum_params.hpp:30:67: note: expanded from macro 'BOOST_PP_ENUM_PARAMS_M' | |
# define BOOST_PP_ENUM_PARAMS_M(z, n, param) BOOST_PP_COMMA_IF(n) param ## n | |
^~~~~~~~~~ | |
<scratch space>:207:1: note: expanded from here | |
a2 | |
^~ | |
../../3rdparty/libprocess/include/process/c++11/defer.hpp:165:25: note: in instantiation of function template specialization 'process::dispatch<int, | |
mesos::internal::slave::MesosContainerizerProcess, const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int, | |
mesos::ContainerID, mesos::ExecutorInfo, std::__1::function<int ()>, mesos::SlaveID, bool, int>' requested here | |
REPEAT_FROM_TO(1, 11, TEMPLATE, _) // Args A0 -> A9. | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:36:125: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_1' | |
# define BOOST_PP_REPEAT_FROM_TO_1(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_1(BOOST_PP_AUTO_REC(BOOST_PP_WHILE_P, 256), f, l, m, dt) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:54:136: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_D_1' | |
# define BOOST_PP_REPEAT_FROM_TO_D_1(d, f, l, m, dt) BOOST_PP_REPEAT_1(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FROM_TO_M_1, (d, f, m, dt)) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat.hpp:38:63: note: expanded from macro 'BOOST_PP_REPEAT_1' | |
# define BOOST_PP_REPEAT_1(c, m, d) BOOST_PP_REPEAT_1_I(c, m, d) | |
^ | |
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:79:118: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_M_1_I' | |
# define BOOST_PP_REPEAT_FROM_TO_M_1_I(z, n, d, f, m, dt) BOOST_PP_REPEAT_FROM_TO_M_1_II(z, BOOST_PP_ADD_D(d, n, f), m, dt) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:83:54: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_M_1_II' | |
# define BOOST_PP_REPEAT_FROM_TO_M_1_II(z, n, m, dt) m(z, n, dt) | |
^ | |
../../3rdparty/libprocess/include/process/c++11/defer.hpp:136:18: note: expanded from macro 'TEMPLATE' | |
return dispatch(pid, method, ENUM_PARAMS(N, p)); \ | |
../../src/slave/containerizer/mesos_containerizer.cpp:397:11: note: in instantiation of function template specialization 'process::defer<int, [53/5306] | |
mesos::internal::slave::MesosContainerizerProcess, const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int, | |
mesos::ContainerID, mesos::ExecutorInfo, std::__1::function<int ()>, mesos::SlaveID, bool, int>' requested here | |
.then(defer(self(), | |
^ | |
In file included from ../../src/slave/containerizer/mesos_containerizer.cpp:21: | |
In file included from ../../3rdparty/libprocess/include/process/collect.hpp:8: | |
In file included from ../../3rdparty/libprocess/include/process/defer.hpp:2: | |
In file included from ../../3rdparty/libprocess/include/process/c++11/defer.hpp:7: | |
In file included from ../../3rdparty/libprocess/include/process/deferred.hpp:2: | |
../../3rdparty/libprocess/include/process/c++11/deferred.hpp:213:25: error: no matching function for call to object of type 'const std::__1::__bind<process::Future<int> | |
(std::__1::function<process::Future<int> (const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>::*)(const | |
mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int) const, std::__1::function<process::Future<int> (const | |
mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>, mesos::ContainerID &, mesos::ExecutorInfo &, | |
std::__1::function<int ()> &, mesos::SlaveID &, bool &, int &>' | |
REPEAT_FROM_TO(1, 11, TEMPLATE, _) // Args A0 -> A9. | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:36:125: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_1' | |
# define BOOST_PP_REPEAT_FROM_TO_1(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_1(BOOST_PP_AUTO_REC(BOOST_PP_WHILE_P, 256), f, l, m, dt) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:54:136: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_D_1' | |
# define BOOST_PP_REPEAT_FROM_TO_D_1(d, f, l, m, dt) BOOST_PP_REPEAT_1(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FROM_TO_M_1, (d, f, m, dt)) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat.hpp:38:63: note: expanded from macro 'BOOST_PP_REPEAT_1' | |
# define BOOST_PP_REPEAT_1(c, m, d) BOOST_PP_REPEAT_1_I(c, m, d) | |
^ | |
note: (skipping 14 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:79:118: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_M_1_I' | |
# define BOOST_PP_REPEAT_FROM_TO_M_1_I(z, n, d, f, m, dt) BOOST_PP_REPEAT_FROM_TO_M_1_II(z, BOOST_PP_ADD_D(d, n, f), m, dt) | |
^ | |
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/preprocessor/repetition/repeat_from_to.hpp:83:54: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO_M_1_II' | |
# define BOOST_PP_REPEAT_FROM_TO_M_1_II(z, n, m, dt) m(z, n, dt) | |
^ | |
../../3rdparty/libprocess/include/process/c++11/deferred.hpp:207:20: note: expanded from macro 'TEMPLATE' | |
return f_(ENUM_PARAMS(N, p)); \ | |
^~ | |
../../3rdparty/libprocess/include/process/future.hpp:286:55: note: in instantiation of function template specialization 'process::_Deferred<std::__1::__bind<process::Future<int> | |
(std::__1::function<process::Future<int> (const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>::*)(const | |
mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int) const, std::__1::function<process::Future<int> (const | |
mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>, mesos::ContainerID &, mesos::ExecutorInfo &, | |
std::__1::function<int ()> &, mesos::SlaveID &, bool &, int &> >::operator function<process::Future<int>, const Nothing &>' requested here | |
return then<X>(std::function<Future<X>(const T&)>(f)); | |
^ | |
../../3rdparty/libprocess/include/process/future.hpp:312:12: note: in instantiation of function template specialization | |
'process::Future<Nothing>::then<std::__1::__bind<process::Future<int> (std::__1::function<process::Future<int> (const mesos::ContainerID &, const mesos::ExecutorInfo &, | |
std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>::*)(const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const | |
mesos::SlaveID &, bool, int) const, std::__1::function<process::Future<int> (const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const | |
mesos::SlaveID &, bool, int)>, mesos::ContainerID &, mesos::ExecutorInfo &, std::__1::function<int ()> &, mesos::SlaveID &, bool &, int &>, int>' requested here | |
return then(std::forward<F>(f), Prefer()); | |
../../src/slave/containerizer/mesos_containerizer.cpp:397:6: note: in instantiation of function template specialization [3/5306] | |
'process::Future<Nothing>::then<process::_Deferred<std::__1::__bind<process::Future<int> (std::__1::function<process::Future<int> (const mesos::ContainerID &, const | |
mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>::*)(const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int | |
()> &, const mesos::SlaveID &, bool, int) const, std::__1::function<process::Future<int> (const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> | |
&, const mesos::SlaveID &, bool, int)>, mesos::ContainerID &, mesos::ExecutorInfo &, std::__1::function<int ()> &, mesos::SlaveID &, bool &, int &> > >' requested here | |
.then(defer(self(), | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1749:9: note: candidate function not viable: 'this' argument has type | |
'const std::__1::__bind<process::Future<int> (std::__1::function<process::Future<int> (const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, | |
const mesos::SlaveID &, bool, int)>::*)(const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int) const, | |
std::__1::function<process::Future<int> (const mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>, | |
mesos::ContainerID &, mesos::ExecutorInfo &, std::__1::function<int ()> &, mesos::SlaveID &, bool &, int &>', but method is not marked const | |
operator()(_Args&& ...__args) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1758:9: note: candidate template ignored: substitution failure | |
[with _Args = <const Nothing &>]: implicit instantiation of undefined template 'std::__1::__bind_return<process::Future<int> (std::__1::function<process::Future<int> (const | |
mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>::*const)(const mesos::ContainerID &, const | |
mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int) const, const std::__1::tuple<std::__1::function<process::Future<int> (const | |
mesos::ContainerID &, const mesos::ExecutorInfo &, std::__1::function<int ()> &, const mesos::SlaveID &, bool, int)>, mesos::ContainerID, mesos::ExecutorInfo, | |
std::__1::function<int ()>, mesos::SlaveID, bool, int>, std::__1::tuple<const Nothing &>, false>' | |
operator()(_Args&& ...__args) const |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment