From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpmsW-0000wt-D3 for qemu-devel@nongnu.org; Fri, 23 Oct 2015 20:40:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpmsS-0005Kp-3D for qemu-devel@nongnu.org; Fri, 23 Oct 2015 20:40:12 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:42407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpmsR-0005Al-Fx for qemu-devel@nongnu.org; Fri, 23 Oct 2015 20:40:08 -0400 Message-ID: <562AD352.5040009@huawei.com> Date: Sat, 24 Oct 2015 08:39:46 +0800 From: Gonglei MIME-Version: 1.0 References: <1445600164-17068-1-git-send-email-mst@redhat.com> In-Reply-To: <1445600164-17068-1-git-send-email-mst@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] vhost-user-test: fix up rhel6 build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" , qemu-devel@nongnu.org Cc: Marcel Apfelbaum , =?windows-1252?Q?Marc-Andr=E9_Lureau?= , Yuanhan Liu 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/vhost-user-test.c | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) Reviewed-by: Gonglei