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

Thomas Monjalon thomas at monjalon.net
Wed Nov 8 20:45:43 CET 2017


> > 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>

Applied, thanks



More information about the dev mailing list