Warnings about Boost (warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated)

Stephan Bergmann sbergman at redhat.com
Thu Jan 14 08:18:20 UTC 2021


On 08/01/2021 09:37, Stephan Bergmann wrote:
> Yeah, that's a general issue since 
> <https://git.libreoffice.org/core/+/e0f1b5bd94550835c639efda4e4c9a801c78dbe9%5E!/> 
> "Upgrade external/boost to latest Boost 1.75.0".  But as it doesn't 
> affect --enable-werror, I didn't deem it worthwhile to silence the noise 
> by ignoring -W#pragma-messages in bin/gen-boost-headers (and whatever 
> would be necessary for MSVC).  If we hate the noise enough, though, we 
> could presumably patch external/boost's json_parser according to the 
> pragma message ("use <boost/bind/bind.hpp> + using namespace 
> boost::placeholders").

silenced now after all with 
<https://git.libreoffice.org/core/+/58a61c0b85d8e1f08922a3ccedfa6101f4bf587a%5E%21> 
"Silence Boost bind deprecation warning" and 
<https://git.libreoffice.org/core/+/3f2ba9af5dfb740320a6410e9f660129ec115728%5E%21> 
"external/boost: Silence Boost bind deprecation warning"



More information about the LibreOffice mailing list