David Li created ARROW-16644:
--------------------------------
Summary: [C++] Unsuppress -Wno-return-stack-address
Key: ARROW-16644
URL: https://issues.apache.org/jira/browse/ARROW-16644
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: David Li
Follow up for ARROW-16643: this code in {{small_vector_benchmark.cc}} generates
a warning on clang-14 that we should unsuppress
{code:cpp}
template <typename Vector>
ARROW_NOINLINE int64_t ConsumeVector(Vector v) {
return reinterpret_cast<intptr_t>(v.data());
}
template <typename Vector>
ARROW_NOINLINE int64_t IngestVector(const Vector& v) {
return reinterpret_cast<intptr_t>(v.data());
}
{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)