[lttng-dev] [PATCH lttng-ust] Fix: Check g++ version before compiling

Thibault, Daniel Daniel.Thibault at drdc-rddc.gc.ca
Mon Jun 17 13:06:40 EDT 2013


-----Message d'origine-----
   1. Re: [PATCH lttng-ust] Fix: Check g++ version before compiling
      'hello.cxx' test (Christian Babeux)
   2. Re: [PATCH lttng-ust] Fix: Check g++ version	before	compiling
      'hello.cxx' test (Mathieu Desnoyers)
----------------------------------------------------------------------
Message: 1
Date: Sat, 15 Jun 2013 14:31:09 -0400

Checking specific version numbers might be a bit counterproductive (e.g. what if some embedded platform as a GCC 4.7 with designated initializer explicitly patched out?).

Going forward, I think checking for the designated initializer feature via a small C++ testfile is more in line with the Autoconf philosophy.
Also, we should conditionally disable the compilation of the tracepoint probes requiring designated initializers if not supported.

Thanks,
Christian
------------------------------
Message: 2
Date: Sat, 15 Jun 2013 14:37:26 -0400

Moreover, the documentation and patches should take LLVM into account.

Thanks,
Mathieu
------------------------------------------------------------
   The lttng-ust (2.2.0-rc2-27 6e266bf) errors that arise with g++ 4.6 (g++ 4.7 is not distributed on Ubuntu yet) are:

make[3]: Entering directory `/home/daniel/Documents/lttng-ust-6e266bf/tests/hello.cxx'
  CXX    hello.o
  CXX    tp.o
In file included from ../../include/lttng/ust-tracepoint-event.h:206:0,
                 from ../../include/lttng/tracepoint-event.h:62,
                 from ust_tests_hello.h:64,
                 from tp.cpp:26:
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
In file included from ../../include/lttng/ust-tracepoint-event.h:634:0,
                 from ../../include/lttng/tracepoint-event.h:62,
                 from ust_tests_hello.h:64,
                 from tp.cpp:26:
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:31:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: error: expected primary-expression before '.' token
././ust_tests_hello.h:53:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
././ust_tests_hello.h:53:1: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
In file included from ../../include/lttng/tracepoint-event.h:62:0,
                 from ust_tests_hello.h:64,
                 from tp.cpp:26:
../../include/lttng/ust-tracepoint-event.h:662:2: error: expected primary-expression before '.' token
../../include/lttng/ust-tracepoint-event.h:663:2: error: expected primary-expression before '.' token
../../include/lttng/ust-tracepoint-event.h:664:2: error: expected primary-expression before '.' token
../../include/lttng/ust-tracepoint-event.h:665:2: error: expected primary-expression before '.' token
../../include/lttng/ust-tracepoint-event.h:665:23: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
../../include/lttng/ust-tracepoint-event.h:666:2: error: expected primary-expression before '.' token
../../include/lttng/ust-tracepoint-event.h:666:33: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
../../include/lttng/ust-tracepoint-event.h:667:2: error: expected primary-expression before '.' token
../../include/lttng/ust-tracepoint-event.h:668:2: error: expected primary-expression before '.' token
../../include/lttng/ust-tracepoint-event.h:669:2: error: expected primary-expression before '.' token
make[3]: *** [tp.o] Error 1
make[3]: Leaving directory `/home/daniel/Documents/lttng-ust-6e266bf/tests/hello.cxx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/daniel/Documents/lttng-ust-6e266bf/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/daniel/Documents/lttng-ust-6e266bf'
make: *** [all] Error 2

Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>



More information about the lttng-dev mailing list