[dpdk-dev] [PATCH] net/softnic: fix build error on gcc4.5.1

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Wed Nov 8 12:15:35 CET 2017



> -----Original Message-----
> From: Singh, Jasvinder
> Sent: Wednesday, November 8, 2017 10:25 AM
> To: dev at dpdk.org
> Cc: thomas at monjalon.net; Dumitrescu, Cristian
> <cristian.dumitrescu at intel.com>
> Subject: [PATCH] net/softnic: fix build error on gcc4.5.1
> 
> Fix the build error due to improper handling of unions on SUSE11(gcc 4.5.1).
> 
> Fixes: 299a89de916a ("net/softnic: add TM capabilities ops")
> 
> DPDK/drivers/net/softnic/rte_eth_softnic_tm.c:588:3
> error: unknown field 'nonleaf' specified in initializer compilation
> terminated due to -Wfatal-errors.
> 
> Signed-off-by: Jasvinder Singh <jasvinder.singh at intel.com>
> ---
>  drivers/net/softnic/rte_eth_softnic_tm.c | 40 ++++++++++++++++-----------
> -----
>  1 file changed, 20 insertions(+), 20 deletions(-)
> 

Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>



More information about the dev mailing list