Skip to content

selfpipe example compilation error #52

@BurningEnlightenment

Description

@BurningEnlightenment

Travis currently fails to build the selfpipe example:

gcc.compile.c++ ../../../bin.v2/libs/application/example/selfpipe/gcc-4.6/debug/build-yes/threading-multi/selfpipe.o
../example/selfpipe/selfpipe.cpp: In constructor ‘signal_usr2::signal_usr2(boost::application::global_context_ptr)’:
../example/selfpipe/selfpipe.cpp:136:40: error: no matching function for call to ‘boost::application::signal_manager::signal_manager(boost::application::global_context_ptr&)’
../example/selfpipe/selfpipe.cpp:136:40: note: candidates are:
../../../boost/application/signal_binder.hpp:270:7: note: boost::application::signal_manager::signal_manager(boost::application::context&)
../../../boost/application/signal_binder.hpp:270:7: note:   no known conversion for argument 1 from ‘boost::application::global_context_ptr {aka boost::shared_ptr<boost::application::global_context>}’ to ‘boost::application::context& {aka boost::application::basic_context&}’
../../../boost/application/signal_binder.hpp:263:7: note: boost::application::signal_manager::signal_manager(boost::application::context&, boost::system::error_code&)
../../../boost/application/signal_binder.hpp:263:7: note:   candidate expects 2 arguments, 1 provided
../../../boost/application/signal_binder.hpp:258:10: note: boost::application::signal_manager::signal_manager(const boost::application::signal_manager&)
../../../boost/application/signal_binder.hpp:258:10: note:   no known conversion for argument 1 from ‘boost::application::global_context_ptr {aka boost::shared_ptr<boost::application::global_context>}’ to ‘const boost::application::signal_manager&’
../example/selfpipe/selfpipe.cpp:138:7: error: ‘parameter_callback’ is not a member of ‘boost::application::handler<bool>’
../example/selfpipe/selfpipe.cpp:138:50: error: expected ‘;’ before ‘callback1’
../example/selfpipe/selfpipe.cpp:141:7: error: ‘parameter_callback’ is not a member of ‘boost::application::handler<bool>’
../example/selfpipe/selfpipe.cpp:141:50: error: expected ‘;’ before ‘callback2’
../example/selfpipe/selfpipe.cpp:145:21: error: ‘callback1’ was not declared in this scope
../example/selfpipe/selfpipe.cpp:146:21: error: ‘callback2’ was not declared in this scope
../../../boost/asio/error.hpp: At global scope:
../../../boost/asio/error.hpp:258:45: warning: ‘boost::asio::error::system_category’ defined but not used [-Wunused-variable]
../../../boost/asio/error.hpp:260:45: warning: ‘boost::asio::error::netdb_category’ defined but not used [-Wunused-variable]
../../../boost/asio/error.hpp:262:45: warning: ‘boost::asio::error::addrinfo_category’ defined but not used [-Wunused-variable]
../../../boost/asio/error.hpp:264:45: warning: ‘boost::asio::error::misc_category’ defined but not used [-Wunused-variable]

    "g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -fPIC -m64 --coverage -std=c++98 -fno-strict-aliasing -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LIB_DIAGNOSTIC -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DDATE_TIME_INLINE  -I"../../.." -I"../../../../type_index" -c -o "../../../bin.v2/libs/application/example/selfpipe/gcc-4.6/debug/build-yes/threading-multi/selfpipe.o" "../example/selfpipe/selfpipe.cpp"

...failed gcc.compile.c++ ../../../bin.v2/libs/application/example/selfpipe/gcc-4.6/debug/build-yes/threading-multi/selfpipe.o...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions