@@ -84,7 +84,10 @@ libs_sources = {
84
84
' sources' : [' join.pyx' , _khash_primitive_helper],
85
85
' deps' : _khash_primitive_helper_dep,
86
86
},
87
- ' lib' : {' sources' : [' lib.pyx' , ' src/parser/tokenizer.c' ]},
87
+ ' lib' : {
88
+ ' sources' : [' lib.pyx' , ' src/parser/tokenizer.c' ],
89
+ ' c_args' : [' -Wno-unused-function' ], # cython issue 6603
90
+ },
88
91
' missing' : {' sources' : [' missing.pyx' ]},
89
92
' pandas_datetime' : {
90
93
' sources' : [
@@ -117,7 +120,10 @@ libs_sources = {
117
120
' ops' : {' sources' : [' ops.pyx' ]},
118
121
' ops_dispatch' : {' sources' : [' ops_dispatch.pyx' ]},
119
122
' properties' : {' sources' : [' properties.pyx' ]},
120
- ' reshape' : {' sources' : [' reshape.pyx' ]},
123
+ ' reshape' : {
124
+ ' sources' : [' reshape.pyx' ],
125
+ ' c_args' : [' -Wno-unused-function' ], # cython issue 6603
126
+ },
121
127
' sas' : {' sources' : [' sas.pyx' ]},
122
128
' byteswap' : {' sources' : [' byteswap.pyx' ]},
123
129
' sparse' : {' sources' : [' sparse.pyx' , _sparse_op_helper]},
@@ -142,6 +148,7 @@ foreach ext_name, ext_dict : libs_sources
142
148
cython_args : cython_args,
143
149
include_directories : [inc_np, inc_pd],
144
150
dependencies : ext_dict.get(' deps' , '' ),
151
+ c_args : ext_dict.get(' c_args' , []),
145
152
subdir : ' pandas/_libs' ,
146
153
install : true ,
147
154
)
0 commit comments