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

Rene Engelhard rene at debian.org
Fri Jan 8 15:52:32 UTC 2021


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, taking a look to Jenkins there are many
files affected.
> So I would suggest to do it in a header /core
> <https://opengrok.libreoffice.org/xref/core/>/include
> <https://opengrok.libreoffice.org/xref/core/include/>/sal
> <https://opengrok.libreoffice.org/xref/core/include/sal/>/types.h
> <https://opengrok.libreoffice.org/xref/core/include/sal/types.h>
>
... an unrelated header.


Regards,

Rene



More information about the LibreOffice mailing list