Add -Wno-unused-parameter

This commit is contained in:
Bob Polis 2023-10-05 16:40:51 +02:00
parent a0629551f7
commit ab7e3c1d32

View File

@ -21,9 +21,9 @@ CXX ?= g++
RM := /bin/rm -rf
INSTALL := /usr/bin/install -c
CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -std=c++17
CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -Wno-unused-parameter -g3 -std=c++17
ifeq ($(DEBUG),1)
CXXFLAGS += -g3 -D DEBUG -O0
CXXFLAGS += -D DEBUG -O0
CONFIG := debug
else
CXXFLAGS += -D NDEBUG -O3