You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/05/24 18:52:00 UTC
[jira] [Created] (ARROW-16644) [C++] Unsuppress -Wno-return-stack-address
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)