Re: [dpdk-dev] [PATCH] eal: fix build issue

2018-11-06 Thread Thomas Monjalon
06/11/2018 14:31, Jerin Jacob: > From: Thomas Monjalon > > 06/11/2018 12:45, Jerin Jacob: > > > Some toolchain has fls() definition in string.h as argument type int, > > > which is conflicting uint32_t argument type. > > > > > > /export/dpdk.org/lib/librte_eal/common/rte_reciprocal.c:47:19: > > >

Re: [dpdk-dev] [PATCH] eal: fix build issue

2018-11-06 Thread Jerin Jacob
-Original Message- > Date: Tue, 06 Nov 2018 13:29:19 +0100 > From: Thomas Monjalon > To: Jerin Jacob > Cc: "dev@dpdk.org" , "Jacob, Jerin" > , "sta...@dpdk.org" > Subject: Re: [dpdk-dev] [PATCH] eal: fix build issue > > >

Re: [dpdk-dev] [PATCH] eal: fix build issue

2018-11-06 Thread Thomas Monjalon
06/11/2018 12:45, Jerin Jacob: > Some toolchain has fls() definition in string.h as argument type int, > which is conflicting uint32_t argument type. > > /export/dpdk.org/lib/librte_eal/common/rte_reciprocal.c:47:19: > error: conflicting types for ‘fls’ > static inline int fls(uint32_t x) >

[dpdk-dev] [PATCH] eal: fix build issue

2018-11-06 Thread Jerin Jacob
Some toolchain has fls() definition in string.h as argument type int, which is conflicting uint32_t argument type. /export/dpdk.org/lib/librte_eal/common/rte_reciprocal.c:47:19: error: conflicting types for ‘fls’ static inline int fls(uint32_t x) ^~~ /opt/marvell-tools-201/aarc

[dpdk-dev] [PATCH] eal: Fix build issue of hotplug with icc

2015-02-28 Thread Thomas Monjalon
> > This patch fixes following errors with icc. > > > > error #188: enumerated type mixed with another type > > return -1; > > > Confirmed that this fixes the issue with ICC 13.1.1. > > Acked-by: John McNamara Applied, thanks

[dpdk-dev] [PATCH] eal: Fix build issue of hotplug with icc

2015-02-27 Thread Mcnamara, John
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Friday, February 27, 2015 5:21 AM > To: dev at dpdk.org > Cc: Mcnamara, John; Tetsuya Mukawa > Subject: [PATCH] eal: Fix build issue of hotplug with icc > > This patch fixes following errors with icc. > > e

[dpdk-dev] [PATCH] eal: Fix build issue of hotplug with icc

2015-02-27 Thread Tetsuya Mukawa
This patch fixes following errors with icc. error #188: enumerated type mixed with another type return -1; Reported-by: Mcnamara, John Signed-off-by: Tetsuya Mukawa --- lib/librte_ether/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte