projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b932d
)
Inline: -Wno-unused is a GCC flag, some but not all compilers out there support it
author
Lisandro Dalcin
<dalcinl@gmail.com>
Mon, 7 Feb 2011 19:27:51 +0000
(16:27 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Mon, 7 Feb 2011 19:27:51 +0000
(16:27 -0300)
Cython/Build/Inline.py
patch
|
blob
|
history
diff --git
a/Cython/Build/Inline.py
b/Cython/Build/Inline.py
index 2c6db326ba82f163e298d85f852b0b0f36810787..00f9febc1be401c854849731c747e1e69cc7b32b 100644
(file)
--- 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 = """