Message <Context> , a designator cannot be used with an object of scalar type. Description An initialization designator can only be used on objects of array, structure, or union type. In this initialization, the current object being initialized is a scalar type so a designator is not allowed. User Action Correct the initialization.