pedantic related to std
This commit is contained in:
parent
c4fa61ea97
commit
0d1d3d584c
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -1,5 +1,5 @@
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -std=c11
|
CFLAGS = -std=c11 -pedantic
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
RM = rm
|
RM = rm
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ main: CFLAGS += -O3
|
||||||
main: compilation
|
main: compilation
|
||||||
|
|
||||||
dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes
|
dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes
|
||||||
dev: CFLAGS += -fanalyzer -fsanitize=undefined -pedantic -g
|
dev: CFLAGS += -fanalyzer -fsanitize=undefined -g
|
||||||
dev: LDFLAGS += -fsanitize=undefined
|
dev: LDFLAGS += -fsanitize=undefined
|
||||||
dev: compilation
|
dev: compilation
|
||||||
|
|
||||||
|
|
Reference in a new issue