[ovs-dev] [PATCH] configure: Disable -Wnull-pointer-arithmetic Clang warning.

Ben Pfaff blp at ovn.org
Thu Jul 12 21:22:44 UTC 2018


Thanks, applied to master.

On Wed, Jul 11, 2018 at 01:25:03PM -0700, Yifeng Sun wrote:
> Thanks.
> 
> Reviewed-by: Yifeng Sun <pkusunyifeng at gmail.com>
> 
> On Mon, Jul 9, 2018 at 2:37 PM, Ben Pfaff <blp at ovn.org> wrote:
> 
> > OVS trips over this warning all over the place, so it's not worth leaving
> > on.
> >
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> > ---
> >  configure.ac | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/configure.ac b/configure.ac
> > index af570b32012d..c89c607c7124 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -171,6 +171,7 @@ OVS_ENABLE_OPTION([-Wshift-negative-value])
> >  OVS_ENABLE_OPTION([-Wduplicated-cond])
> >  OVS_ENABLE_OPTION([-Qunused-arguments])
> >  OVS_ENABLE_OPTION([-Wshadow])
> > +OVS_ENABLE_OPTION([-Wno-null-pointer-arithmetic])
> >  OVS_CONDITIONAL_CC_OPTION([-Wno-unused], [HAVE_WNO_UNUSED])
> >  OVS_CONDITIONAL_CC_OPTION([-Wno-unused-parameter],
> > [HAVE_WNO_UNUSED_PARAMETER])
> >  OVS_ENABLE_WERROR
> > --
> > 2.16.1
> >
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > https://mail.openvswitch.org/mailman/listinfo/ovs-dev
> >


More information about the dev mailing list