From: Philippe Proulx Date: Tue, 28 Jun 2016 23:11:04 +0000 (-0400) Subject: Fix: ctf_enum_value() does not work with g++ X-Git-Tag: v2.9.0-rc1~54 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=2c3f4c28698f497756f194ef88cd991e2cca6bb4;hp=2c3f4c28698f497756f194ef88cd991e2cca6bb4;p=lttng-ust.git Fix: ctf_enum_value() does not work with g++ g++ does not support non-trivial designated initializers like C99 does, thus the fields must be initialized in order in ctf_enum_value(). Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers ---