diff options
author | Josh Haberman <jhaberman@gmail.com> | 2015-10-06 19:22:31 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2015-10-28 17:05:47 -0700 |
commit | 30cbd4c5610ab2a500d18223b5c2dd6e9caacc17 (patch) | |
tree | 9dd703e7f21d9d29f52e21b94c856558c53560bc /python | |
parent | 70ffefa5510321de6b02a3844a2d4cd19e107d1f (diff) | |
download | protobuf-30cbd4c5610ab2a500d18223b5c2dd6e9caacc17.tar.gz protobuf-30cbd4c5610ab2a500d18223b5c2dd6e9caacc17.tar.bz2 protobuf-30cbd4c5610ab2a500d18223b5c2dd6e9caacc17.zip |
Disable some more warnings to be warnings-free.
Diffstat (limited to 'python')
-rwxr-xr-x | python/setup.py | 3 |
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') |