You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/03/14 13:37:00 UTC

[jira] [Created] (ARROW-4869) [C++] Use of gmock fails in compute/kernels/util-internal-test.cc

Wes McKinney created ARROW-4869:
-----------------------------------

             Summary: [C++] Use of gmock fails in compute/kernels/util-internal-test.cc 
                 Key: ARROW-4869
                 URL: https://issues.apache.org/jira/browse/ARROW-4869
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Wes McKinney
             Fix For: 0.13.0


Out of the box build with 

{code}
cmake .. -DARROW_BUILD_TESTS=ON -DARROW_BUILD_BENCHMARKS=ON -DARROW_PARQUET=ON -DARROW_GANDIVA=ON -DARROW_FLIGHT=ON -DARROW_BOOST_VENDORED=ON
{code}

{code}
[ 57%] Building CXX object src/arrow/ipc/CMakeFiles/arrow-ipc-json-simple-test.dir/json-simple-test.cc.o
/home/wesm/code/arrow/cpp/src/arrow/compute/kernels/util-internal-test.cc:152:3: error: reference to non-static member function must be called; did you mean to call it with no arguments?
  ((mock).gmock_out_type).InternalExpectedAt("/home/wesm/code/arrow/cpp/src/arrow/compute/kernels/util-internal-test.cc", 152, "mock", "out_type").WillRepeatedly(Return(boolean()));
  ^~~~~~~~~~~~~~~~~~~~~~~
                         ()
/home/wesm/code/arrow/cpp/src/arrow/compute/kernels/util-internal-test.cc:173:3: error: reference to non-static member function must be called; did you mean to call it with no arguments?
  ((mock).gmock_out_type).InternalExpectedAt("/home/wesm/code/arrow/cpp/src/arrow/compute/kernels/util-internal-test.cc", 173, "mock", "out_type").WillRepeatedly(Return(int32()));
  ^~~~~~~~~~~~~~~~~~~~~~~
                         ()
/home/wesm/code/arrow/cpp/src/arrow/compute/kernels/util-internal-test.cc:192:3: error: reference to non-static member function must be called; did you mean to call it with no arguments?
  ((mock).gmock_out_type).InternalExpectedAt("/home/wesm/code/arrow/cpp/src/arrow/compute/kernels/util-internal-test.cc", 192, "mock", "out_type").WillRepeatedly(Return(boolean()));
  ^~~~~~~~~~~~~~~~~~~~~~~
                         ()
/home/wesm/code/arrow/cpp/src/arrow/compute/kernels/util-internal-test.cc:213:3: error: reference to non-static member function must be called; did you mean to call it with no arguments?
  ((mock).gmock_out_type).InternalExpectedAt("/home/wesm/code/arrow/cpp/src/arrow/compute/kernels/util-internal-test.cc", 213, "mock", "out_type").WillRepeatedly(Return(int32()));
  ^~~~~~~~~~~~~~~~~~~~~~~
                         ()
4 errors generated.
make[2]: *** [src/arrow/compute/kernels/CMakeFiles/arrow-compute-util-internal-test.dir/util-internal-test.cc.o] Error 1
make[1]: *** [src/arrow/compute/kernels/CMakeFiles/arrow-compute-util-internal-test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
{code}



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