apache / arrow-nanoarrow

Helpers for Arrow C Data & Arrow C Stream interfaces
https://arrow.apache.org/nanoarrow
Apache License 2.0
149 stars 34 forks source link

fix: Ensure nanoarrow.hpp compiles on gcc 4.8 #472

Closed paleolimbot closed 1 month ago

paleolimbot commented 1 month ago

Apparently gcc4.8 takes issue with the use of braces in some places and does not provide is_trivially_copyable() or std::size() 🤷

Closes #462 .

Tested via

export NANOARROW_PLATFORM=centos7
export NANOARROW_ARCH=arm64  # because I'm on MacOS M1
docker compose run --rm verify