X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ftracepoint.h;h=17fa2a0c68ef884857cc6dfa5066172e425d2b0d;hb=34550cf80b4f823efa26457a5e5917ee70da2e1e;hp=0b77d5512e24fe14fbda11d196a880d78855f223;hpb=5ce8eb6d442bddf34a6e5615c20cfc20438dc25d;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