Boost has name collision with c++11. Switch the standard of. Then you have better chances I think.
Am 15. August 2017 14:22:50 MESZ schrieb Jim Jagielski <j...@jagunet.com>: >Just starting replaying w/ building 4.2.0 on macOS and ran into >this: > > error: no type named 'unique_ptr' in namespace 'std' > >but the rub is that we for sure specify c++11 as we should: > >/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ >-arch x86_64 -std=c++11 -arch x86_64 -o out/der_getint_unittest.o -c >-O2 -fPIC -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK >-Wall -Qunused-arguments -Wno-parentheses-equality -Wno-array-bounds >-Wno-unevaluated-expression -Werror -Wsign-compare -DXP_UNIX -UDEBUG >-DNDEBUG -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT >-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES >-I../../external_tests/google_test/gtest/include >-I../../external_tests/common -I../../../dist/out/include >-I../../../dist/public/nss -I../../../dist/private/nss >-I../../../dist/public/nspr -I../../../dist/public/nss >-I../../../dist/public/libdbm -I../../../dist/public/gtest -std=c++0x >der_getint_unittest.cc >In file included from der_getint_unittest.cc:14: >../../external_tests/common/scoped_ptrs.h:36:1: error: no type named >'unique_ptr' in namespace 'std' >SCOPED(CERTCertificate); > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org