summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-12-27 06:58:03 -0600
committerIngy döt Net <ingy@ingy.net>2016-12-29 15:55:41 -0600
commitb6cc3a689d9fd7f72863b7a4f95f430b2d75378e (patch)
tree02b364e297c30e50a7f524b015d720b0079a0e97
parent6bc9e2466b54f015e1ed127cf6e053b73b5adacf (diff)
downloadlibyaml-git-b6cc3a689d9fd7f72863b7a4f95f430b2d75378e.tar.gz
Add -Wall to list of compile flags
Let's start warning on everything and we'll clean the warnings up as we go along.
-rw-r--r--src/Makefile.am2
-rw-r--r--tests/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 724a1b2..7cc40e7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(top_srcdir)/include -Wall
lib_LTLIBRARIES = libyaml.la
libyaml_la_SOURCES = yaml_private.h api.c reader.c scanner.c parser.c loader.c writer.c emitter.c dumper.c
libyaml_la_LDFLAGS = -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 72e84d2..81decb4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(top_srcdir)/include -Wall
#AM_CFLAGS = -Wno-pointer-sign
LDADD = $(top_builddir)/src/libyaml.la
TESTS = test-version test-reader