raulcd commented on issue #40674:
URL: https://github.com/apache/arrow/issues/40674#issuecomment-2007559409
The error seems to be:
```
FAILED: arrow-glib/libarrow-glib.1500.dylib.p/array-builder.cpp.o
clang++ -Iarrow-glib/libarrow-glib.1500.dylib.p -I. -I../c_glib
-I/opt/homebrew/Cellar/apache-arrow/15.0.2/include
-I/opt/homebrew/Cellar/pcre2/10.43/include
-I/opt/homebrew/Cellar/glib/2.80.0/include
-I/opt/homebrew/Cellar/glib/2.80.0/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.80.0/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include
-I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/ffi
-fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1
-D_LIBCPP_ENABLE_ASSERTIONS=1 -Wall -Winvalid-pch -std=c++17 -O3
-Wmissing-declarations -MD -MQ
arrow-glib/libarrow-glib.1500.dylib.p/array-builder.cpp.o -MF
arrow-glib/libarrow-glib.1500.dylib.p/array-builder.cpp.o.d -o
arrow-glib/libarrow-glib.1500.dylib.p/array-builder.cpp.o -c
../c_glib/arrow-glib/array-builder.cpp
../c_glib/arrow-glib/array-builder.cpp:5171:41: error: cannot initialize a
parameter of type 'const int64_t *' (aka 'const long long *') with an lvalue of
type 'const gint64 *' (aka 'const long *')
return arrow_builder->AppendIndices(values, values_length,
valid_bytes);
^~~~~~
/opt/homebrew/Cellar/apache-arrow/15.0.2/include/arrow/array/builder_dict.h:691:39:
note: passing argument to parameter 'values' here
Status AppendIndices(const int64_t* values, int64_t length,
^
../c_glib/arrow-glib/array-builder.cpp:5405:41: error: cannot initialize a
parameter of type 'const int64_t *' (aka 'const long long *') with an lvalue of
type 'const gint64 *' (aka 'const long *')
return arrow_builder->AppendIndices(values, values_length,
valid_bytes);
^~~~~~
/opt/homebrew/Cellar/apache-arrow/15.0.2/include/arrow/array/builder_dict.h:691:39:
note: passing argument to parameter 'values' here
Status AppendIndices(const int64_t* values, int64_t length,
^
2 errors generated.
```
cc @kou
--
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]