X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Ftracepoint.h;h=17fa2a0c68ef884857cc6dfa5066172e425d2b0d;hb=e0ca901df9ff4742dfcaf1c8839f042760197555;hp=0b77d5512e24fe14fbda11d196a880d78855f223;hpb=5804876495751c1e7785be01af45a7203af13fa3;p=lttng-ust.git diff --git a/include/lttng/tracepoint.h b/include/lttng/tracepoint.h index 0b77d551..17fa2a0c 100644 --- a/include/lttng/tracepoint.h +++ b/include/lttng/tracepoint.h @@ -26,6 +26,10 @@ #include #include +#if (defined(__cplusplus) && (__cplusplus <= 199711L)) +#error "C++11 support is required to build tracepoints and providers as C++" +#endif + #define LTTNG_UST_TRACEPOINT_NAME_LEN_MAX 256 #ifdef LTTNG_UST_HAVE_SDT_INTEGRATION