On Wed, Sep 23, 2015 at 07:54:04AM -0700, Gurucharan Shetty wrote:
> On Tue, Sep 22, 2015 at 12:53 PM, Alin Serdean
> 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
> > uint6
On Tue, Sep 22, 2015 at 12:53 PM, Alin Serdean
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
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