More picky compiler flags
This commit is contained in:
parent
5b669caddb
commit
c6eb4cb6ae
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
CXX = g++
|
CXX = g++
|
||||||
CXXFLAGS = -g3 -Werror -Wall -Wpedantic -Wunused-variable -std=c++17
|
CXXFLAGS = -Wall -Wextra -Wpedantic -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -std=c++17
|
||||||
|
#CXXFLAGS += -Werror
|
||||||
|
|
||||||
SRC = $(wildcard *.cc)
|
SRC = $(wildcard *.cc)
|
||||||
OBJ = $(SRC:.cc=.o)
|
OBJ = $(SRC:.cc=.o)
|
||||||
|
|
Loading…
Reference in a new issue