bingwei commented on issue #184:
URL: 
https://github.com/apache/rocketmq-client-cpp/issues/184#issuecomment-1259054458

   more detail from what I got.
   rocketmq-client-cpp: 2.1.0
   boost_1_77_0.tar.gz
   libevent-release-2.1.11-stable.zip
   jsoncpp-0.10.7.zip
   -------
   
   
   [ 64%] Building CXX object 
project/CMakeFiles/rocketmq_static.dir/__/src/producer/TransactionMQProducerImpl.cpp.o
   cd 
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/tmp_build_dir/project
 && /Library/Developer/CommandLineTools/usr/bin/c++  
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/bin/include
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/bin/include/jsoncpp
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/include
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/common
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/consumer
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/extern
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/include
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/log
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/message
 -I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0
 /src/producer 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/protocol
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/thread
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/trace
 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/transport
 -I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src 
-I/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/libs/signature/include
 -Wall -Wno-deprecated -fPIC -fno-strict-aliasing -std=c++11 
-Wno-unused-local-typedef -Wno-expansion-to-defined -m64 -O3 -DNDEBUG -arch 
arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk -MD -MT 
project/CMakeFiles/rocketmq_static.dir/__/src/producer/TransactionMQProducerImpl.cpp.o
 -MF 
CMakeFiles/rocketmq_static.dir/__/src/producer/TransactionMQProducerImpl.cpp.o.d
 -o CMakeFiles/rocketmq_static.dir/__/src/producer/TransactionMQProducerImpl.
 cpp.o -c 
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/producer/TransactionMQProducerImpl.cpp
   1 error generated.
   make[2]: *** 
[project/CMakeFiles/rocketmq_static.dir/__/src/producer/StringIdMaker.cpp.o] 
Error 1
   make[2]: *** Waiting for unfinished jobs....
   1 warning generated.
   1 warning generated.
   In file included from 
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/producer/TransactionMQProducer.cpp:21:
   In file included from 
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/producer/TransactionMQProducerImpl.h:23:
   
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/bin/include/boost/bind.hpp:36:1:
 warning: 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. [-W#pragma-messages]
   BOOST_PRAGMA_MESSAGE(
   ^
   
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/bin/include/boost/config/pragma_message.hpp:24:34:
 note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
   # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
                                    ^
   <scratch space>:393:2: note: expanded from here
    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.")
    ^
   In file included from 
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/producer/TransactionMQProducerImpl.cpp:18:
   In file included from 
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/src/producer/TransactionMQProducerImpl.h:23:
   
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/bin/include/boost/bind.hpp:36:1:
 warning: 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. [-W#pragma-messages]
   BOOST_PRAGMA_MESSAGE(
   ^
   
/Users/bj00137ml/temp/rocketmq-client-install/rocketmq-client-cpp-2.1.0/bin/include/boost/config/pragma_message.hpp:24:34:
 note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
   # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
                                    ^
   <scratch space>:185:2: note: expanded from here
    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.")
    ^
   1 warning generated.
   1 warning generated.
   1 warning generated.
   1 warning generated.
   make[1]: *** [project/CMakeFiles/rocketmq_static.dir/all] Error 2
   make: *** [all] Error 2
   build error.....
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to