[ https://issues.apache.org/jira/browse/PARQUET-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated PARQUET-1179: ---------------------------------- Fix Version/s: cpp-1.4.0 > [C++] Support Apache Thrift 0.11 > -------------------------------- > > Key: PARQUET-1179 > URL: https://issues.apache.org/jira/browse/PARQUET-1179 > Project: Parquet > Issue Type: Bug > Components: parquet-cpp > Environment: OSX 10.13.2 > Apple Clang > {code:java} > Apple LLVM version 9.0.0 (clang-900.0.39.2) > Target: x86_64-apple-darwin17.3.0 > Thread model: posix > InstalledDir: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > {code} > Reporter: Stephen Carman > Fix For: cpp-1.4.0 > > > I am not sure if this is an OSX specific issue or something with a new > version of Boost, but parquet does not seem to build with the current setup. > {code:java} > In file included from > /Users/steve_carman/software/parquet-cpp/src/parquet/schema.cc:28: > /Users/steve_carman/software/parquet-cpp/src/parquet/thrift.h:105:34: error: > no viable conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'stdcxx::shared_ptr<TTransport>' > tproto_factory.getProtocol(tmem_transport); > ^~~~~~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3900:23: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'nullptr_t' > for 1st argument > _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3914:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'const > std::__1::shared_ptr<apache::thrift::transport::TTransport> &' for 1st > argument > shared_ptr(const shared_ptr& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3922:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'std::__1::shared_ptr<apache::thrift::transport::TTransport> &&' for 1st > argument > shared_ptr(shared_ptr&& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3917:9: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > shared_ptr(const shared_ptr<_Yp>& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3923:52: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > template<class _Yp> _LIBCPP_INLINE_VISIBILITY > shared_ptr(shared_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3931:9: > note: candidate template ignored: could not match 'auto_ptr' against > 'shared_ptr' > shared_ptr(auto_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3940:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3949:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /usr/local/include/thrift/protocol/TCompactProtocol.h:242:76: note: passing > argument to parameter 'trans' here > stdcxx::shared_ptr<TProtocol> getProtocol(stdcxx::shared_ptr<TTransport> > trans) { > ^ > In file included from > /Users/steve_carman/software/parquet-cpp/src/parquet/schema.cc:28: > /Users/steve_carman/software/parquet-cpp/src/parquet/thrift.h:128:34: error: > no viable conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'stdcxx::shared_ptr<TTransport>' > tproto_factory.getProtocol(mem_buffer); > ^~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3900:23: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'nullptr_t' > for 1st argument > _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3914:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'const > std::__1::shared_ptr<apache::thrift::transport::TTransport> &' for 1st > argument > shared_ptr(const shared_ptr& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3922:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'std::__1::shared_ptr<apache::thrift::transport::TTransport> &&' for 1st > argument > shared_ptr(shared_ptr&& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3917:9: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > shared_ptr(const shared_ptr<_Yp>& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3923:52: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > template<class _Yp> _LIBCPP_INLINE_VISIBILITY > shared_ptr(shared_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3931:9: > note: candidate template ignored: could not match 'auto_ptr' against > 'shared_ptr' > shared_ptr(auto_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3940:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3949:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /usr/local/include/thrift/protocol/TCompactProtocol.h:242:76: note: passing > argument to parameter 'trans' here > stdcxx::shared_ptr<TProtocol> getProtocol(stdcxx::shared_ptr<TTransport> > trans) { > ^ > 2 errors generated. > make[2]: *** [CMakeFiles/parquet_objlib.dir/src/parquet/schema.cc.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > In file included from > /Users/steve_carman/software/parquet-cpp/src/parquet/file/writer-internal.cc:28: > /Users/steve_carman/software/parquet-cpp/src/parquet/thrift.h:105:34: error: > no viable conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'stdcxx::shared_ptr<TTransport>' > tproto_factory.getProtocol(tmem_transport); > ^~~~~~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3900:23: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'nullptr_t' > for 1st argument > _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3914:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'const > std::__1::shared_ptr<apache::thrift::transport::TTransport> &' for 1st > argument > shared_ptr(const shared_ptr& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3922:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'std::__1::shared_ptr<apache::thrift::transport::TTransport> &&' for 1st > argument > shared_ptr(shared_ptr&& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3917:9: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > shared_ptr(const shared_ptr<_Yp>& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3923:52: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > template<class _Yp> _LIBCPP_INLINE_VISIBILITY > shared_ptr(shared_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3931:9: > note: candidate template ignored: could not match 'auto_ptr' against > 'shared_ptr' > shared_ptr(auto_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3940:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3949:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /usr/local/include/thrift/protocol/TCompactProtocol.h:242:76: note: passing > argument to parameter 'trans' here > stdcxx::shared_ptr<TProtocol> getProtocol(stdcxx::shared_ptr<TTransport> > trans) { > ^ > In file included from > /Users/steve_carman/software/parquet-cpp/src/parquet/file/writer-internal.cc:28: > /Users/steve_carman/software/parquet-cpp/src/parquet/thrift.h:128:34: error: > no viable conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'stdcxx::shared_ptr<TTransport>' > tproto_factory.getProtocol(mem_buffer); > ^~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3900:23: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'nullptr_t' > for 1st argument > _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3914:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'const > std::__1::shared_ptr<apache::thrift::transport::TTransport> &' for 1st > argument > shared_ptr(const shared_ptr& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3922:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'std::__1::shared_ptr<apache::thrift::transport::TTransport> &&' for 1st > argument > shared_ptr(shared_ptr&& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3917:9: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > shared_ptr(const shared_ptr<_Yp>& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3923:52: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > template<class _Yp> _LIBCPP_INLINE_VISIBILITY > shared_ptr(shared_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3931:9: > note: candidate template ignored: could not match 'auto_ptr' against > 'shared_ptr' > shared_ptr(auto_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3940:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3949:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /usr/local/include/thrift/protocol/TCompactProtocol.h:242:76: note: passing > argument to parameter 'trans' here > stdcxx::shared_ptr<TProtocol> getProtocol(stdcxx::shared_ptr<TTransport> > trans) { > ^ > 2 errors generated. > make[2]: *** > [CMakeFiles/parquet_objlib.dir/src/parquet/file/writer-internal.cc.o] Error 1 > In file included from > /Users/steve_carman/software/parquet-cpp/src/parquet/file/reader-internal.cc:32: > /Users/steve_carman/software/parquet-cpp/src/parquet/thrift.h:105:34: error: > no viable conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'stdcxx::shared_ptr<TTransport>' > tproto_factory.getProtocol(tmem_transport); > ^~~~~~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3900:23: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'nullptr_t' > for 1st argument > _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3914:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'const > std::__1::shared_ptr<apache::thrift::transport::TTransport> &' for 1st > argument > shared_ptr(const shared_ptr& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3922:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'std::__1::shared_ptr<apache::thrift::transport::TTransport> &&' for 1st > argument > shared_ptr(shared_ptr&& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3917:9: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > shared_ptr(const shared_ptr<_Yp>& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3923:52: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > template<class _Yp> _LIBCPP_INLINE_VISIBILITY > shared_ptr(shared_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3931:9: > note: candidate template ignored: could not match 'auto_ptr' against > 'shared_ptr' > shared_ptr(auto_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3940:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3949:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /usr/local/include/thrift/protocol/TCompactProtocol.h:242:76: note: passing > argument to parameter 'trans' here > stdcxx::shared_ptr<TProtocol> getProtocol(stdcxx::shared_ptr<TTransport> > trans) { > ^ > In file included from > /Users/steve_carman/software/parquet-cpp/src/parquet/file/reader-internal.cc:32: > /Users/steve_carman/software/parquet-cpp/src/parquet/thrift.h:128:34: error: > no viable conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'stdcxx::shared_ptr<TTransport>' > tproto_factory.getProtocol(mem_buffer); > ^~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3900:23: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'nullptr_t' > for 1st argument > _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3914:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'const > std::__1::shared_ptr<apache::thrift::transport::TTransport> &' for 1st > argument > shared_ptr(const shared_ptr& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3922:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'std::__1::shared_ptr<apache::thrift::transport::TTransport> &&' for 1st > argument > shared_ptr(shared_ptr&& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3917:9: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > shared_ptr(const shared_ptr<_Yp>& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3923:52: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > template<class _Yp> _LIBCPP_INLINE_VISIBILITY > shared_ptr(shared_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3931:9: > note: candidate template ignored: could not match 'auto_ptr' against > 'shared_ptr' > shared_ptr(auto_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3940:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3949:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /usr/local/include/thrift/protocol/TCompactProtocol.h:242:76: note: passing > argument to parameter 'trans' here > stdcxx::shared_ptr<TProtocol> getProtocol(stdcxx::shared_ptr<TTransport> > trans) { > ^ > 2 errors generated. > make[2]: *** > [CMakeFiles/parquet_objlib.dir/src/parquet/file/reader-internal.cc.o] Error 1 > In file included from > /Users/steve_carman/software/parquet-cpp/src/parquet/file/metadata.cc:26: > /Users/steve_carman/software/parquet-cpp/src/parquet/thrift.h:105:34: error: > no viable conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'stdcxx::shared_ptr<TTransport>' > tproto_factory.getProtocol(tmem_transport); > ^~~~~~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3900:23: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'nullptr_t' > for 1st argument > _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3914:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'const > std::__1::shared_ptr<apache::thrift::transport::TTransport> &' for 1st > argument > shared_ptr(const shared_ptr& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3922:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'std::__1::shared_ptr<apache::thrift::transport::TTransport> &&' for 1st > argument > shared_ptr(shared_ptr&& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3917:9: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > shared_ptr(const shared_ptr<_Yp>& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3923:52: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > template<class _Yp> _LIBCPP_INLINE_VISIBILITY > shared_ptr(shared_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3931:9: > note: candidate template ignored: could not match 'auto_ptr' against > 'shared_ptr' > shared_ptr(auto_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3940:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3949:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /usr/local/include/thrift/protocol/TCompactProtocol.h:242:76: note: passing > argument to parameter 'trans' here > stdcxx::shared_ptr<TProtocol> getProtocol(stdcxx::shared_ptr<TTransport> > trans) { > ^ > In file included from > /Users/steve_carman/software/parquet-cpp/src/parquet/file/metadata.cc:26: > /Users/steve_carman/software/parquet-cpp/src/parquet/thrift.h:128:34: error: > no viable conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'stdcxx::shared_ptr<TTransport>' > tproto_factory.getProtocol(mem_buffer); > ^~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3900:23: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'nullptr_t' > for 1st argument > _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3914:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to 'const > std::__1::shared_ptr<apache::thrift::transport::TTransport> &' for 1st > argument > shared_ptr(const shared_ptr& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3922:5: > note: candidate constructor not viable: no known conversion from > 'boost::shared_ptr<apache::thrift::transport::TMemoryBuffer>' to > 'std::__1::shared_ptr<apache::thrift::transport::TTransport> &&' for 1st > argument > shared_ptr(shared_ptr&& __r) _NOEXCEPT; > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3917:9: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > shared_ptr(const shared_ptr<_Yp>& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3923:52: > note: candidate template ignored: could not match 'std::__1::shared_ptr' > against 'boost::shared_ptr' > template<class _Yp> _LIBCPP_INLINE_VISIBILITY > shared_ptr(shared_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3931:9: > note: candidate template ignored: could not match 'auto_ptr' against > 'shared_ptr' > shared_ptr(auto_ptr<_Yp>&& __r, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3940:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3949:9: > note: candidate template ignored: could not match 'unique_ptr' against > 'shared_ptr' > shared_ptr(unique_ptr<_Yp, _Dp>&&, > ^ > /usr/local/include/thrift/protocol/TCompactProtocol.h:242:76: note: passing > argument to parameter 'trans' here > stdcxx::shared_ptr<TProtocol> getProtocol(stdcxx::shared_ptr<TTransport> > trans) { > ^ > 2 errors generated. > make[2]: *** [CMakeFiles/parquet_objlib.dir/src/parquet/file/metadata.cc.o] > Error 1 > make[1]: *** [CMakeFiles/parquet_objlib.dir/all] Error 2 > make: *** [all] Error 2 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)