From e4cb49f98eaa3f85b6b0ee587b537432595bf092 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 7 Jun 2014 17:53:53 +0200 Subject: [PATCH] Removed -ansi compiler flag and -Wstrict-prototypes. The ansi does not allow to use type declaration in loop that make the code easier to read. And the GTK3 build fails with strict prototypes enabled. --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 66def08..eaf6a00 100644 --- a/config.mk +++ b/config.mk @@ -40,7 +40,7 @@ LIBFLAGS = $(shell pkg-config --libs $(LIBS)) # normal compiler flags CFLAGS += $(shell pkg-config --cflags $(LIBS)) -CFLAGS += -Wall -pipe -std=c99 -ansi -Wstrict-prototypes +CFLAGS += -Wall -pipe -std=c99 CFLAGS += -Wno-overlength-strings -Werror=format-security CFLAGS += ${CPPFLAGS} LDFLAGS += ${LIBFLAGS} -- 2.20.1