You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2023/04/16 11:53:00 UTC
[jira] [Commented] (QPID-8605) Compilation prints annoying deprecation message from Boost many times: declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
[ https://issues.apache.org/jira/browse/QPID-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712771#comment-17712771 ]
Jiri Daněk commented on QPID-8605:
----------------------------------
I'm thinking of moving to the lambdas eventually, but for now, the minimally disruptive change that gets rid of the warning is to add the global define.
> Compilation prints annoying deprecation message from Boost many times: declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-8605
> URL: https://issues.apache.org/jira/browse/QPID-8605
> Project: Qpid
> Issue Type: Bug
> Components: C++ Build
> Affects Versions: qpid-cpp-1.40.0
> Reporter: Jiri Daněk
> Assignee: Jiri Daněk
> Priority: Major
> Fix For: qpid-cpp-1.40.0
>
>
> https://github.com/jiridanek/qpid-cpp/actions/runs/3308231051/jobs/5460459408#step:12:104
> {noformat}
> C:\vcpkg\installed\x64-windows\include\boost/bind.hpp(41): message : The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [D:\a\qpid-cpp\qpid-cpp\BLD\src\qpidcommon.vcxproj]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org