Explorar o código

Disable some more warnings to be warnings-free.

Josh Haberman %!s(int64=10) %!d(string=hai) anos
pai
achega
30cbd4c561
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      python/setup.py

+ 2 - 1
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')