commit | 7bcb52228783ea2373887d5d9d52b3575702a171 | [log] [tgz] |
---|---|---|
author | Yilun Chong <chongyilun250@sina.com> | Tue Feb 26 15:47:09 2019 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 26 15:47:09 2019 -0800 |
tree | 507df1d5c85e6e3c6bb1ff48853f0d7b98236bc2 | |
parent | a4c3472ce86589cf657633be76c607a9a62d38e1 [diff] [blame] |
fix mac python cpp building (#5786)
diff --git a/python/setup.py b/python/setup.py index 5f05267..ba74443 100755 --- a/python/setup.py +++ b/python/setup.py
@@ -188,6 +188,7 @@ 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