[PATCH 3/3] lib: Makefile.am: enable -Wextra

Colin King colin.king at canonical.com
Thu Oct 25 10:48:31 UTC 2012


From: Colin Ian King <colin.king at canonical.com>

I want to catch as many possible coding errors, so crank up the
warning pedantry setting to -Wextra

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 src/lib/src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am
index 3f8764e..288ecad 100644
--- a/src/lib/src/Makefile.am
+++ b/src/lib/src/Makefile.am
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/lib/include \
 	-I$(top_srcdir)/src/acpica/source/include \
 	-I$(top_srcdir)/src/acpica/source/compiler \
-	-Wall -Werror
+	-Wall -Werror -Wextra
 
 pkglib_LTLIBRARIES = libfwts.la
 libfwts_la_LDFLAGS = -lpcre -lpthread -ljson -version-info 1:0:0 \
-- 
1.7.10.4




More information about the fwts-devel mailing list