Re: [release] Master branch is now open for bug fixes
I don't know if this impacts the release but when I build my own library I am seeing build errors at the moment on C++11 clang. 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] class BOOST_ASIO_DEPRECATED_MSG( ^ ./boost/asio/detail/config.hpp:1373:46: note: expanded from macro 'BOOST_ASIO_DEPRECATED_MSG' # define BOOST_ASIO_DEPRECATED_MSG(msg) [[deprecated(msg)]] ^ 1 error generated. (see also https://github.com/chriskohlhoff/asio/issues/1683 )
Mungo Gill wrote:
I don't know if this impacts the release but when I build my own library I am seeing build errors at the moment on C++11 clang.
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] class BOOST_ASIO_DEPRECATED_MSG( ^ ./boost/asio/detail/config.hpp:1373:46: note: expanded from macro 'BOOST_ASIO_DEPRECATED_MSG' # define BOOST_ASIO_DEPRECATED_MSG(msg) [[deprecated(msg)]] ^ 1 error generated.
(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.
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
participants (3)
-
Mungo Gill -
Nigel Stewart -
Peter Dimov