diff options
author | David Hows <david.hows@mongodb.com> | 2017-01-06 12:12:50 +1100 |
---|---|---|
committer | David Hows <david.hows@mongodb.com> | 2017-01-06 12:12:50 +1100 |
commit | d48181f6f4db08761ed7b80b0332908b272ad0d0 (patch) | |
tree | 38929fdcc5415ee7b001b6f1a406bd5bd777b737 /lang/python/setup.py | |
parent | 040e3d6f764c0fb626cb47fede54469f57d0c6e0 (diff) | |
parent | 8d2324943364286056ae399043f70b8a937de312 (diff) | |
download | mongodb-3.2.12.tar.gz |
Merge branch 'mongodb-3.6' into mongodb-3.2mongodb-3.2.12
Diffstat (limited to 'lang/python/setup.py')
-rw-r--r-- | lang/python/setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python/setup.py b/lang/python/setup.py index cf5b0c5cab1..9063a891fb9 100644 --- a/lang/python/setup.py +++ b/lang/python/setup.py @@ -35,8 +35,9 @@ from distutils.core import setup, Extension if not 'ARCHFLAGS' in os.environ: os.environ['ARCHFLAGS'] = '' -# Suppress warnings building SWIG generated code -extra_cflags = [ '-w', '-I../../src/include'] +# Suppress warnings building SWIG generated code. SWIG boiler plate +# functions have sign conversion warnings, so those warnings must be disabled. +extra_cflags = [ '-w', '-I../../src/include', '-Wno-sign-conversion'] dir = os.path.dirname(__file__) |