Commit 19229e84 authored by Lisandro Dalcin's avatar Lisandro Dalcin

Inline: -Wno-unused is a GCC flag, some but not all compilers out there support it

parent 56b932d5
...@@ -151,7 +151,7 @@ def cython_inline(code, ...@@ -151,7 +151,7 @@ def cython_inline(code,
if m.groups()[0] == 'numpy': if m.groups()[0] == 'numpy':
import numpy import numpy
c_include_dirs.append(numpy.get_include()) c_include_dirs.append(numpy.get_include())
cflags.append('-Wno-unused') # cflags.append('-Wno-unused')
module_body, func_body = extract_func_code(code) module_body, func_body = extract_func_code(code)
params = ', '.join(['%s %s' % a for a in arg_sigs]) params = ', '.join(['%s %s' % a for a in arg_sigs])
module_code = """ module_code = """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment