Skip to content

Instantly share code, notes, and snippets.

@5kg
Created April 19, 2013 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 5kg/5417850 to your computer and use it in GitHub Desktop.
Save 5kg/5417850 to your computer and use it in GitHub Desktop.
In file included from ../../include/lttng/tracepoint-event.h:62:0,
from ust_tests_hello.h:64,
from tp.cpp:26:
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:25:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, 0)
^
././ust_tests_hello.h:36:3: note: in expansion of macro ‘ctf_integer’
ctf_integer(int, intfield, anint)
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:25:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, 0)
^
././ust_tests_hello.h:36:3: note: in expansion of macro ‘ctf_integer’
ctf_integer(int, intfield, anint)
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:29:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 16, 0)
^
././ust_tests_hello.h:37:3: note: in expansion of macro ‘ctf_integer_hex’
ctf_integer_hex(int, intfield2, anint)
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:29:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 16, 0)
^
././ust_tests_hello.h:37:3: note: in expansion of macro ‘ctf_integer_hex’
ctf_integer_hex(int, intfield2, anint)
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:25:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, 0)
^
././ust_tests_hello.h:38:3: note: in expansion of macro ‘ctf_integer’
ctf_integer(long, longfield, anint)
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:25:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, 0)
^
././ust_tests_hello.h:38:3: note: in expansion of macro ‘ctf_integer’
ctf_integer(long, longfield, anint)
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:33:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BIG_ENDIAN, 10, 0)
^
././ust_tests_hello.h:39:3: note: in expansion of macro ‘ctf_integer_network’
ctf_integer_network(int, netintfield, netint)
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:33:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BIG_ENDIAN, 10, 0)
^
././ust_tests_hello.h:39:3: note: in expansion of macro ‘ctf_integer_network’
ctf_integer_network(int, netintfield, netint)
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:37:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BIG_ENDIAN, 16, 0)
^
././ust_tests_hello.h:40:3: note: in expansion of macro ‘ctf_integer_network_hex’
ctf_integer_network_hex(int, netintfieldhex, netint)
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:131:12: note: in expansion of macro ‘__type_integer’
.type = __type_integer(_type, _byte_order, _base, none),\
^
../../include/lttng/ust-tracepoint-event-write.h:37:2: note: in expansion of macro ‘_ctf_integer_ext’
_ctf_integer_ext(_type, _item, _src, BIG_ENDIAN, 16, 0)
^
././ust_tests_hello.h:40:3: note: in expansion of macro ‘ctf_integer_network_hex’
ctf_integer_network_hex(int, netintfieldhex, netint)
^
../../include/lttng/ust-tracepoint-event.h:150:5: error: expected primary-expression before ‘.’ token
.u.array = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:45:2: note: in expansion of macro ‘_ctf_array_encoded’
_ctf_array_encoded(_type, _item, _src, _length, none, 0)
^
././ust_tests_hello.h:41:3: note: in expansion of macro ‘ctf_array’
ctf_array(long, arrfield1, values, 3)
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:153:21: note: in expansion of macro ‘__type_integer’
.elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
^
../../include/lttng/ust-tracepoint-event-write.h:45:2: note: in expansion of macro ‘_ctf_array_encoded’
_ctf_array_encoded(_type, _item, _src, _length, none, 0)
^
././ust_tests_hello.h:41:3: note: in expansion of macro ‘ctf_array’
ctf_array(long, arrfield1, values, 3)
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:153:21: note: in expansion of macro ‘__type_integer’
.elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
^
../../include/lttng/ust-tracepoint-event-write.h:45:2: note: in expansion of macro ‘_ctf_array_encoded’
_ctf_array_encoded(_type, _item, _src, _length, none, 0)
^
././ust_tests_hello.h:41:3: note: in expansion of macro ‘ctf_array’
ctf_array(long, arrfield1, values, 3)
^
../../include/lttng/ust-tracepoint-event.h:154:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:45:2: note: in expansion of macro ‘_ctf_array_encoded’
_ctf_array_encoded(_type, _item, _src, _length, none, 0)
^
././ust_tests_hello.h:41:3: note: in expansion of macro ‘ctf_array’
ctf_array(long, arrfield1, values, 3)
^
../../include/lttng/ust-tracepoint-event.h:150:5: error: expected primary-expression before ‘.’ token
.u.array = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:49:2: note: in expansion of macro ‘_ctf_array_encoded’
_ctf_array_encoded(_type, _item, _src, _length, UTF8, 0)
^
././ust_tests_hello.h:42:3: note: in expansion of macro ‘ctf_array_text’
ctf_array_text(char, arrfield2, text, 10)
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:153:21: note: in expansion of macro ‘__type_integer’
.elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
^
../../include/lttng/ust-tracepoint-event-write.h:49:2: note: in expansion of macro ‘_ctf_array_encoded’
_ctf_array_encoded(_type, _item, _src, _length, UTF8, 0)
^
././ust_tests_hello.h:42:3: note: in expansion of macro ‘ctf_array_text’
ctf_array_text(char, arrfield2, text, 10)
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:153:21: note: in expansion of macro ‘__type_integer’
.elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
^
../../include/lttng/ust-tracepoint-event-write.h:49:2: note: in expansion of macro ‘_ctf_array_encoded’
_ctf_array_encoded(_type, _item, _src, _length, UTF8, 0)
^
././ust_tests_hello.h:42:3: note: in expansion of macro ‘ctf_array_text’
ctf_array_text(char, arrfield2, text, 10)
^
../../include/lttng/ust-tracepoint-event.h:154:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:49:2: note: in expansion of macro ‘_ctf_array_encoded’
_ctf_array_encoded(_type, _item, _src, _length, UTF8, 0)
^
././ust_tests_hello.h:42:3: note: in expansion of macro ‘ctf_array_text’
ctf_array_text(char, arrfield2, text, 10)
^
../../include/lttng/ust-tracepoint-event.h:167:5: error: expected primary-expression before ‘.’ token
.u.sequence = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:53:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:43:3: note: in expansion of macro ‘ctf_sequence’
ctf_sequence(char, seqfield1, text,
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:169:23: note: in expansion of macro ‘__type_integer’
.length_type = __type_integer(_length_type, BYTE_ORDER, 10, none), \
^
../../include/lttng/ust-tracepoint-event-write.h:53:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:43:3: note: in expansion of macro ‘ctf_sequence’
ctf_sequence(char, seqfield1, text,
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:169:23: note: in expansion of macro ‘__type_integer’
.length_type = __type_integer(_length_type, BYTE_ORDER, 10, none), \
^
../../include/lttng/ust-tracepoint-event-write.h:53:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:43:3: note: in expansion of macro ‘ctf_sequence’
ctf_sequence(char, seqfield1, text,
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:170:21: note: in expansion of macro ‘__type_integer’
.elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
^
../../include/lttng/ust-tracepoint-event-write.h:53:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:43:3: note: in expansion of macro ‘ctf_sequence’
ctf_sequence(char, seqfield1, text,
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:170:21: note: in expansion of macro ‘__type_integer’
.elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
^
../../include/lttng/ust-tracepoint-event-write.h:53:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:43:3: note: in expansion of macro ‘ctf_sequence’
ctf_sequence(char, seqfield1, text,
^
../../include/lttng/ust-tracepoint-event.h:171:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:53:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:43:3: note: in expansion of macro ‘ctf_sequence’
ctf_sequence(char, seqfield1, text,
^
../../include/lttng/ust-tracepoint-event.h:167:5: error: expected primary-expression before ‘.’ token
.u.sequence = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:58:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:45:3: note: in expansion of macro ‘ctf_sequence_text’
ctf_sequence_text(char, seqfield2, text,
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:169:23: note: in expansion of macro ‘__type_integer’
.length_type = __type_integer(_length_type, BYTE_ORDER, 10, none), \
^
../../include/lttng/ust-tracepoint-event-write.h:58:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:45:3: note: in expansion of macro ‘ctf_sequence_text’
ctf_sequence_text(char, seqfield2, text,
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:169:23: note: in expansion of macro ‘__type_integer’
.length_type = __type_integer(_length_type, BYTE_ORDER, 10, none), \
^
../../include/lttng/ust-tracepoint-event-write.h:58:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:45:3: note: in expansion of macro ‘ctf_sequence_text’
ctf_sequence_text(char, seqfield2, text,
^
../../include/lttng/ust-events.h:93:6: error: expected primary-expression before ‘.’ token
.u.basic.integer = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:170:21: note: in expansion of macro ‘__type_integer’
.elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
^
../../include/lttng/ust-tracepoint-event-write.h:58:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:45:3: note: in expansion of macro ‘ctf_sequence_text’
ctf_sequence_text(char, seqfield2, text,
^
../../include/lttng/ust-events.h:101:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:170:21: note: in expansion of macro ‘__type_integer’
.elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
^
../../include/lttng/ust-tracepoint-event-write.h:58:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:45:3: note: in expansion of macro ‘ctf_sequence_text’
ctf_sequence_text(char, seqfield2, text,
^
../../include/lttng/ust-tracepoint-event.h:171:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:58:2: note: in expansion of macro ‘_ctf_sequence_encoded’
_ctf_sequence_encoded(_type, _item, _src, \
^
././ust_tests_hello.h:45:3: note: in expansion of macro ‘ctf_sequence_text’
ctf_sequence_text(char, seqfield2, text,
^
../../include/lttng/ust-tracepoint-event.h:183:5: error: expected primary-expression before ‘.’ token
.u.basic.string.encoding = lttng_encode_UTF8, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event-write.h:63:2: note: in expansion of macro ‘_ctf_string’
_ctf_string(_item, _src, 0)
^
././ust_tests_hello.h:47:3: note: in expansion of macro ‘ctf_string’
ctf_string(stringfield, text)
^
../../include/lttng/ust-events.h:127:6: error: expected primary-expression before ‘.’ token
.u.basic._float = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:139:12: note: in expansion of macro ‘__type_float’
.type = __type_float(_type), \
^
../../include/lttng/ust-tracepoint-event-write.h:41:2: note: in expansion of macro ‘_ctf_float’
_ctf_float(_type, _item, _src, 0)
^
././ust_tests_hello.h:48:3: note: in expansion of macro ‘ctf_float’
ctf_float(float, floatfield, floatarg)
^
../../include/lttng/ust-events.h:134:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:139:12: note: in expansion of macro ‘__type_float’
.type = __type_float(_type), \
^
../../include/lttng/ust-tracepoint-event-write.h:41:2: note: in expansion of macro ‘_ctf_float’
_ctf_float(_type, _item, _src, 0)
^
././ust_tests_hello.h:48:3: note: in expansion of macro ‘ctf_float’
ctf_float(float, floatfield, floatarg)
^
../../include/lttng/ust-events.h:127:6: error: expected primary-expression before ‘.’ token
.u.basic._float = \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:139:12: note: in expansion of macro ‘__type_float’
.type = __type_float(_type), \
^
../../include/lttng/ust-tracepoint-event-write.h:41:2: note: in expansion of macro ‘_ctf_float’
_ctf_float(_type, _item, _src, 0)
^
././ust_tests_hello.h:49:3: note: in expansion of macro ‘ctf_float’
ctf_float(double, doublefield, doublearg)
^
../../include/lttng/ust-events.h:134:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
}, \
^
../../include/lttng/ust-tracepoint-event.h:194:3: note: in definition of macro ‘TRACEPOINT_EVENT_CLASS’
_fields \
^
../../include/lttng/ust-tracepoint-event.h:53:5: note: in expansion of macro ‘_TP_PARAMS’
_TP_PARAMS(_fields)) \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
././ust_tests_hello.h:35:2: note: in expansion of macro ‘TP_FIELDS’
TP_FIELDS(
^
../../include/lttng/ust-tracepoint-event.h:139:12: note: in expansion of macro ‘__type_float’
.type = __type_float(_type), \
^
../../include/lttng/ust-tracepoint-event-write.h:41:2: note: in expansion of macro ‘_ctf_float’
_ctf_float(_type, _item, _src, 0)
^
././ust_tests_hello.h:49:3: note: in expansion of macro ‘ctf_float’
ctf_float(double, doublefield, doublearg)
^
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:621:2: error: expected primary-expression before ‘.’ token
.u.ext.model_emf_uri = &__ref_model_emf_uri___##_provider##___##_name, \
^
../../include/lttng/ust-tracepoint-event.h:54:2: note: in expansion of macro ‘TRACEPOINT_EVENT_INSTANCE’
TRACEPOINT_EVENT_INSTANCE(_provider, _name, _name, \
^
././ust_tests_hello.h:31:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest,
^
../../include/lttng/ust-tracepoint-event.h:621:2: error: expected primary-expression before ‘.’ token
.u.ext.model_emf_uri = &__ref_model_emf_uri___##_provider##___##_name, \
^
../../include/lttng/ust-tracepoint-event.h:54:2: note: in expansion of macro ‘TRACEPOINT_EVENT_INSTANCE’
TRACEPOINT_EVENT_INSTANCE(_provider, _name, _name, \
^
././ust_tests_hello.h:53:1: note: in expansion of macro ‘TRACEPOINT_EVENT’
TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
^
make: *** [tp.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment