From 4d65d8efd421d1d3d73ef0e9000d313058ff166e Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 20 Apr 2024 14:46:44 +0200 Subject: [PATCH] always pedantic --- cpp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/Makefile b/cpp/Makefile index 1adf6ce..a113467 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 +CXXFLAGS = -std=c++11 -pedantic EXE = example EXE_EXT = out @@ -15,7 +15,7 @@ EXE_EXT = out release: CXXFLAGS += -O3 release: compilation -debug: CXXFLAGS += -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g +debug: CXXFLAGS += -Wall -Wextra -Wshadow -Wnon-virtual-dtor -g debug: CXXFLAGS += -Wold-style-cast -Wsign-conversion debug: compilation