When using the lib with recent XCode, I'm getting a bunch of deprecation warnings like this one:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/ip/tcp.hpp:19:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/basic_socket_acceptor.hpp:19:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/basic_io_object.hpp:19:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/io_service.hpp:767:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/impl/io_service.hpp:71:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/detail/task_io_service.hpp:196:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/detail/completion_handler.hpp:20:
In file included from /Users/administrator/.cmake-js/boost/1.61.0/boost/asio/detail/fenced_block.hpp:24:
/Users/administrator/.cmake-js/boost/1.61.0/boost/asio/detail/macos_fenced_block.hpp:45:5: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12
- Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
OSMemoryBarrier();
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note:
'OSMemoryBarrier' has been explicitly marked deprecated here
void OSMemoryBarrier( void );
^
When using the lib with recent XCode, I'm getting a bunch of deprecation warnings like this one: