More picky compiler flags

This commit is contained in:
Imbus 2024-11-21 07:48:56 +01:00
parent 5b669caddb
commit c6eb4cb6ae

View file

@ -1,5 +1,6 @@
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)
OBJ = $(SRC:.cc=.o)