Re: [Qemu-devel] [PATCH] vhost-user-test: fix up rhel6 build

2015-10-24 Thread Michael S. Tsirkin
On Sat, Oct 24, 2015 at 08:39:46AM +0800, Gonglei wrote: > On 2015/10/23 19:36, Michael S. Tsirkin wrote: > > Build on RHEL6 fails: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42875 > > > > Apparently unnamed unions couldn't use C99 named field initializers. > > Let's just name the payload u

Re: [Qemu-devel] [PATCH] vhost-user-test: fix up rhel6 build

2015-10-23 Thread Gonglei
On 2015/10/23 19:36, Michael S. Tsirkin wrote: > Build on RHEL6 fails: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42875 > > Apparently unnamed unions couldn't use C99 named field initializers. > Let's just name the payload union field. > > Signed-off-by: Michael S. Tsirkin > --- > tests/vh

[Qemu-devel] [PATCH] vhost-user-test: fix up rhel6 build

2015-10-23 Thread Michael S. Tsirkin
Build on RHEL6 fails: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42875 Apparently unnamed unions couldn't use C99 named field initializers. Let's just name the payload union field. Signed-off-by: Michael S. Tsirkin --- tests/vhost-user-test.c | 18 +- 1 file changed, 9 insert