[ https://issues.apache.org/jira/browse/MESOS-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gavin updated MESOS-1772: ------------------------- Comment: was deleted (was: www.rtat.net) > ./include/process/future.hpp(274): error: no instance of overloaded function > "process::Future<T>::onReady > --------------------------------------------------------------------------------------------------------- > > Key: MESOS-1772 > URL: https://issues.apache.org/jira/browse/MESOS-1772 > Project: Mesos > Issue Type: Bug > Components: build > Reporter: Vinson Lee > Priority: Major > > build error with Intel C Compiler > {noformat} > libtool: compile: /opt/intel/bin/icpc -DPACKAGE_NAME=\"libprocess\" > -DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\" > "-DPACKAGE_STRING=\"libprocess 0.0.1\"" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\" > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" > -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -I. -I./include -I./3rdparty/stout/include > -I3rdparty/boost-1.53.0 -I3rdparty/libev-4.15 -I3rdparty/picojson-4f93734 > -I3rdparty/glog-0.3.3/src -I3rdparty/ry-http-parser-1c3624a -g -g2 -O2 > -std=c++11 -MT libprocess_la-http.lo -MD -MP -MF .deps/libprocess_la-http.Tpo > -c src/http.cpp -fPIC -DPIC -o libprocess_la-http.o > ./include/process/future.hpp(274): error: no instance of overloaded function > "process::Future<T>::onReady [with T=std::string]" matches the argument list > argument types are: (std::_Bind<std::_Mem_fn<bool > (process::Future<std::string>::*)(const std::string &)> > (process::Future<std::string>, std::_Placeholder<1>)>, > process::Future<std::string>::Prefer) > return onReady(std::forward<F>(f), Prefer()); > ^ > detected during: > instantiation of "const process::Future<T> > &process::Future<T>::onReady(F &&) const [with T=std::string, > F=std::_Bind<std::_Mem_fn<bool (process::Future<std::string>::*)(const > std::string &)> (process::Future<std::string>, std::_Placeholder<1>)>]" at > line 777 > instantiation of "bool process::Promise<T>::associate(const > process::Future<T> &) [with T=std::string]" at line 1435 > instantiation of "void process::internal::thenf(const > std::shared_ptr<process::Promise<X>> &, const > std::function<process::Future<X> (const T &)> &, const process::Future<T> &) > [with T=Nothing, X=std::basic_string<char, std::char_traits<char>, > std::allocator<char>>]" at line 1508 > instantiation of "process::Future<X> > process::Future<T>::then(const std::function<process::Future<X> (const T &)> > &) const [with T=Nothing, X=std::basic_string<char, std::char_traits<char>, > std::allocator<char>>]" at line 355 > instantiation of "process::Future<X> process::Future<T>::then(F > &&, process::Future<T>::Prefer) const [with T=Nothing, > F=std::_Bind<process::Future<std::string> (*(int))(int)>, > X=std::basic_string<char, std::char_traits<char>, std::allocator<char>>]" at > line 369 > instantiation of "auto process::Future<T>::then(F &&) > const->decltype((<expression>)) [with T=Nothing, > F=std::_Bind<process::Future<std::string> (*(int))(int)>]" at line 160 of > "src/http.cpp" > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)