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

2015-03-16 Thread Ben Pfaff
On Mon, Mar 16, 2015 at 08:11:23PM +, Alin Serdean wrote: > Remove pad member from struct ofpact_nest. > > Also MSVC does not support parameters with __declspec as stated in: > https://msdn.microsoft.com/en-us/library/373ak2y1.aspx so accommodate the > code to the new format. > > Signed-off-b

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

2014-10-08 Thread Ben Pfaff
On Thu, Oct 09, 2014 at 03:00:58AM +, 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

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

2014-10-08 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Wednesday, October 08, 2014 8:01 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] Broken build on MSVC source='lib/nx-match.c' object='lib/nx-match.lo' li

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

2014-09-02 Thread Ben Pfaff
On Mon, Sep 01, 2014 at 08:11:54PM +, Alin Serdean wrote: > MSVC does not like variable length array either. > > This patch treats the following error: > > lib/dpif-netdev.c(2272) : > error C2057: expected constant expression > lib/dpif-netdev.c(2272) : > error C2466: cannot allocate an array