correct gcc warnings

This commit is contained in:
Alexey Fedoseev
2024-01-06 02:09:00 +03:00
parent 57a52e6456
commit a3653b7dcc
4 changed files with 90 additions and 100 deletions

View File

@@ -14,7 +14,7 @@ LIB_OBJECTS := $(patsubst %.c, %.o, $(LIB_SOURCES))
TEST_OBJECTS := $(patsubst %.c, %.o, $(TEST_SOURCES))
ifeq ($(DEBUG), 1)
CFLAGS := -fPIC -g3 -D__DEBUG__
CFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion -fPIC -g3 -D__DEBUG__
else
CFLAGS := -fPIC
endif