On Wed, Sep 23, 2015 at 07:54:04AM -0700, Gurucharan Shetty wrote: > On Tue, Sep 22, 2015 at 12:53 PM, Alin Serdean > <aserd...@cloudbasesolutions.com> wrote: > > MSVC does not support zero-size array unless it is the last member of > > a defined structure. > > > > The error is hit only on MSVC 64 bit because the size of > > uint64_t is equal with sizeof(struct tun_table *). > > > > This patch ifdef's out the pad member of the structure tun_metadata > > in case we are on the MSVC 64 bit compiler. > > > > Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com> > > I will let Ben take a look to see if something better can be done here.
Oh, a challenge ;-) I sent out a suggestion for review: http://openvswitch.org/pipermail/dev/2015-September/060534.html _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev