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

[C++] LLVM deprecation errors when building Gandiva

    XMLWordPrintableJSON

Details

    Description

      This just appeared on an unrelated PR:

      https://github.com/apache/arrow/actions/runs/3084066139/jobs/4985765033#step:9:1694

      In file included from /Users/runner/work/arrow/arrow/cpp/src/gandiva/cast_time.cc:25:
      In file included from /Users/runner/work/arrow/arrow/cpp/src/gandiva/exported_funcs.h:20:
      In file included from /Users/runner/work/arrow/arrow/cpp/src/gandiva/exported_funcs_registry.h:23:
      In file included from /Users/runner/work/arrow/arrow/cpp/src/gandiva/engine.h:29:
      /Users/runner/work/arrow/arrow/cpp/src/gandiva/llvm_includes.h:49:62: error: 'getPointerElementType' is deprecated: Deprecated without replacement, see https://llvm.org/docs/OpaquePointers.html for context and migration instructions [-Werror,-Wdeprecated-declarations]
        return builder->CreateGEP(Ptr->getType()->getScalarType()->getPointerElementType(), Ptr,
                                                                   ^
      /usr/local/opt/llvm/include/llvm/IR/Type.h:377:5: note: 'getPointerElementType' has been explicitly marked deprecated here
        [[deprecated("Deprecated without replacement, see "
          ^
      

      Attachments

        Issue Links

          Activity

            People

              jinshang Jin Shang
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: