From 19229e848c4ccb413e8ed66621657fc74b13c5d3 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Mon, 7 Feb 2011 16:27:51 -0300 Subject: [PATCH] Inline: -Wno-unused is a GCC flag, some but not all compilers out there support it --- Cython/Build/Inline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = """ -- 2.26.2