diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-09-12 15:04:39 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-09-12 15:04:39 +1000 |
commit | 9803c4736a66a792ec48ab7f4144be88c1a1831b (patch) | |
tree | 0b3bc125ab93ebb15367404ae6e5399e75522bd1 | |
parent | e1bb49a602c274594fc44791d534708581bce3c9 (diff) | |
download | mongo-9803c4736a66a792ec48ab7f4144be88c1a1831b.tar.gz |
lang/python/wiredtiger_wrap.c:5726:3: warning: expression result unused
; should this cast be to 'void'? [-Wunused-value]
-rw-r--r-- | lang/python/setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/setup.py b/lang/python/setup.py index fb2e036578b..96cdc50b1de 100644 --- a/lang/python/setup.py +++ b/lang/python/setup.py @@ -19,7 +19,11 @@ if sys.platform == 'darwin': kernel_version = os.uname()[2] # e.g. 12.0.0 is Mountain Lion major_version = int(kernel_version.split('.')[0]) if major_version >= 12: - extra_cflags += ['-Wno-self-assign', '-Qunused-arguments'] + extra_cflags += [ + '-Wno-self-assign', + '-Wno-unused-value', + '-Qunused-arguments' + ] dir = os.path.dirname(__file__) |