Skip to content

Commit

Permalink
Make sure the c++ standard is set to 17 (apache#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
PragmaTwice authored Nov 15, 2023
1 parent ad17bc4 commit 6d72762
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bazel/fury.bzl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
COPTS = ["-pthread","-std=c++11", "-D_GLIBCXX_USE_CXX11_ABI=0"]
COPTS = ["-pthread","-std=c++17", "-D_GLIBCXX_USE_CXX11_ABI=0"]
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
if platform.system() == "Darwin":
ext.extra_compile_args.append("-stdlib=libc++")
if os.name == "posix":
ext.extra_compile_args.append("-std=c++11")
ext.extra_compile_args.append("-std=c++17")
print("ext.extra_compile_args", ext.extra_compile_args)

# Avoid weird linker errors or runtime crashes on linux
Expand Down

0 comments on commit 6d72762

Please sign in to comment.