projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ctf_enum_value() does not work with g++
[lttng-ust.git]
/
include
/
lttng
/
ust-tracepoint-event.h
diff --git
a/include/lttng/ust-tracepoint-event.h
b/include/lttng/ust-tracepoint-event.h
index a470e8cdebb6d626f70814584523986400406ab1..f898523c6d90004d796f7d6b314a61f742dbf1fd 100644
(file)
--- a/
include/lttng/ust-tracepoint-event.h
+++ b/
include/lttng/ust-tracepoint-event.h
@@
-132,14
+132,14
@@
static const char \
#define ctf_enum_value(_string, _value) \
{ \
.start = { \
#define ctf_enum_value(_string, _value) \
{ \
.start = { \
- .signedness = lttng_is_signed_type(__typeof__(_value)), \
.value = lttng_is_signed_type(__typeof__(_value)) ? \
(long long) (_value) : (_value), \
.value = lttng_is_signed_type(__typeof__(_value)) ? \
(long long) (_value) : (_value), \
+ .signedness = lttng_is_signed_type(__typeof__(_value)), \
}, \
.end = { \
}, \
.end = { \
- .signedness = lttng_is_signed_type(__typeof__(_value)), \
.value = lttng_is_signed_type(__typeof__(_value)) ? \
(long long) (_value) : (_value), \
.value = lttng_is_signed_type(__typeof__(_value)) ? \
(long long) (_value) : (_value), \
+ .signedness = lttng_is_signed_type(__typeof__(_value)), \
}, \
.string = (_string), \
},
}, \
.string = (_string), \
},
@@
-149,14
+149,14
@@
static const char \
#define ctf_enum_range(_string, _range_start, _range_end) \
{ \
.start = { \
#define ctf_enum_range(_string, _range_start, _range_end) \
{ \
.start = { \
- .signedness = lttng_is_signed_type(__typeof__(_range_start)), \
.value = lttng_is_signed_type(__typeof__(_range_start)) ? \
(long long) (_range_start) : (_range_start), \
.value = lttng_is_signed_type(__typeof__(_range_start)) ? \
(long long) (_range_start) : (_range_start), \
+ .signedness = lttng_is_signed_type(__typeof__(_range_start)), \
}, \
.end = { \
}, \
.end = { \
- .signedness = lttng_is_signed_type(__typeof__(_range_end)), \
.value = lttng_is_signed_type(__typeof__(_range_end)) ? \
(long long) (_range_end) : (_range_end), \
.value = lttng_is_signed_type(__typeof__(_range_end)) ? \
(long long) (_range_end) : (_range_end), \
+ .signedness = lttng_is_signed_type(__typeof__(_range_end)), \
}, \
.string = (_string), \
},
}, \
.string = (_string), \
},
This page took
0.024203 seconds
and
4
git commands to generate.