pedantic related to std

This commit is contained in:
Mylloon 2022-11-17 17:01:11 +01:00
parent c4fa61ea97
commit 0d1d3d584c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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