From e4cfcd4d233b6333b5ac0c83181807e7f28192ea Mon Sep 17 00:00:00 2001 From: Ben McDonald <46734217+bmcdonald3@users.noreply.github.com> Date: Wed, 26 Oct 2022 09:04:26 -0400 Subject: [PATCH] Switch to C++17 for Arrow compilation 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7c63b30d3f..701fc28a8e 100644 --- a/Makefile +++ b/Makefile @@ -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