From: Ian Cordasco Date: Tue, 27 Dec 2016 12:58:03 +0000 (-0600) Subject: Add -Wall to list of compile flags X-Git-Tag: upstream/0.2.1^2~34 X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/commitdiff_plain/b6cc3a689d9fd7f72863b7a4f95f430b2d75378e Add -Wall to list of compile flags Let's start warning on everything and we'll clean the warnings up as we go along. --- 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