From 30cbd4c5610ab2a500d18223b5c2dd6e9caacc17 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Tue, 6 Oct 2015 19:22:31 -0700 Subject: [PATCH] Disable some more warnings to be warnings-free. --- python/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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')