From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=9HejO4hIP2+7uVdHoFokrtbdPlxqi4oFYMJGZF6y9H0=; b=ZmaNIsLWV58gr8/i/kYXMblrMzuxSCika7yYjhECc21teP2X/+muGQ1Gv7qh07G00/ QrB0DgEo4//EtuGoapcaAIn9Z+vx6ujIxZpsRD/I7A5sImSCCai3p7/niIz6DHNETjga //CvtKyQl67dll2/+lUpl0NjF6H1XtOxHYh4Rs8ipojMsmU+5i+RPY0T+WmkwLNvE+Jp 0B0QegzE+6dE94jceuMwtUBnGuZ7sb9VayWBHr3Xke5in81/8B9MCsZdqvO3bITeRl8/ thRR4nnYJkt1ILn80Wly9HmJXM6sVkHM291HhQcaqqHxvy0BQn4vYHhHFx/neCntGxH3 D7TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=9HejO4hIP2+7uVdHoFokrtbdPlxqi4oFYMJGZF6y9H0=; b=h92w7s/F4RL+15arXW5WUB3ZZUXce/LDiOuMGREvtklKEg9e+JUNCswT/9sbD6hIZX wtULi8HBe811/Svfj6KO/BzP1XsZN1H+JE2aazY9pcKDCwXCQLViysODb9GIGYYbsoJt 9ONvmXcjFREbvWIXjYzpi7k6ntq4j4KJ7Zu+sr9X6zhAlfypMUQp2PTayg6QszDTVWTK bUKUgUKILv/+idmsXyrdN4oZ2phVemDjnTpmt5KzWI7aDS4M0oad/URkaETozu1EXggZ hSkhNYQsGns5Dqv7z90nViWq7/FZXkiMh43drVokoKlPG0auybnPOrKXp8hwcCba3yU1 zb5A== X-Gm-Message-State: ALoCoQkgdOMYBMx0kdIQeSNSkLO4AuZpAsNJt1H5M+lCNBn8Jppr0uMaqdotudAj80fRFZE3INZz X-Received: by 10.194.116.100 with SMTP id jv4mr52239594wjb.67.1448619019630; Fri, 27 Nov 2015 02:10:19 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id a63sm6732803wmc.5.2015.11.27.02.10.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Nov 2015 02:10:19 -0800 (PST) Date: Fri, 27 Nov 2015 02:10:19 -0800 (PST) X-Google-Original-Date: Fri, 27 Nov 2015 11:09 +0100 From: Thomas Monjalon To: Pablo de Lara Message-ID: <3492141.puSqUxxpuF@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1448617773-97621-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1448617773-97621-1-git-send-email-pablo.de.lara.guarch@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] distributor: fix compilation on icc 2015 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, 27 Nov 2015 10:10:20 -0000 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".