[ovs-dev] [bucket stats v3] ofp-util: compile group stats with visual studio

Ben Pfaff blp at nicira.com
Thu May 8 23:14:33 UTC 2014


On Thu, May 08, 2014 at 04:05:55PM -0700, Andy Zhou wrote:
> Visual studio supports zero-size array within a struct or union,
> but has to be the last element. GCC does not have this restriction.
> 
> Commits 644cfd84772eb7d8 and 6fdaa45a6f6c9 make use of 0 size array.
> Remove them so that visual studio can compile them as well.
> 
> Reported-by: Gurucharan Shetty <gshetty at nicira.com>
> Signed-off-by: Andy Zhou <azhou at nicira.com>

The use of ofpmp_append() I had a problem with in v2 looks fine now.
I didn't reread the rest.

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list