always pedantic

This commit is contained in:
Mylloon 2024-04-20 14:46:44 +02:00
parent 5c59396e5d
commit 4d65d8efd4
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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