diff options
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__) |