From c6eb4cb6ae3b98b8276f67130aa45ee7100c6dd5 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Thu, 21 Nov 2024 07:48:56 +0100 Subject: [PATCH] More picky compiler flags --- lab2/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lab2/Makefile b/lab2/Makefile index 4e354d7..48c8fe4 100644 --- a/lab2/Makefile +++ b/lab2/Makefile @@ -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)