[dpdk-dev] [PATCH] examples/ip_pipeline: Fix compile issue with strict-aliasing
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Dec 9 21:38:22 CET 2015
> > Compile ip_pipeline in CentOS 6.5 with kernel 2.6.32-431 GCC 4.4.7, will lead
> > below error:
> >
> > pipeline_routing_be.c: In function
> > ‘pipeline_routing_msg_req_arp_add_handler’:
> > pipeline_routing_be.c:1817: error: dereferencing pointer ‘({anonymous})’
> > does break strict-aliasing rules
> >
> > This because the code break strict-aliasing rule.
> > The patch solve this issue.
> >
> > Fixes: 0ae7275810f1 (examples/ip_pipeline: add more functions to routing
> > pipeline)
> >
> > Signed-off-by: Michael Qiu <michael.qiu at intel.com>
>
> Acked-by: Jasvinder Singh <jasvinder.singh at intel.com>
Applied, thanks
More information about the dev
mailing list