ust-compiler.h: Allocate compound literals on heap with gcc <= 4.8
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 20 Apr 2020 18:27:31 +0000 (14:27 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 20 Apr 2020 18:40:01 +0000 (14:40 -0400)
commite1904921db97b70d94e69f0ab3264c6f7fe62f32
treef0400216a2a91e1033c126ef1fab060c3eec3938
parent15b385c8a645128e3ed89f7f840c1441223097a4
ust-compiler.h: Allocate compound literals on heap with gcc <= 4.8

g++ 4.8 and prior do not support C99 compound literals. Therefore,
force allocating those on the heap with these C++ compilers.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-compiler.h
This page took 0.02387 seconds and 4 git commands to generate.