* parameter is used in the tentative typedef so it is printed to the user.
*/
#define lttng_ust_static_assert(predicate, msg, c_identifier_msg) \
- typedef char lttng_ust_static_assert_##c_identifier_msg[2*!!(predicate)-1];
+ typedef char lttng_ust_static_assert_##c_identifier_msg[2*!!(predicate)-1]
#endif
#endif /* _LTTNG_UST_COMPILER_H */
#define _ctf_array_encoded(_type, _item, _src, _byte_order, \
_length, _encoding, _nowrite, \
_elem_type_base) \
- lttng_ust_ctf_array_element_type_is_supported(_type, _item)
+ lttng_ust_ctf_array_element_type_is_supported(_type, _item);
#undef _ctf_sequence_encoded
#define _ctf_sequence_encoded(_type, _item, _src, _byte_order, \
_length_type, _src_length, _encoding, _nowrite, \
_elem_type_base) \
- lttng_ust_ctf_array_element_type_is_supported(_type, _item)
+ lttng_ust_ctf_array_element_type_is_supported(_type, _item);
#undef TP_FIELDS
#define TP_FIELDS(...) __VA_ARGS__ /* Only one used in this phase */
#define lttng_ust_ctf_array_element_type_is_supported(type, item) \
lttng_ust_static_assert(lttng_ust_is_integer_type(type), \
"Non-integer type `" #item "` not supported as element of CTF_ARRAY or CTF_SEQUENCE", \
- Non_integer_type__##item##__not_supported_as_element_of_CTF_ARRAY_or_CTF_SEQUENCE);
+ Non_integer_type__##item##__not_supported_as_element_of_CTF_ARRAY_or_CTF_SEQUENCE)
/**