From 6b62ea7ecc4a9a91172ce21747f795b7d602f3f3 Mon Sep 17 00:00:00 2001 From: johnoel Date: Tue, 30 Jan 2024 11:10:34 -1000 Subject: [PATCH] Use C++17 standard to build. --- tests/gtests/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gtests/GNUmakefile b/tests/gtests/GNUmakefile index f9795b487..7d0418889 100644 --- a/tests/gtests/GNUmakefile +++ b/tests/gtests/GNUmakefile @@ -376,9 +376,9 @@ endif gtest-all.obj: googletest-read-only ifeq ($(CMDSHELL),cmd) - $(CXX) -c $(CXXFLAGS) -std=c++11 -g -I$(GTEST_DIR)\\include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)\\src\\gtest-all.cc + $(CXX) -c $(CXXFLAGS) -std=c++17 -g -I$(GTEST_DIR)\\include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)\\src\\gtest-all.cc else - $(CXX) -c $(CXXFLAGS) -std=c++11 -g -I$(GTEST_DIR)/include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)/src/gtest-all.cc + $(CXX) -c $(CXXFLAGS) -std=c++17 -g -I$(GTEST_DIR)/include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)/src/gtest-all.cc endif googletest-read-only: