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

Ferruh Yigit ferruh.yigit at intel.com
Sat Oct 27 00:13:23 CEST 2018


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 error.
> 
> Fixes: a137d012 ("examples/l3fwd-power: support traffic pattern aware control")
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

Tested-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the dev mailing list