apache / arrow

Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
https://arrow.apache.org/
Apache License 2.0
14.45k stars 3.52k forks source link

[C++] Build fail with Clang 19-rc2 "arithmetic on a pointer to an incomplete type" #43603

Open vient opened 2 months ago

vient commented 2 months ago

Describe the bug, including details regarding any error messages, version, and platform.

Compiling Arrow 15.0.0 with Clang 19 results in error: arithmetic on a pointer to an incomplete type 'FileInfo' in FileSystemDatasetFactory class. Can't test latest Arrow right now.

A complementary issue to https://github.com/llvm/llvm-project/issues/102293, more info there.

Component(s)

C++

vient commented 2 months ago

Tested with 17.0.0, same issue