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

2021-01-14 Thread julien2412
Thank you Stephan! -- Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice

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

2021-01-14 Thread Stephan Bergmann
On 08/01/2021 09:37, Stephan Bergmann wrote: Yeah, that's a general issue since "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 t

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

2021-01-08 Thread Rene Engelhard
Am 08.01.21 um 16:52 schrieb Rene Engelhard: > Hi, > > Am 08.01.21 um 16:15 schrieb Dante Doménech: >> It can be solved adding: >> >> #ifndef BOOST_BIND_GLOBAL_PLACEHOLDERS >> >> #define BOOST_BIND_GLOBAL_PLACEHOLDERS >> >> #endif >> > Maybe. Or just define it in Repository.mk. Better place imho i

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

2021-01-08 Thread Rene Engelhard
Hi, Am 08.01.21 um 16:15 schrieb Dante Doménech: > It can be solved adding: > > #ifndef BOOST_BIND_GLOBAL_PLACEHOLDERS > > #define BOOST_BIND_GLOBAL_PLACEHOLDERS > > #endif > Maybe. Or just define it in Repository.mk. Better place imho instead of polluting .. Before the inclusion. However, takin

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

2021-01-08 Thread Dante Doménech
It can be solved adding: #ifndef BOOST_BIND_GLOBAL_PLACEHOLDERS #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif Before the inclusion. However, taking a look to Jenkins there are many files affected. So I would suggest to do it in a header /core /include

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

2021-01-08 Thread Stephan Bergmann
On 07/01/2021 19:01, julien2412 wrote: On pc Debian x86-64 with master sources updated today + make clean && make (since Boost has been upgraded), I noticed these kinds of warnings: [CXX] svx/source/fmcomp/fmgridif.cxx In file included from /home/julien/lo/libreoffice/svx/source/xoutdev/xattr.cxx

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

2021-01-07 Thread julien2412
Hello, On pc Debian x86-64 with master sources updated today + make clean && make (since Boost has been upgraded), I noticed these kinds of warnings: [CXX] svx/source/fmcomp/fmgridif.cxx In file included from /home/julien/lo/libreoffice/svx/source/xoutdev/xattr.cxx:87: In file included from /home/