Re: [dpdk-dev] [PATCH] net/ixgbe: avoid multpile definitions of 'bool'

2019-10-16 Thread Dharmik Thakkar
Hi Ye, Thank you for the comments! > On Oct 16, 2019, at 1:23 AM, Ye Xiaolong wrote: > > Hi, > > On 10/03, Dharmik Thakkar wrote: >> Compilation issue arises due to multiple definitions of 'bool' >> in 'ixgbe_ethdev.h'. > > Which compiler would trigger this compilation issue? gcc version 7.4.0

Re: [dpdk-dev] [PATCH] net/ixgbe: avoid multpile definitions of 'bool'

2019-10-15 Thread Ye Xiaolong
Hi, On 10/03, Dharmik Thakkar wrote: >Compilation issue arises due to multiple definitions of 'bool' >in 'ixgbe_ethdev.h'. Which compiler would trigger this compilation issue? And we have several "typedef int bool" in multiple drivers, drivers/net/bnx2x/bnx2x_ethdev.h:50:typedef int bool; driver

[dpdk-dev] [PATCH] net/ixgbe: avoid multpile definitions of 'bool'

2019-10-03 Thread Dharmik Thakkar
Compilation issue arises due to multiple definitions of 'bool' in 'ixgbe_ethdev.h'. Error: '/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_dev_setup_link_alarm_handler’: /dpdk/drivers/net/ixgbe/ixgbe_ethdev.c:4075:43: error: passing argument 3 of ‘ixgbe_get_link_capabilities’ from inco