From: Daniel Carl <danielcarl@gmx.de>
Date: Sat, 7 Jun 2014 15:53:53 +0000 (+0200)
Subject: Removed -ansi compiler flag and -Wstrict-prototypes.
X-Git-Url: https://git.owens.tech/wrapped.html/wrapped.html/git?a=commitdiff_plain;h=e4cb49f98eaa3f85b6b0ee587b537432595bf092;p=vimb.git

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

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}