Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2020-11-12 12:14:29


On 11/12/20 11:25 AM, Richard Hodges via Boost wrote:
> Clang11, Fedora 33:
>
> with:
>
> $ ./b2 toolset=clang variant=release cxxstd=20 --layout=versioned -j64 stage
>
> Many warnings like this:
>
> clang-linux.compile.c++.without-pch
> bin.v2/libs/locale/build/clang-linux-11.0.0/release/cxxstd-20-iso/link-static/threadapi-pthread/threading-multi/visibility-hidden/std/std_backend.o
> In file included from libs/locale/src/std/std_backend.cpp:9:
> ./boost/locale/localization_backend.hpp:109:18: warning:
> 'auto_ptr<boost::locale::localization_backend>' is deprecated
> [-Wdeprecated-declarations]
> std::auto_ptr<localization_backend> get() const;
> ^
> /usr/bin/../lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/backward/auto_ptr.h:287:7:
> note: 'auto_ptr<boost::locale::localization_backend>' has been explicitly
> marked deprecated here
> } _GLIBCXX_DEPRECATED;
> ^

https://github.com/boostorg/locale/issues/27

This had also come up on this list, I think.

PS: Please, don't top post.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk