Skip to content

Commit

Permalink
Switch to C++17 for Arrow compilation (#1858)
Browse files Browse the repository at this point in the history
Previously, we were building Arrow with -std=c++11, but
now Arrow is using features that require C++17, so this
PR updates that compilation flag.
  • Loading branch information
bmcdonald3 authored Oct 26, 2022
1 parent 0ed63b9 commit dcad734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ endif

.PHONY: compile-arrow-cpp
compile-arrow-cpp:
$(CXX) -O3 -std=c++11 -c $(ARROW_CPP) -o $(ARROW_O) $(INCLUDE_FLAGS) $(ARROW_SANITIZE)
$(CXX) -O3 -std=c++17 -c $(ARROW_CPP) -o $(ARROW_O) $(INCLUDE_FLAGS) $(ARROW_SANITIZE)

$(ARROW_O): $(ARROW_CPP) $(ARROW_H)
make compile-arrow-cpp
Expand Down

0 comments on commit dcad734

Please sign in to comment.