Re: [ovs-dev] [v2] ofp-util: compile group stats with visual studio

2014-05-08 Thread Andy Zhou
On Mon, May 5, 2014 at 8:18 AM, Ben Pfaff wrote: > On Thu, Apr 24, 2014 at 05:34:09PM -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

Re: [ovs-dev] [v2] ofp-util: compile group stats with visual studio

2014-05-05 Thread Ben Pfaff
On Thu, Apr 24, 2014 at 05:34:09PM -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

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

2014-04-24 Thread Andy Zhou
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 Sig