This is an automated email from the ASF dual-hosted git repository. mmerli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push: new 1e2b5d7 Add std=c99 to CMAKE_C_FLAGS to avoid compile error with gcc-4.8 (#2086) 1e2b5d7 is described below commit 1e2b5d769e988393d0b3de1438a03c730b016d63 Author: hrsakai <hsa...@yahoo-corp.jp> AuthorDate: Fri Jul 13 14:40:41 2018 +0900 Add std=c99 to CMAKE_C_FLAGS to avoid compile error with gcc-4.8 (#2086) --- pulsar-client-cpp/examples/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pulsar-client-cpp/examples/CMakeLists.txt b/pulsar-client-cpp/examples/CMakeLists.txt index 6459b60..1480a87 100644 --- a/pulsar-client-cpp/examples/CMakeLists.txt +++ b/pulsar-client-cpp/examples/CMakeLists.txt @@ -17,6 +17,8 @@ # under the License. # +set(CMAKE_C_FLAGS " -std=c99 ${CMAKE_C_FLAGS}") + set(SAMPLE_ASYNC_PRODUCER_SOURCES SampleAsyncProducer.cc )