Skip to content

Commit f24c79f

Browse files
committed
Suppress warnings
1 parent 7b8e782 commit f24c79f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

meson.build

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ project(
1111
'cpp_std=c++20',
1212
'warning_level=2',
1313
'default_library=static',
14+
# TODO: how can we only set this for nanobind?
15+
'cpp_args=-Wno-sign-compare'
1416
]
1517
)
1618

pandas/_libs/arrow_string_accumulations.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class ArrowStringAccumulation {
143143
ArrowArrayStreamMove(stream, stream_.get());
144144
}
145145

146-
std::pair<nb::capsule, nb::capsule> Accumulate(nb::object requested_schema) {
146+
std::pair<nb::capsule, nb::capsule> Accumulate(nb::object) {
147147
struct ArrowSchemaView schema_view{};
148148
NANOARROW_THROW_NOT_OK(
149149
ArrowSchemaViewInit(&schema_view, schema_.get(), nullptr));

0 commit comments

Comments
 (0)