Re: [dpdk-dev] [PATCH] examples/l3fwd-power: fix build with icc

2018-10-26 Thread Thomas Monjalon
27/10/2018 00:13, Ferruh Yigit: > On 10/26/2018 11:00 PM, Thomas Monjalon wrote: > > main.c(376): error #592: variable "lcore_id" is used before its value is set > > RTE_SET_USED(lcore_id); > > ^ > > > > The variables were voided with RTE_SET_USED without an obvious reason. > > Rem

Re: [dpdk-dev] [PATCH] examples/l3fwd-power: fix build with icc

2018-10-26 Thread Ferruh Yigit
On 10/26/2018 11:00 PM, Thomas Monjalon wrote: > main.c(376): error #592: variable "lcore_id" is used before its value is set > RTE_SET_USED(lcore_id); > ^ > > The variables were voided with RTE_SET_USED without an obvious reason. > Removing these voidings should avoid the icc erro

[dpdk-dev] [PATCH] examples/l3fwd-power: fix build with icc

2018-10-26 Thread Thomas Monjalon
main.c(376): error #592: variable "lcore_id" is used before its value is set RTE_SET_USED(lcore_id); ^ The variables were voided with RTE_SET_USED without an obvious reason. Removing these voidings should avoid the icc error. Fixes: a137d012 ("examples/l3fwd-power: support traffic