From f84cbb80dd67b5e3848434cd98b7414013498263 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 20 Apr 2024 14:56:15 +0200 Subject: [PATCH] increase from 11 to 17 --- c/Makefile | 2 +- cpp/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c/Makefile b/c/Makefile index 8382b1a..7e3b140 100644 --- a/c/Makefile +++ b/c/Makefile @@ -4,7 +4,7 @@ RM = rm SOURCES = $(wildcard src/*.c) OBJECTS = $(patsubst %.c,%.o,$(notdir $(SOURCES))) -CFLAGS = -std=c11 -pedantic +CFLAGS = -std=c17 -pedantic LDFLAGS = EXE = example diff --git a/cpp/Makefile b/cpp/Makefile index a113467..b277c5a 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -4,7 +4,7 @@ RM = rm SOURCES = $(wildcard src/*.cpp) OBJECTS = $(patsubst %.cpp,%.o,$(notdir $(SOURCES))) -CXXFLAGS = -std=c++11 -pedantic +CXXFLAGS = -std=c++17 -pedantic EXE = example EXE_EXT = out