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.1.0-rc1~66 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3bdb579ff4ef67785927e73f96f8a5c056e883b0;p=lttng-ust.git 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 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