always pedantic
This commit is contained in:
parent
5c59396e5d
commit
4d65d8efd4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue