1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: "Steve M. Robbins" <smr@debian.org>
Date: Sun, 17 Aug 2025 19:00:18 -0500
Subject: Build using C++20
---
Makefile | 2 +-
tests/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 8018b6a..e790ae1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CXX = g++
-CXXFLAGS = -g -std=c++0x -O2
+CXXFLAGS = -g -std=c++20 -O2
RM = rm -f
MKDIR = mkdir
diff --git a/tests/Makefile b/tests/Makefile
index 36d202e..394882c 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -22,7 +22,7 @@ USER_TEST_DIR = .
# Where to find user code.
USER_DIR = ../src/
-CXX = g++ -std=c++0x
+CXX = g++ -std=c++20
# Flags passed to the preprocessor.
# Set Google Test's header directory as a system directory, such that
|