From: Lisandro Dalcin Date: Mon, 7 Feb 2011 19:27:51 +0000 (-0300) Subject: Inline: -Wno-unused is a GCC flag, some but not all compilers out there support it X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19229e848c4ccb413e8ed66621657fc74b13c5d3;p=cython.git Inline: -Wno-unused is a GCC flag, some but not all compilers out there support it --- diff --git a/Cython/Build/Inline.py b/Cython/Build/Inline.py index 2c6db326..00f9febc 100644 --- a/Cython/Build/Inline.py +++ b/Cython/Build/Inline.py @@ -151,7 +151,7 @@ def cython_inline(code, if m.groups()[0] == 'numpy': import numpy c_include_dirs.append(numpy.get_include()) - cflags.append('-Wno-unused') + # cflags.append('-Wno-unused') module_body, func_body = extract_func_code(code) params = ', '.join(['%s %s' % a for a in arg_sigs]) module_code = """