Language
Compiler
Options
$
In file included from prog.cc:3:
In file included from /opt/wandbox/boost-1.65.1/clang-head/include/boost/thread.hpp:13:
In file included from /opt/wandbox/boost-1.65.1/clang-head/include/boost/thread/thread.hpp:12:
In file included from /opt/wandbox/boost-1.65.1/clang-head/include/boost/thread/thread_only.hpp:12:
In file included from /opt/wandbox/boost-1.65.1/clang-head/include/boost/thread/detail/platform.hpp:14:
In file included from /opt/wandbox/boost-1.65.1/clang-head/include/boost/config.hpp:48:
/opt/wandbox/boost-1.65.1/clang-head/include/boost/config/stdlib/libcpp.hpp:97:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined]
# define BOOST_NO_AUTO_PTR
^
<command line>:1:9: note: previous definition is here
#define BOOST_NO_AUTO_PTR 1
^
prog.cc:73:28: warning: missing field 'ec' initializer [-Wmissing-field-initializers]
return Awaiter{ t, d };
^
prog.cc:86:13: note: in instantiation of function template specialization 'asioadapt::async_await<long long, std::__1::ratio<1, 1000> >' requested here
co_await async_await(timer, 100ms);
^
2 warnings generated.
i=0
Signal:
Segmentation fault