curoky opened a new pull request #1121: URL: https://github.com/apache/incubator-brpc/pull/1121
Thrift [dropped support for support for C++03/C++98](https://thrift.apache.org/lib/cpp#100) and removed `lib/cpp/src/thrift/stdcxx.h` in [0.13.0](https://github.com/apache/thrift/commit/316723add4c368ffd144dd5beb55245832e073fa#diff-d590dd422756aa5d86fbb57a1cdb386d) which defined `_THRIFT_STDCXX_H_`. When build brpc with thrift-0.13.0 or a newer version, there will be a compilation error. Because brpc use `boost::shared_ptr` but thrift use `std::shared_ptr`. Therefore we should use `std` by default when `_THRIFT_STDCXX_H_` is not defined. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
