Language
C++
Compiler
clang 9.0.0
Options
Warnings
Boost 1.71.0
C++2a(GNU)
no pedantic
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/clang-9.0.0/include -std=gnu++2a
Exit Code:
1
C++
clang 9.0.0
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/clang-9.0.0/include -std=gnu++2a
In file included from prog.cc:1:
./exsisting_lib.hpp:5:40: error: call to implicitly-deleted copy constructor of 'boost::asio::io_context'
exist(boost::asio::io_context ioc):ioc_(ioc) {}
^ ~~~
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/asio/io_context.hpp:180:5: note: copy constructor of 'io_context' is implicitly deleted because base class 'boost::asio::execution_context' has a deleted copy constructor
: public execution_context
^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/asio/execution_context.hpp:107:5: note: copy constructor of 'execution_context' is implicitly deleted because base class 'boost::asio::detail::noncopyable' has an inaccessible copy constructor
: private noncopyable
^
prog.cc:4:5: error: unknown type name 'exsist'; did you mean 'exist'?
exsist ex_;
^~~~~~
exist
./exsisting_lib.hpp:4:8: note: 'exist' declared here
struct exist {
^
2 errors generated.