zeroshade commented on issue #37442:
URL: https://github.com/apache/arrow/issues/37442#issuecomment-1719784115

   Hmm, this looks like the issue is caused by the version of C++ being 
utilized by the compiler. The `cgoalloc` uses the Arrow C++ library memory pool 
to perform allocations via the allocator and includes `arrow/memory_pool.h` 
which expects C++17 or greater to compile.
   
   Alternately you could remove the `ccalloc` tag and use 
https://pkg.go.dev/github.com/apache/arrow/go/[email protected]/arrow/memory/mallocator
 which is just a simple implementation of the `memory.Allocator` which uses 
`malloc` directly rather than calling out to the Arrow C++ library. It should 
also alleviate your compile error issue.


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