From b6cc3a689d9fd7f72863b7a4f95f430b2d75378e Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Tue, 27 Dec 2016 06:58:03 -0600 Subject: [PATCH] Add -Wall to list of compile flags Let's start warning on everything and we'll clean the warnings up as we go along. --- src/Makefile.am | 2 +- tests/Makefile.am | 2 +- 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 -- 2.45.1