From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: fix compilation with gcc 6.1 Date: Thu, 23 Jun 2016 16:59:02 +0200 Message-ID: <13456618.zD3umMGWtb@xps13> References: <1466692704-2811-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, helin.zhang@intel.com To: Pablo de Lara Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 4673CC560 for ; Thu, 23 Jun 2016 16:59:05 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id r190so4280037wmr.0 for ; Thu, 23 Jun 2016 07:59:05 -0700 (PDT) In-Reply-To: <1466692704-2811-1-git-send-email-pablo.de.lara.guarch@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-06-23 15:38, Pablo de Lara: > Using gcc 6.1, in some cases, kni fails to compile > because of unused variables: Curiosity: is it only with gcc 6.1? Have you tested other versions? > lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c | 4 ---- > 1 file changed, 4 deletions(-) We all know that the most efficient patch would be to drop the directory lib/librte_eal/linuxapp/kni/ethtool/ ;)