Skip to content

Commit 930715b

Browse files
committed
Add another unused-function?
1 parent 20b55a6 commit 930715b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pandas/_libs/meson.build

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ _khash_primitive_helper_dep = declare_dependency(
5050
sources: _khash_primitive_helper,
5151
)
5252

53+
cc = meson.get_compiler('c')
54+
add_project_arguments(
55+
# https://github.com/cython/cython/issues/6870
56+
cc.get_supported_arguments(
57+
['-Wno-error=unused-parameter', '-Wno-error=unused-function'],
58+
),
59+
language: 'c',
60+
)
61+
5362
cdata = configuration_data()
5463
if cy.version().version_compare('>=3.1.0')
5564
cdata.set('freethreading_compatible', '1')

0 commit comments

Comments
 (0)