baidu / sofa-pbrpc

A light-weight RPC implement of google protobuf RPC framework.
Other
2.13k stars 655 forks source link

unit_test compiler error #150

Closed demiaowu closed 7 years ago

demiaowu commented 7 years ago

my gcc --version gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12)

error information: In file included from /home/demiaowu/sofa-pbrpc/googletest-release-1.7.0/include/gtest/internal/gtest-port.h:212:0, from /sofa-pbrpc/googletest-release-1.7.0/include/gtest/internal/gtest-internal.h:40, from /sofa-pbrpc/googletest-release-1.7.0/include/gtest/gtest.h:58, from test_common.cc:8: /usr/include/c++/6/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access struct __xfer_bufptrs ^~ Makefile:113: recipe for target 'test_common.o' failed make: *** [test_common.o] Error 1

Regrads

demiaowu commented 7 years ago

It's a trick question, more detail information can be get at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65899.

demiaowu commented 7 years ago

@zd-double @qinzuoyan @cyshi Ref #164