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

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

2015-03-16 Thread Alin Serdean
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-by: Alin Gabriel Serdean --- lib/ofp-actions.c | 12 ++-- lib/

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='

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

2014-10-08 Thread Alin Serdean
source='lib/nx-match.c' object='lib/nx-match.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/sh ./build-aux/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile ./build-aux/cccl -DHAVE_CONFIG_H -I. -I ./include/windows -I ./datapath-windows/include -IC:/pthread/includ

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

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

2014-09-01 Thread Alin Serdean
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 of constant size 0 lib/dpif-netdev.c(2272) : error C2133: 'batches' : unknown