Require C++11 for building probe providers with C++ compiler
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 20 Apr 2020 18:12:51 +0000 (14:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 20 Apr 2020 18:40:01 +0000 (14:40 -0400)
commit15b385c8a645128e3ed89f7f840c1441223097a4
tree324afaf5104d83d524da42aeac711a3ad68b5b4c
parent09434f96935202d1e6cf64a74d4da4b95d06246d
Require C++11 for building probe providers with C++ compiler

The __LTTNG_COMPOUND_LITERAL(), in C++, requires either that the
compiler supports C99 compound literals (which is not the case for
g++ 4.8), or that LTTNG_ALLOCATE_COMPOUND_LITERAL_ON_HEAP is
defined so the compiler allocates the compound literal on the
heap with "new", which is available since c++11.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
README.md
configure.ac
m4/ax_cxx_compile_stdcxx.m4 [new file with mode: 0644]
This page took 0.024401 seconds and 4 git commands to generate.