diff options
author | Yilun Chong <chongyilun250@sina.com> | 2019-02-26 15:47:09 -0800 |
---|---|---|
committer | Yilun Chong <yilunchong@google.com> | 2019-02-26 15:51:15 -0800 |
commit | 603020940a0dfae035196f7c30cab394ada66a55 (patch) | |
tree | c43d69814da263f3ed983c2637de76673e85d1d2 | |
parent | 400845ae1769d7c57d94271a8b7ec415361c07d6 (diff) | |
download | protobuf-603020940a0dfae035196f7c30cab394ada66a55.tar.gz |
fix mac python cpp building (#5786)
-rwxr-xr-x | python/setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py index 5f052673e..ba74443b3 100755 --- a/python/setup.py +++ b/python/setup.py @@ -188,6 +188,7 @@ if __name__ == '__main__': if sys.platform == 'darwin': extra_compile_args.append("-Wno-shorten-64-to-32"); + extra_compile_args.append("-Wno-deprecated-register"); # https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes # C++ projects must now migrate to libc++ and are recommended to set a |