-
-
Save gentryx/5ebbc48b1a93175b24a9 to your computer and use it in GitHub Desktop.
AFIO Benchmark: ICPC Compilation Failure
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
gentryx@neuromancer ~/afio_benchmark $ icpc -O3 -fopenmp -march=native -std=c++11 afio.cpp -Iboost.afio/include/ -Iboost.afio -lboost_system -lpthread -lboost_filesystem -ldl -o afio && echo go && ./afio niall | |
In file included from boost.afio/include/boost/afio/v2/afio.hpp(6337), | |
from boost.afio/include/boost/afio/afio.hpp(1), | |
from boost.afio/include/boost/afio.hpp(1), | |
from afio.cpp(1): | |
boost.afio/include/boost/afio/v2/detail/impl/afio.ipp(166): warning #858: type qualifier on return type is meaningless | |
static inline BOOST_CONSTEXPR_OR_CONST int check_fdcwd(int dirh) { return (dirh!=at_fdcwd) ? throw std::runtime_error("dirh is not at_fdcwd on a platform which does not have XXXat() API support") : 0; } | |
^ | |
In file included from boost.afio/include/boost/afio/v2/afio.hpp(6337), | |
from boost.afio/include/boost/afio/afio.hpp(1), | |
from boost.afio/include/boost/afio.hpp(1), | |
from afio.cpp(1): | |
boost.afio/include/boost/afio/v2/detail/impl/afio.ipp(2201): error: no instance of overloaded function "boost::afio::v2_std_boost_boost::dispatcher::chain_async_ops" matches the specified type | |
template<class R, class F> BOOST_AFIO_HEADERS_ONLY_MEMFUNC_SPEC std::vector<future<R>> dispatcher::chain_async_ops(int optype, const std::vector<future<>> &preconditions, async_op_flags flags, completion_returntype(F::*f)(size_t, future<>, std::shared_ptr<promise<R>>)) | |
^ | |
In file included from boost.afio/include/boost/afio/v2/afio.hpp(6337), | |
from boost.afio/include/boost/afio/afio.hpp(1), | |
from boost.afio/include/boost/afio.hpp(1), | |
from afio.cpp(1): | |
boost.afio/include/boost/afio/v2/detail/impl/afio.ipp(2214): error: no instance of overloaded function "boost::afio::v2_std_boost_boost::dispatcher::chain_async_ops" matches the specified type | |
template<class R, class F, class T> BOOST_AFIO_HEADERS_ONLY_MEMFUNC_SPEC std::vector<future<R>> dispatcher::chain_async_ops(int optype, const std::vector<future<>> &preconditions, const std::vector<T> &container, async_op_flags flags, completion_returntype(F::*f)(size_t, future<>, T, std::shared_ptr<promise<R>>)) | |
^ | |
In file included from boost.afio/include/boost/afio/v2/afio.hpp(6337), | |
from boost.afio/include/boost/afio/afio.hpp(1), | |
from boost.afio/include/boost/afio.hpp(1), | |
from afio.cpp(1): | |
boost.afio/include/boost/afio/v2/detail/impl/afio.ipp(2244): error: no instance of overloaded function "boost::afio::v2_std_boost_boost::dispatcher::chain_async_ops" matches the specified type | |
template<class R, class F, class T> BOOST_AFIO_HEADERS_ONLY_MEMFUNC_SPEC std::vector<future<R>> dispatcher::chain_async_ops(int optype, const std::vector<T> &container, async_op_flags flags, completion_returntype(F::*f)(size_t, future<>, T, std::shared_ptr<promise<R>>)) | |
^ | |
In file included from boost.afio/include/boost/afio/v2/afio.hpp(6337), | |
from boost.afio/include/boost/afio/afio.hpp(1), | |
from boost.afio/include/boost/afio.hpp(1), | |
from afio.cpp(1): | |
boost.afio/include/boost/afio/v2/detail/impl/afio.ipp(2926): error: no instance of function template "std::make_pair" matches the argument list | |
In file included from boost.afio/include/boost/afio/v2/afio.hpp(6337), | |
from boost.afio/include/boost/afio/afio.hpp(1), | |
from boost.afio/include/boost/afio.hpp(1), | |
from afio.cpp(1): | |
argument types are: (int, __off_t) | |
In file included from boost.afio/include/boost/afio/v2/afio.hpp(6337), | |
from boost.afio/include/boost/afio/afio.hpp(1), | |
from boost.afio/include/boost/afio.hpp(1), | |
from afio.cpp(1): | |
out.push_back(std::make_pair<off_t, off_t>(0, s.st_size)); | |
^ | |
boost.afio/include/boost/afio/v2/afio.hpp(2389): warning #114: function "boost::afio::v2_std_boost_boost::dispatcher::chain_async_ops(int, const std::vector<T, std::allocator<T>> &, boost::afio::v2_std_boost_boost::async_op_flags, boost::afio::v2_std_boost_boost::dispatcher::completion_returntype (F::*)(size_t={unsigned long}, boost::afio::v2_std_boost_boost::future<void>, T, std::shared_ptr<std::promise<R>>)) [with R=std::pair<std::vector<boost::afio::v2_std_boost_boost::directory_entry, | |
std::allocator<boost::afio::v2_std_boost_boost::directory_entry>>, bool>, F=boost::afio::v2_std_boost_boost::detail::async_file_io_dispatcher_compat, T=boost::afio::v2_std_boost_boost::enumerate_req]" was referenced but not defined | |
template<class R, class F, class T> BOOST_AFIO_HEADERS_ONLY_MEMFUNC_SPEC std::vector<future<R>> chain_async_ops(int optype, const std::vector<T> &container, async_op_flags flags, completion_returntype(F::*f)(size_t, future<>, T, std::shared_ptr<promise<R>>)); | |
^ | |
boost.afio/include/boost/afio/v2/afio.hpp(2386): warning #114: function "boost::afio::v2_std_boost_boost::dispatcher::chain_async_ops(int, const std::vector<boost::afio::v2_std_boost_boost::future<void>, std::allocator<boost::afio::v2_std_boost_boost::future<void>>> &, boost::afio::v2_std_boost_boost::async_op_flags, boost::afio::v2_std_boost_boost::dispatcher::completion_returntype (F::*)(size_t={unsigned long}, boost::afio::v2_std_boost_boost::future<void>, std::shared_ptr<std::promise<R>>)) | |
[with R=std::vector<std::pair<boost::afio::v2_std_boost_boost::off_t={unsigned long long}, boost::afio::v2_std_boost_boost::off_t={unsigned long long}>, std::allocator<std::pair<boost::afio::v2_std_boost_boost::off_t={unsigned long long}, boost::afio::v2_std_boost_boost::off_t={unsigned long long}>>>, F=boost::afio::v2_std_boost_boost::detail::async_file_io_dispatcher_compat]" was referenced but not defined | |
template<class R, class F> BOOST_AFIO_HEADERS_ONLY_MEMFUNC_SPEC std::vector<future<R>> chain_async_ops(int optype, const std::vector<future<>> &preconditions, async_op_flags flags, completion_returntype(F::*f)(size_t, future<>, std::shared_ptr<promise<R>>)); | |
^ | |
boost.afio/include/boost/afio/v2/afio.hpp(2387): warning #114: function "boost::afio::v2_std_boost_boost::dispatcher::chain_async_ops(int, const std::vector<boost::afio::v2_std_boost_boost::future<void>, std::allocator<boost::afio::v2_std_boost_boost::future<void>>> &, const std::vector<T, std::allocator<T>> &, boost::afio::v2_std_boost_boost::async_op_flags, boost::afio::v2_std_boost_boost::dispatcher::completion_returntype (F::*)(size_t={unsigned long}, | |
boost::afio::v2_std_boost_boost::future<void>, T, std::shared_ptr<std::promise<R>>)) [with R=boost::afio::v2_std_boost_boost::statfs_t, F=boost::afio::v2_std_boost_boost::detail::async_file_io_dispatcher_compat, T=boost::afio::v2_std_boost_boost::fs_metadata_flags]" was referenced but not defined | |
template<class R, class F, class T> BOOST_AFIO_HEADERS_ONLY_MEMFUNC_SPEC std::vector<future<R>> chain_async_ops(int optype, const std::vector<future<>> &preconditions, const std::vector<T> &container, async_op_flags flags, completion_returntype(F::*f)(size_t, future<>, T, std::shared_ptr<promise<R>>)); | |
^ | |
compilation aborted for afio.cpp (code 2) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment