From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] distributor: fix compilation on icc 2015 Date: Fri, 27 Nov 2015 02:10:19 -0800 (PST) Message-ID: <3492141.puSqUxxpuF@xps13> References: <1448617773-97621-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 To: Pablo de Lara Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id E07605424 for ; Fri, 27 Nov 2015 11:10:19 +0100 (CET) Received: by wmuu63 with SMTP id u63so49425113wmu.0 for ; Fri, 27 Nov 2015 02:10:19 -0800 (PST) In-Reply-To: <1448617773-97621-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" 2015-11-27 09:49, Pablo de Lara: > Fix following error on icc 2015: > > CC main.o > /tmp/dpdk-tmp3/examples/distributor/main.c(338): error #167: > argument of type "struct rte_mbuf *" is incompatible with > parameter of type "const char *" > _mm_prefetch(bufs[0], 0); > > Fixes: 07db4a97 ("examples/distributor: new sample app") > > Reported-by: Yongjie Gu > Signed-off-by: Pablo de Lara Hi Pablo, It is the same patch as the first one of Michael which fails with clang: http://dpdk.org/ml/archives/dev/2015-November/028929.html He has sent a second one without "const".