feat: add -Wshadow to compile commands
This commit is contained in:
parent
1a4a007dbb
commit
f4312e890b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -21,7 +21,7 @@ include sources.mk
|
|||
|
||||
CC ?= clang
|
||||
CPPFLAGS ?= -std=c99 -I includes -D_POSIX_C_SOURCE=199309L
|
||||
CFLAGS ?= -Wall -Wextra -Werror -pipe -Wpedantic -Wconversion
|
||||
CFLAGS ?= -Wall -Wextra -Werror -pipe -Wpedantic -Wconversion -Wshadow
|
||||
CFLAGS_SHARED = $(CFLAGS) -fPIC
|
||||
LDFLAGS ?=
|
||||
TEST_LDFLAGS = -lcriterion
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue