C++ standard back to C++17

This commit is contained in:
Bob Polis 2024-10-30 11:16:28 +01:00
parent d6f57734e3
commit 033cf53c41

View File

@ -9,7 +9,7 @@ DEPS := $(SRCS:.cpp=.dep)
CXX ?= g++ CXX ?= g++
CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -Wno-unused-parameter CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -Wno-unused-parameter
CXXFLAGS += -g3 -std=c++20 CXXFLAGS += -g3 -std=c++17
ifeq ($(DEBUG),1) ifeq ($(DEBUG),1)
CXXFLAGS += -D DEBUG -O0 CXXFLAGS += -D DEBUG -O0
else else