[lttng-dev] compilation warning

Anand Neeli anand.neeli at gmail.com
Thu Oct 16 13:43:32 EDT 2014

Hi All,
I get following warning during compilation of my instrumented module.
I know i can suppress this, but just wanted to get to your notice.

In file included from /usr/include/lttng/ust-tracepoint-event.h:26:0,

                 from /usr/include/lttng/tracepoint-event.h:58,

                 from src/common_tracepoint.h:135,

                 from src/common_tracepoint.c:10:

/usr/include/i386-linux-gnu/urcu/rculist.h: In function 'cds_list_del_rcu':

/usr/include/i386-linux-gnu/urcu/rculist.h:72:2: error: to be safe all
intermediate pointers in cast from 'struct cds_list_head **' to 'struct
cds_list_head * volatile*' must be 'const' qualified [-Werror=cast-qual]


Anand Neeli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20141016/ffa13785/attachment.html>

More information about the lttng-dev mailing list