Antoine Pitrou created ARROW-17775: -------------------------------------- Summary: [C++] LLVM deprecation errors when building Gandiva Key: ARROW-17775 URL: https://issues.apache.org/jira/browse/ARROW-17775 Project: Apache Arrow Issue Type: Bug Components: C++, C++ - Gandiva, Continuous Integration Reporter: Antoine Pitrou
This just appeared on an unrelated PR: [https://github.com/apache/arrow/actions/runs/3084066139/jobs/4985765033#step:9:1694] {code} 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 " ^ {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)