From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v2 01/16] fm10k: add new vPMD file Date: Thu, 22 Oct 2015 08:58:40 -0700 Message-ID: <20151022085840.1d082e75@xeon-e3> References: <1443531824-22767-2-git-send-email-jing.d.chen@intel.com> <1445507104-22563-1-git-send-email-jing.d.chen@intel.com> <1445507104-22563-2-git-send-email-jing.d.chen@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: "Chen Jing D(Mark)" Return-path: Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by dpdk.org (Postfix) with ESMTP id 0FF49C394 for ; Thu, 22 Oct 2015 17:58:32 +0200 (CEST) Received: by pacfv9 with SMTP id fv9so94336499pac.3 for ; Thu, 22 Oct 2015 08:58:31 -0700 (PDT) In-Reply-To: <1445507104-22563-2-git-send-email-jing.d.chen@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" On Thu, 22 Oct 2015 17:44:49 +0800 "Chen Jing D(Mark)" wrote: > +#ifndef __INTEL_COMPILER > +#pragma GCC diagnostic ignored "-Wcast-qual" > +#endif Since this is new code, can't you make it work correctly with Gcc. Rather than turning off a useful diagnostic.