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

2015-10-22 Thread Laurent Desnogues
Hello, On Thu, Oct 22, 2015 at 9:37 PM, 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. This fixes the issue I previously re

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

2015-10-22 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 --- hw/virtio/vhost-user.c | 48 -