From 1c5dd72d5930dc13eb835ffca7eee502672741ee Mon Sep 17 00:00:00 2001 From: lexus2k Date: Fri, 26 Jul 2024 22:42:54 +0400 Subject: [PATCH] To C++17 --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index ac52ce5..9564666 100644 --- a/Makefile.common +++ b/Makefile.common @@ -19,7 +19,7 @@ CFLAGS += -std=gnu99 CPPFLAGS += -Os -Wall -Werror -ffunction-sections -fdata-sections $(EXTRA_CPPFLAGS) # Uncomment for performance profiling # CPPFLAGS += -pg -CXXFLAGS += -std=c++20 +CXXFLAGS += -std=c++17 ifneq ($(LOG_LEVEL),) CPPFLAGS += -DTINY_LOG_LEVEL_DEFAULT=$(LOG_LEVEL)