zhjwpku opened a new pull request, #1188: URL: https://github.com/apache/iceberg-cpp/pull/1188
The Mumbling reader added in #1126 selects the SSE2 lookup on x86-64, but also compiles the unused portable `ContainsByte32` helper. With `-Wall -Werror`, Clang rejects `mumbling_bitmap.cc` with `-Wunused-function`. Use the same `ICEBERG_MUMBLING_SSE2` condition for the helper definitions as for their call sites, so each build compiles only the implementation it uses. ### Testing - Compiled with AppleClang and `-Wall -Werror` for x86-64 with SSE2, x86-64 with `ICEBERG_MUMBLING_SSE2=0`, and ARM64. Checked membership for 8,704 positions in each configuration. - Ran all 24 Mumbling bitmap and PFOR unit tests on ARM64. - Ran `pre-commit run --all-files`. Codex assisted with the change and local verification. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
