Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16644

[C++] Unsuppress -Wno-return-stack-address

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      Follow up for ARROW-16643: this code in small_vector_benchmark.cc generates a warning on clang-14 that we should unsuppress

      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());
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lidavidm David Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: