aboutsummaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2015-10-06 19:22:31 -0700
committerJosh Haberman <jhaberman@gmail.com>2015-10-28 17:05:47 -0700
commit30cbd4c5610ab2a500d18223b5c2dd6e9caacc17 (patch)
tree9dd703e7f21d9d29f52e21b94c856558c53560bc /python/setup.py
parent70ffefa5510321de6b02a3844a2d4cd19e107d1f (diff)
downloadprotobuf-30cbd4c5610ab2a500d18223b5c2dd6e9caacc17.tar.gz
protobuf-30cbd4c5610ab2a500d18223b5c2dd6e9caacc17.tar.bz2
protobuf-30cbd4c5610ab2a500d18223b5c2dd6e9caacc17.zip
Disable some more warnings to be warnings-free.
Diffstat (limited to 'python/setup.py')
-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')