error C2059: syntax error : '.' error C2059: syntax error : '} ... This syntax: struct MyStruct someObject = {.foo ...
stackoverflow.com