From 79e040d203e63ec79bb124215dcd1e940f7b676c Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Fri, 10 Jan 2025 10:08:05 -0500 Subject: pk.h: handle gcc compiler warnings; breaking changes --- config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 7de2793..21bacef 100644 --- a/config.mk +++ b/config.mk @@ -23,8 +23,8 @@ SHARED_FLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \ -DPK_IMPL_ARR \ -DPK_IMPL_STN \ -CPPFLAGS += -Wall $(INCS) $(SHARED_FLAGS) -CFLAGS += -Wall $(INCS) $(SHARED_FLAGS) +CFLAGS += -Wall -pedantic $(INCS) $(SHARED_FLAGS) +CXXFLAGS += -Wall -pedantic $(INCS) $(SHARED_FLAGS) LDFLAGS = $(LIBS) # compiler and linker -- cgit v1.2.3