You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Todd Farmer (Jira)" <ji...@apache.org> on 2022/09/03 16:51:00 UTC

[jira] [Assigned] (ARROW-16644) [C++] Unsuppress -Wno-return-stack-address

     [ https://issues.apache.org/jira/browse/ARROW-16644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Farmer reassigned ARROW-16644:
-----------------------------------

    Assignee:     (was: Dulvin Witharane)

> [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
>            Priority: Major
>              Labels: beginner, good-first-issue
>
> 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.10#820010)