Permalink
Browse files

Quiet clang warnings

 - -Wno-array-bounds because it complains about 'PyTuple_GET_ITEM'-style macros
 - -Wno-unused-parameter since many functions don't have all their arguments
   used
  • Loading branch information...
1 parent 5e157b0 commit 1cca56e28589eb96be6f25266d3783a9e3067041 @patricklucas patricklucas committed Feb 28, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 setup.py
View
@@ -13,8 +13,9 @@
define_macros = [('WANT_SENDFILE', '1'),
('WANT_SIGINT_HANDLING', '1')],
extra_compile_args = ['-std=c99', '-fno-strict-aliasing', '-Wall',
- '-Wextra', '-Wno-unused', '-g', '-fPIC',
- '-Wno-missing-field-initializers', '-fcommon']
+ '-Wextra', '-Wno-unused', '-Wno-unused-parameter',
+ '-g', '-fPIC', '-Wno-missing-field-initializers',
+ '-Wno-array-bounds', '-fcommon']
)
setup(

0 comments on commit 1cca56e

Please sign in to comment.