21 Nov
2025
21 Nov
'25
10:42 p.m.
In file included from libs/buffers/test/unit/asio.cpp:17: ./boost/asio/buffer.hpp:332:7: error: use of the 'deprecated' attribute is a C++14 extension [-Werror,-Wc++14-extensions]
(see also https://github.com/chriskohlhoff/asio/issues/1683 )
Note that this is specific to Clang 3.7 and 3.8, because on later versions this warning is only enabled by -Wpedantic, which most people don't use.
For -Wpedantic it would be necessary to also check for C++14? I'm happy to file PRs and follow up if this seems like something we want for boost 1.90.0. - Nigel