From: Mathieu Desnoyers Date: Mon, 11 Jun 2012 13:52:41 +0000 (-0400) Subject: hello test: fail on old style definition X-Git-Tag: v2.0.4~9 X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=5558cdce88ba0436ddaa02377ac79c1985e5f81a hello test: fail on old style definition Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/hello/Makefile.am b/tests/hello/Makefile.am index d866b6da..f9ddcb60 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 noinst_SCRIPTS = run EXTRA_DIST = run