[ovs-dev] [PATCH 2/2] CodingStyle: Remove designated initialzers as acceptable.

Gurucharan Shetty shettyg at nicira.com
Tue Jul 14 15:20:28 UTC 2015


On Sat, Jul 11, 2015 at 9:56 AM, Ben Pfaff <blp at nicira.com> wrote:
> On Fri, Jul 10, 2015 at 09:26:07PM -0700, Gurucharan Shetty wrote:
>> MSVC 2013 does not like designated initializers when
>> structs are initialized inside structs.
>>
>> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
>
> Ugh.
>
> Acked-by: Ben Pfaff <blp at nicira.com>
>
> (Patch 1 looked OK too but I'm not really an expert on that code anymore
> so I'd prefer to get a review from someone else.)

I decided to drop this series as the issue of designated initializers
seems to be fixed in MSVC 2013 "update 4". The public information that
exists is here:
https://connect.microsoft.com/VisualStudio/feedback/details/805981/msvc-2013-c99-designated-initializers-cannot-initialize-unions-within-structs



More information about the dev mailing list