You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/24 08:38:38 UTC
[GitHub] [arrow] pitrou removed a comment on pull request #12537: ARROW-3998: [C++] Add TPC-H Generator
pitrou removed a comment on pull request #12537:
URL: https://github.com/apache/arrow/pull/12537#issuecomment-1077334837
I get the following warning when compiling the benchmarks:
```
[241/415] Building CXX object src/arrow/util/CMakeFiles/arrow-small-vector-benchmark.dir/small_vector_benchmark.cc.o
/home/antoine/arrow/dev/cpp/src/arrow/util/small_vector_benchmark.cc:70:37: warning: address of stack memory associated with parameter 'v' returned [-Wreturn-stack-address]
return reinterpret_cast<intptr_t>(v.data());
^
/home/antoine/arrow/dev/cpp/src/arrow/util/small_vector_benchmark.cc:119:16: note: in instantiation of function template specialization 'arrow::internal::ConsumeVector<std::vector<int>>' requested here
dummy += ConsumeVector(vec);
^
/home/antoine/arrow/dev/cpp/src/arrow/util/small_vector_benchmark.cc:325:1: note: in instantiation of function template specialization 'arrow::internal::CopyEmptyVector<std::vector<int>>' requested here
SHORT_VECTOR_BENCHMARKS(STD_VECTOR);
^
/home/antoine/arrow/dev/cpp/src/arrow/util/small_vector_benchmark.cc:287:22: note: expanded from macro 'SHORT_VECTOR_BENCHMARKS'
BENCHMARK_TEMPLATE(CopyEmptyVector, VEC_TYPE_FACTORY(int)); \
^
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org