You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/06/04 10:01:00 UTC

[jira] [Created] (ARROW-5507) [Plasma] [C++] Compile error

Antoine Pitrou created ARROW-5507:
-------------------------------------

             Summary: [Plasma] [C++] Compile error
                 Key: ARROW-5507
                 URL: https://issues.apache.org/jira/browse/ARROW-5507
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++ - Plasma
            Reporter: Antoine Pitrou


I'm starting getting this today:
{code}
../src/plasma/protocol.cc:546:55: error: no matching member function for call to 'CreateVector'
      handles.push_back(fb::CreateCudaHandle(fbb, fbb.CreateVector(handle)));
                                                  ~~~~^~~~~~~~~~~~
/home/antoine/miniconda3/envs/pyarrow/include/flatbuffers/flatbuffers.h:1484:27: note: candidate function not viable: no known conversion from 'std::shared_ptr<arrow::Buffer>' to 'const std::vector<bool>' for 1st argument
  Offset<Vector<uint8_t>> CreateVector(const std::vector<bool> &v) {
                          ^
/home/antoine/miniconda3/envs/pyarrow/include/flatbuffers/flatbuffers.h:1477:42: note: candidate template ignored: could not match 'vector' against 'shared_ptr'
  template<typename T> Offset<Vector<T>> CreateVector(const std::vector<T> &v) {
                                         ^
/home/antoine/miniconda3/envs/pyarrow/include/flatbuffers/flatbuffers.h:1443:42: note: candidate function template not viable: requires 2 arguments, but 1 was provided
  template<typename T> Offset<Vector<T>> CreateVector(const T *v, size_t len) {
                                         ^
/home/antoine/miniconda3/envs/pyarrow/include/flatbuffers/flatbuffers.h:1465:29: note: candidate function template not viable: requires 2 arguments, but 1 was provided
  Offset<Vector<Offset<T>>> CreateVector(const Offset<T> *v, size_t len) {
                            ^
/home/antoine/miniconda3/envs/pyarrow/include/flatbuffers/flatbuffers.h:1501:42: note: candidate function template not viable: requires 2 arguments, but 1 was provided
  template<typename T> Offset<Vector<T>> CreateVector(size_t vector_size,
                                         ^
/home/antoine/miniconda3/envs/pyarrow/include/flatbuffers/flatbuffers.h:1520:21: note: candidate function template not viable: requires 3 arguments, but 1 was provided
  Offset<Vector<T>> CreateVector(size_t vector_size, F f, S *state) {
                    ^
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)