I actually submitted a fix for this to gerrit. It should keep gcc5/6 happy and work with gcc7 too.
On Wed, 2017-05-31 at 11:45 +0200, Marco Varlese wrote: > Hi all, > > Is anybody using GCC7 to build the VPP source code? > > I'm seeing this: > > [ 297s] /home/abuild/rpmbuild/BUILD/vpp-17.07/build- > data/../src/vnet/policer/xlate.c: In function > 'sse2_pol_convert_hw_to_cfg_params': > [ 297s] /home/abuild/rpmbuild/BUILD/vpp-17.07/build- > data/../src/vnet/policer/xlate.c:1319:27: error: '<<' in boolean context, did > you mean '<' ? [-Werror=int-in-bool-context] > [ 297s] !(hw->peak_rate_man << hw->rate_exp) && !(hw- > > > > extd_bkt_limit_man)) > [ 297s] ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ > [ 297s] cc1: all warnings being treated as errors > [ 297s] make[4]: *** [Makefile:5926: vnet/policer/xlate.lo] Error 1 > > > I can confirm that everything builds just fine using GCC6. > > > Thanks, > Marco > > _______________________________________________ > vpp-dev mailing list > vpp-dev@lists.fd.io > https://lists.fd.io/mailman/listinfo/vpp-dev _______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev