From ca9c8f06e0f560082dcd0943e9be29ba9a915ee3 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 11 Feb 2013 21:36:30 +0100 Subject: modetest: Fix warnings Enable all standard automake warnings except for -Wpointer-arith (as the test pattern generation code uses void pointer arithmetics) and fix them. Signed-off-by: Laurent Pinchart --- tests/modetest/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/modetest/Makefile.am') diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am index 410c6326..6e7ff14f 100644 --- a/tests/modetest/Makefile.am +++ b/tests/modetest/Makefile.am @@ -1,4 +1,6 @@ -AM_CFLAGS = \ +AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS)) + +AM_CFLAGS += \ -I$(top_srcdir)/include/drm \ -I$(top_srcdir)/libkms/ \ -I$(top_srcdir) -- cgit v1.2.3