wesm opened a new pull request, #13225:
URL: https://github.com/apache/arrow/pull/13225

   The following code in arrow/util/small_vector_benchmark.cc generates 
`-Wreturn-stack-address` in clang-14. It might be better to fix but suppressing 
for now:
   
   ```
   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());
   }
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to