tinpotnick / project-mediaswitch

Slim, efficient and fast event-driven, asynchronous SIP Switch.
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

boost 1.70 breaking change #2

Closed smalls12 closed 4 years ago

smalls12 commented 4 years ago

When compiling I get the following error

/home/src/3rdparty/project-mediaswitch/projectlib/projecthttpserver.cpp:32:49: error: 
‘boost::asio::ip::tcp::acceptor {aka class boost::asio::basic_socket_acceptor<boost::asio::ip::tcp>}’ 
has no member named ‘get_io_service’
     projecthttpconnection::create( httpacceptor.get_io_service() );

Looks like get_io_service() was deprecated in boost 1.70.

Not sure how difficult a change this is to support.

More info here https://stackoverflow.com/questions/58453017/boost-asio-tcp-socket-1-70-not-backward-compatible

tinpotnick commented 4 years ago

Ah, I haven't looked since late last year - this must be recent

On Sat, 16 May 2020, 15:48 smalls12, notifications@github.com wrote:

When compiling I get the following error

/home/src/3rdparty/project-mediaswitch/projectlib/projecthttpserver.cpp:32:49: error:

‘boost::asio::ip::tcp::acceptor {aka class boost::asio::basic_socket_acceptor}’

has no member named ‘get_io_service’

 projecthttpconnection::create( httpacceptor.get_io_service() );

Looks like get_io_service() was deprecated in boost 1.70.

Not sure how difficult a change this is to support.

More info here

https://stackoverflow.com/questions/58453017/boost-asio-tcp-socket-1-70-not-backward-compatible

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tinpotnick/project-mediaswitch/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBM4NUFFXEQQ2NC2R3XF4LRR2RTNANCNFSM4NC6KBEQ .

smalls12 commented 4 years ago

I can always downgrade boost to an earlier version to move on :)

smalls12 commented 4 years ago

I think I have a fix for this I can create another pull request for. I don't have a setup to prove the system is working.

smalls12 commented 4 years ago

Closing.