From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id C3527567C for ; Wed, 1 Jul 2015 23:12:56 +0200 (CEST) Received: by wgjx7 with SMTP id x7so46988318wgj.2 for ; Wed, 01 Jul 2015 14:12:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=dgZ8scj57CRzchUvi83nVlQdeLVd5lUd+Cda/EF3mUg=; b=Fa+VU9S7i62P50CNLt6wNR0cjd8rzgH/1SRfQmz5voKXLDuXLgnKekPSZAzeDwRVtL giigaN/E9LndvETp2Kbky4gQ1HObOwYC3RPP01csZRf5QF0kbYsqv7KwdKrU/IPT5Xaw clOv8DM77a23HAYOmiJiDn2eQgD5eLk/Rt+S8aBAikgzO3uH0l8j9TVBwXIlRl9MIfID aHw7p3rg4ig/lmock73yunp3dO+DNnUpM6+kMtf3D6kGPukc8UbT4mkJHFfAzMDWdcUx 9S8qBqLJSqkxqNWNlaygJlx2hk44Edrwwwtw0YiMMVsECCMaauRLrn/SwFl4e/UEUR0L zlVw== X-Gm-Message-State: ALoCoQnTfgq/OnIzFnsGH5fTcyVHseNT5J1ScpmhTKZVvKJsqW7HEcfE5xPLyI1OWW7iDJC5mMQZ X-Received: by 10.194.24.196 with SMTP id w4mr51165876wjf.137.1435785176523; Wed, 01 Jul 2015 14:12:56 -0700 (PDT) Received: from xps13.localnet (guy78-1-82-235-116-147.fbx.proxad.net. [82.235.116.147]) by mx.google.com with ESMTPSA id ka7sm4630657wjc.36.2015.07.01.14.12.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jul 2015 14:12:55 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Date: Wed, 01 Jul 2015 23:11:47 +0200 Message-ID: <1495970.aR90hZ0ccm@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1435763497-7264-1-git-send-email-bruce.richardson@intel.com> References: <1435763497-7264-1-git-send-email-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] cxgbe: fix compilation using icc 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: Wed, 01 Jul 2015 21:12:57 -0000 2015-07-01 16:11, Bruce Richardson: > When compiling the cxgbe driver with icc, multiple errors about using > enums as integers appear across a number of files, including in the base > code and in the DPDK-specific driver code. > > .../drivers/net/cxgbe/cxgbe_main.c(386): error #188: enumerated type mixed > with another type > t4_get_port_type_description(pi->port_type)); > ^ > For the errors in the base driver code we use the CFLAGS_BASE_DRIVER > approach used by other drivers to disable warnings. > > For errors in the DPDK-specific code, typecasts are used to fix the > errors in the code itself. > > Signed-off-by: Bruce Richardson Applied, thanks