changeset 2587:e63f0ca2e7dc

Be -pedantic.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Dec 2022 16:06:58 +0200
parents 9807ae37ad69
children 0fc48cc02a83
files Makefile.gen
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Thu Dec 08 15:59:22 2022 +0200
+++ b/Makefile.gen	Thu Dec 08 16:06:58 2022 +0200
@@ -24,6 +24,7 @@
 CFLAGS += -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200808L $(EXTRA_CFLAGS)
 CXXFLAGS = $(CFLAGS)
 CFLAGS += -std=c11
+CFLAGS += -pedantic
 
 DM_CFLAGS += -I$(DMLIB_SRC) $(SDL_CFLAGS)
 DM_LDFLAGS += $(LDFLAGS)