kou opened a new pull request, #38004:
URL: https://github.com/apache/arrow/pull/38004

   ### Rationale for this change
   
   It's caused by `backtrace()` and `backtrace_symbols_fd()` signatures are 
different on Linux and FreeBSD (`int` vs `size_t`).
   
   Linux:
   
   ```c
   extern int backtrace (void **__array, int __size) __nonnull ((1));
   extern void backtrace_symbols_fd (void *const *__array, int __size, int __fd)
        __THROW __nonnull ((1));
   ```
   
   FreeBSD:
   
   ```c
   size_t backtrace(void **, size_t);
   int backtrace_symbols_fd(void *const *, size_t, int);
   ```
   
   ### What changes are included in this PR?
   
   Use `auto` to ignore the difference.
   
   ### Are these changes tested?
   
   Yes on FreeBSD 12.
   
   ### Are there any user-facing changes?
   
   No.


-- 
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]

Reply via email to