Skip to content

chore: Fix errors and compiler warnings on verification platforms - #420

Merged
paleolimbot merged 6 commits into
apache:mainfrom
paleolimbot:fix-error-bigendian
Apr 10, 2024
Merged

paleolimbot merged 6 commits into
apache:mainfrom
paleolimbot:fix-error-bigendian

Conversation

@paleolimbot

@paleolimbot paleolimbot commented Apr 9, 2024

Copy link
Copy Markdown
Member

The latest verification run has a few outstanding errors ( https://github.com/apache/arrow-nanoarrow/actions/runs/8584808770/job/23525503382 ):

  • One file was missing an #include <array>
  • A Python test error message was hard-coded for little-endian systems

This also fixes a mountain of compiler warnings because of -Wmisleading-indentation on gcc that result from the flatcc generated header. These warnings made it difficult to find the Python test message error.

There were also a few other compiler warnings that I noticed when compiling the tests with Meson. Meson compiles tests with -Wall and I don't think CMake compiles them with anything in particular (we do compile the C libraries with many warning flags).

@paleolimbot
paleolimbot marked this pull request as ready for review April 9, 2024 18:48
@paleolimbot
paleolimbot merged commit 7f6e4df into apache:main Apr 10, 2024
@paleolimbot
paleolimbot deleted the fix-error-bigendian branch April 11, 2024 17:33
@paleolimbot paleolimbot added this to the nanoarrow 0.5.0 milestone May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants