[ovs-dev] [PATCH] Broken build on MSVC

Ben Pfaff blp at nicira.com
Thu Oct 9 05:15:46 UTC 2014


On Thu, Oct 09, 2014 at 03:00:58AM +0000, Alin Serdean wrote:
> lib/nx-match.c(320) : error C2100: illegal indirection
> lib/nx-match.c(320) : error C2034: 'build_assert_failed' : type of bit field too small for number of bits
> lib/nx-match.c(320) : error C2296: '%' : illegal, left operand has type 'void *'
> lib/nx-match.c(320) : error C2198: 'ntohll' : too few arguments for call
> make[2]: *** [lib/nx-match.lo] Error 1
> make[2]: Leaving directory `/c/temp_october/08_10_2014/temp/4/ovs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/c/temp_october/08_10_2014/temp/4/ovs'
> make: *** [all] Error 2

Thanks for the report.

I prefer a different solution.  Will you check that this fixes the
problem too?  I only tested it on GCC (by changing "#ifdef __GNUC__" to
"#if 0"):
        http://openvswitch.org/pipermail/dev/2014-October/047087.html



More information about the dev mailing list