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
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 1Regrads