You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2023/04/17 10:03:07 UTC

[qpid-cpp] branch main updated: QPID-8605: silence the boost bind global placeholders warning (#41)

This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 1077fe6b2 QPID-8605: silence the boost bind global placeholders warning (#41)
1077fe6b2 is described below

commit 1077fe6b2a2e0db9921e8cf10ec3a4ce19d64fad
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Mon Apr 17 12:03:01 2023 +0200

    QPID-8605: silence the boost bind global placeholders warning (#41)
---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6191a5599..4b618b7ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,6 +77,9 @@ if (MSVC)
   add_compile_options(/wd4996)
 endif (MSVC)
 
+# QPID-8605: silence the global placeholders deprecation warning from boost
+add_compile_definitions(BOOST_BIND_GLOBAL_PLACEHOLDERS)
+
 # Overall packaging/install options.
 # This section also has all the setup for various packaging-specific options.
 set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org