Skip to content

Commit f4aaa8e

Browse files
committed
More MSVC fix
1 parent 2c66cba commit f4aaa8e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/_libs/meson.build

+4-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ libs_sources = {
8686
},
8787
'lib': {
8888
'sources': ['lib.pyx', 'src/parser/tokenizer.c'],
89-
'c_args': ['-Wno-unused-function'], # cython issue 6603
89+
# cython issue 6603
90+
'c_args': cc.get_supported_arguments(['-Wno-unused-function']),
9091
},
9192
'missing': {'sources': ['missing.pyx']},
9293
'pandas_datetime': {
@@ -122,7 +123,8 @@ libs_sources = {
122123
'properties': {'sources': ['properties.pyx']},
123124
'reshape': {
124125
'sources': ['reshape.pyx'],
125-
'c_args': ['-Wno-unused-function'], # cython issue 6603
126+
# cython issue 6603
127+
'c_args': cc.get_supported_arguments(['-Wno-unused-function']),
126128
},
127129
'sas': {'sources': ['sas.pyx']},
128130
'byteswap': {'sources': ['byteswap.pyx']},

0 commit comments

Comments
 (0)