Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.15.0
Description
With clang version 9.0.1, the C++ debug build fails with:
In file included from /home/jbapple/code/arrow/cpp/src/arrow/vendored/xxhash/xxhash.h:532: /home/jbapple/code/arrow/cpp/src/arrow/vendored/xxhash/xxhash.c:810:11: error: use of logical '||' with constant operand [-Werror,-Wconstant-logical-operand] if (0 || 0) { ^ ~ /home/jbapple/code/arrow/cpp/src/arrow/vendored/xxhash/xxhash.c:810:11: note: use '|' for a bitwise operation if (0 || 0) { ^~ |
The simple fix is to add -Wno-constant-logical-operand to SetupCxxFlags.cmake.
Attachments
Issue Links
- links to