fix: use urcu-tls compat with c++ compiler
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 18 Nov 2021 20:08:53 +0000 (15:08 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 18 Nov 2021 21:18:47 +0000 (16:18 -0500)
commit385c05d4676533664dfe918842063aee8708d185
tree96c6160860f43d96c54cb44d6a22dc42ca72f8be
parentb5780fcfbb3257affba77a17c7e305a065359e7a
fix: use urcu-tls compat with c++ compiler

  * Initialize all fields of 'struct urcu_tls' to avoid :

    sorry, unimplemented: non-trivial designated initializers not supported

  * Cast void* to proper type pointers to avoid :

    error: invalid conversion from ‘void*’ to ...

Change-Id: I654f924324cda2eaea723f4a0759d706b2a2bf40
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/urcu/tls-compat.h
This page took 0.025949 seconds and 4 git commands to generate.