From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9907FC67A for ; Fri, 24 Jun 2016 10:28:05 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 24 Jun 2016 01:28:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,518,1459839600"; d="scan'208";a="1004342019" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.73]) ([10.237.220.73]) by orsmga002.jf.intel.com with ESMTP; 24 Jun 2016 01:28:03 -0700 To: Pablo de Lara , dev@dpdk.org References: <1466692704-2811-1-git-send-email-pablo.de.lara.guarch@intel.com> Cc: helin.zhang@intel.com From: Ferruh Yigit Message-ID: <576CEF12.4040203@intel.com> Date: Fri, 24 Jun 2016 09:28:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1466692704-2811-1-git-send-email-pablo.de.lara.guarch@intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation with gcc 6.1 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: Fri, 24 Jun 2016 08:28:06 -0000 On 6/23/2016 3:38 PM, Pablo de Lara wrote: > Using gcc 6.1, in some cases, kni fails to compile > because of unused variables: > > build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:82:19: > error: ‘ixgbe_copyright’ > defined but not used [-Werror=unused-const-variable=] > static const char ixgbe_copyright[] = > ^~~~~~~~~~~~~~~ > > build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:62:19: > error: ‘ixgbe_driver_string’ > defined but not used [-Werror=unused-const-variable=] > static const char ixgbe_driver_string[] = > > Fixes: 3fc5ca2f6352 ("kni: initial import") > > Signed-off-by: Pablo de Lara Acked-by: Ferruh Yigit