Commit 30cbd4c5 authored by Josh Haberman's avatar Josh Haberman

Disable some more warnings to be warnings-free.

parent 70ffefa5
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment