rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vongosl...@apache.org
Subject [rocketmq-client-cpp] branch master updated: feat(jsoncpp): update jsoncpp to 0.10.7 in order to fix build error by gcc7+ (#256)
Date Mon, 24 Feb 2020 08:08:42 GMT
This is an automated email from the ASF dual-hosted git repository.

vongosling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new 32f8cc1  feat(jsoncpp): update jsoncpp to 0.10.7 in order to fix build error by gcc7+
(#256)
32f8cc1 is described below

commit 32f8cc1d1709813bc34c4ff3e3fc5bcb3e25ceaf
Author: dinglei <libya_003@163.com>
AuthorDate: Mon Feb 24 16:08:33 2020 +0800

    feat(jsoncpp): update jsoncpp to 0.10.7 in order to fix build error by gcc7+ (#256)
    
    * feat(jsoncpp): update jsoncpp to 0.10.7 in order to fix build error by gcc7+
    
    * doc(readme): modify jsoncpp to 0.10.7
    
    * doc(readme): modify jsoncpp to 0.10.7
---
 README.md        | 4 ++--
 build.sh         | 2 +-
 example/common.h | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index ddfd8d4..f4364db 100644
--- a/README.md
+++ b/README.md
@@ -33,9 +33,9 @@ RocketMQ-Client-CPP is the C/C++ client of Apache RocketMQ, a distributed
messag
 	- bzip2-devel 1.0.6: boost depend it
 	- zlib-devel
 
-The **build.sh** script will automatically download and build the dependency libraries including
libevent, json and boost. It will save libraries under rocketmq-client-cpp folder, and then
build both static and shared libraries for rocketmq-client. If the dependent libraries are
built failed, you could try to build it manually with sources [libevent 2.0.22](https://github.com/libevent/libevent/archive/release-2.0.22-stable.zip
"lib event 2.0.22"), [jsoncpp 0.10.6](https://github.com/open [...]
+The **build.sh** script will automatically download and build the dependency libraries including
libevent, json and boost. It will save libraries under rocketmq-client-cpp folder, and then
build both static and shared libraries for rocketmq-client. If the dependent libraries are
built failed, you could try to build it manually with sources [libevent 2.0.22](https://github.com/libevent/libevent/archive/release-2.0.22-stable.zip
"lib event 2.0.22"), [jsoncpp 0.10.7](https://github.com/open [...]
 
-If your host is not available to internet to download the three library source files, you
can copy the three library source files (release-2.0.22-stable.zip  0.10.6.zip and boost_1_58_0.tar.gz)
to rocketmq-client-cpp root dir, then the build.sh will automatically use the three library
source files to build rocketmq-client-cpp:
+If your host is not available to internet to download the three library source files, you
can copy the three library source files (release-2.0.22-stable.zip  0.10.7.zip and boost_1_58_0.tar.gz)
to rocketmq-client-cpp root dir, then the build.sh will automatically use the three library
source files to build rocketmq-client-cpp:
 
     sh build.sh
 
diff --git a/build.sh b/build.sh
index 4781b95..6979cd2 100755
--- a/build.sh
+++ b/build.sh
@@ -27,7 +27,7 @@ fname_libevent="libevent*.zip"
 fname_jsoncpp="jsoncpp*.zip"
 fname_boost="boost*.tar.gz"
 fname_libevent_down="release-2.1.11-stable.zip"
-fname_jsoncpp_down="0.10.6.zip"
+fname_jsoncpp_down="0.10.7.zip"
 fname_boost_down="1.58.0/boost_1_58_0.tar.gz"
 
 PrintParams() {
diff --git a/example/common.h b/example/common.h
index e3f1b09..7dbd3d9 100644
--- a/example/common.h
+++ b/example/common.h
@@ -17,6 +17,7 @@
 #ifndef ROCKETMQ_CLIENT4CPP_EXAMPLE_COMMON_H_
 #define ROCKETMQ_CLIENT4CPP_EXAMPLE_COMMON_H_
 
+#include <functional>
 #include <atomic>
 #include <chrono>
 #include <iostream>


Mime
View raw message