Hi all, I've got into a build error on Ubuntu 12.04 (i386) using gcc 4.6.3. The compiler seems to get confused when asked to equivalate unsigned long and uint64_t on my machine. Since the problem was pretty obvious, I've also made a patch for it.
Regards, Dragos
From c1522d9346783cd991e3ebbe6bf344122dadf1ad Mon Sep 17 00:00:00 2001 From: Dragos Tarcatu <tarcatu_drag...@yahoo.com> Date: Wed, 20 Mar 2013 21:42:23 +0200 Subject: [PATCH] Replaced unsigned long with uint64_t to avoid Ubuntu/gcc 4.6.3 compilation errors. --- src/common/consumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/consumer.c b/src/common/consumer.c index 300fd2a..8730e39 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -820,7 +820,7 @@ error: * * On error, return NULL. */ -struct lttng_consumer_channel *consumer_allocate_channel(unsigned long key, +struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key, uint64_t session_id, const char *pathname, const char *name, -- 1.7.9.5
_______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev