From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 85BE42A5F for ; Tue, 12 Jul 2016 11:37:02 +0200 (CEST) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 98EBA3B716; Tue, 12 Jul 2016 09:37:00 +0000 (UTC) Received: from [10.35.202.34] (vpn-202-34.tlv.redhat.com [10.35.202.34]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6C9aubF009900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jul 2016 05:36:58 -0400 To: Thomas Monjalon References: <1468315825-24089-1-git-send-email-maxime.coquelin@redhat.com> <5152684.xueBXv02kq@xps13> Cc: dev@dpdk.org, huawei.xie@intel.com, yuanhan.liu@linux.intel.com, Jianfeng Tan From: Maxime Coquelin Message-ID: Date: Tue, 12 Jul 2016 11:36:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <5152684.xueBXv02kq@xps13> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 12 Jul 2016 09:37:00 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH] net/virtio-user: Fix missing brackets in if condition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2016 09:37:02 -0000 On 07/12/2016 11:35 AM, Thomas Monjalon wrote: > Hi, > > 2016-07-12 11:30, Maxime Coquelin: >> The error is reported using test build script: >> >> $ scripts/test-build.sh x86_64-native-linuxapp-gcc >> ... >> drivers/net/virtio/virtio_user_ethdev.c: In function ‘virtio_user_pmd_devinit’: >> drivers/net/virtio/virtio_user_ethdev.c:345:2: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] > Are you using gcc 6 ? Yes: $ gcc --version gcc (GCC) 6.1.1 20160621 (Red Hat 6.1.1-3)