aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpython/setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/setup.py b/python/setup.py
index 662a145a..1ff5b9dd 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -151,7 +151,8 @@ if __name__ == '__main__':
warnings_as_errors = '--warnings_as_errors'
if cpp_impl in sys.argv:
sys.argv.remove(cpp_impl)
- extra_compile_args = ['-Wno-write-strings']
+ extra_compile_args = ['-Wno-write-strings', '-Wno-shorten-64-to-32',
+ '-Wno-invalid-offsetof']
if warnings_as_errors in sys.argv:
extra_compile_args.append('-Werror')