From bc5f472186560f8075c7aeb0adb682ca22848971 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 7 Jun 2014 16:41:54 +0200 Subject: [PATCH] Use -ansi compile flag. Fixed none ansi comment. --- config.mk | 2 +- src/dom.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.mk b/config.mk index eaf6a00..66def08 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 +CFLAGS += -Wall -pipe -std=c99 -ansi -Wstrict-prototypes CFLAGS += -Wno-overlength-strings -Werror=format-security CFLAGS += ${CPPFLAGS} LDFLAGS += ${LIBFLAGS} diff --git a/src/dom.h b/src/dom.h index 9078808..a065863 100644 --- a/src/dom.h +++ b/src/dom.h @@ -22,7 +22,7 @@ #include -// Types +/* Types */ #define Document WebKitDOMDocument #define HtmlElement WebKitDOMHTMLElement #define Element WebKitDOMElement -- 2.20.1