c0dzilla commented on issue #37107:
URL: https://github.com/apache/arrow/issues/37107#issuecomment-1684091319
Confirmed that this works on g++ 7.3.0:
```
codzilla@hogwarts:~/arrow/cpp/build$ git diff
diff --git a/cpp/src/arrow/util/ree_util.h b/cpp/src/arrow/util/ree_util.h
index 5a24024..c6bb4e5 100644
--- a/cpp/src/arrow/util/ree_util.h
+++ b/cpp/src/arrow/util/ree_util.h
@@ -104,6 +104,7 @@ int64_t FindPhysicalLength(const RunEndCType* run_ends,
int64_t run_ends_size,
int64_t length, int64_t offset) {
auto [_, physical_length] =
FindPhysicalRange<RunEndCType>(run_ends, run_ends_size, length,
offset);
+ ARROW_UNUSED(_);
return physical_length;
}
codzilla@hogwarts:~/arrow/cpp/build$ cmake --build .
Recompacting log...
[91/91] Creating library symlink debug/libarrow.so.1300 debug/libarrow.so
```
--
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]