From 3bdb579ff4ef67785927e73f96f8a5c056e883b0 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 11 Jun 2012 09:52:41 -0400 Subject: [PATCH] hello test: fail on old style definition Signed-off-by: Mathieu Desnoyers --- tests/hello/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hello/Makefile.am b/tests/hello/Makefile.am index 847e64d9..0c4c3113 100644 --- a/tests/hello/Makefile.am +++ b/tests/hello/Makefile.am @@ -3,6 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -Wsystem-headers noinst_PROGRAMS = hello hello_SOURCES = hello.c tp.c ust_tests_hello.h hello_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la +hello_CFLAGS = -Werror=old-style-definition if LTTNG_UST_BUILD_WITH_LIBDL hello_LDADD += -ldl -- 2.34.1