Commit 60302094 authored by Yilun Chong's avatar Yilun Chong Committed by Yilun Chong

fix mac python cpp building (#5786)

parent 400845ae
...@@ -188,6 +188,7 @@ if __name__ == '__main__': ...@@ -188,6 +188,7 @@ if __name__ == '__main__':
if sys.platform == 'darwin': if sys.platform == 'darwin':
extra_compile_args.append("-Wno-shorten-64-to-32"); 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 # 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 # C++ projects must now migrate to libc++ and are recommended to set a
......
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