VC++ me da muchos errores de sintaxis al intentar hacer la siguiente declaración:<br><br>struct dg_param {<br> int group;<br> char *name;<br> char sfid;<br> u_int16_t fid;<br> char tag;<br>
};<br><br>static struct dg_param dg_params[] = {<br>{ .name = "COM", .sfid = 0x1e, .fid = 0x011e, .tag = 0x60, },<br>{ .group = 1, .name = "DG1", .sfid = 0x01, .fid = 0x0101, .tag = 0x61, },<br>
{ .group = 2, .name = "DG2", .sfid = 0x02, .fid = 0x0102, .tag = 0x75, },<br>{ .group = 3, .name = "DG3", .sfid = 0x03, .fid = 0x0103, .tag = 0x63, },<br>{ .group = 4, .name = "DG4", .sfid = 0x04, .fid = 0x0104, .tag = 0x76, },<br>
{ .group = 5, .name = "DG5", .sfid = 0x05, .fid = 0x0105, .tag = 0x65, },<br>{ .group = 6, .name = "DG6", .sfid = 0x06, .fid = 0x0106, .tag = 0x66, },<br>{ .group = 7, .name = "DG7", .sfid = 0x07, .fid = 0x0107, .tag = 0x67, },<br>
{ .group = 8, .name = "DG8", .sfid = 0x08, .fid = 0x0108, .tag = 0x68, },<br>{ .group = 9, .name = "DG9", .sfid = 0x09, .fid = 0x0109, .tag = 0x69, },<br>{ .group = 10, .name = "DG10", .sfid = 0x0a, .fid = 0x010a, .tag = 0x6a, },<br>
{ .group = 11, .name = "DG11", .sfid = 0x0b, .fid = 0x010b, .tag = 0x6b, },<br>{ .group = 12, .name = "DG12", .sfid = 0x0c, .fid = 0x010c, .tag = 0x6d, },<br>{ .group = 13, .name = "DG13", .sfid = 0x0d, .fid = 0x010d, .tag = 0x6e, },<br>
{ .group = 14, .name = "DG14", .sfid = 0x0e, .fid = 0x010e, .tag = 0x6f, },<br>{ .group = 15, .name = "DG15", .sfid = 0x0f, .fid = 0x010f, .tag = 0x70, },<br>{ .group = 16, .name = "DG16", .sfid = 0x10, .fid = 0x0110, .tag = 0x75, },<br>
{ .name = "SOD", .sfid = 0x1d, .fid = 0x011d, .tag = 0x77, },<br>{ 0 } <br>};<br><br>¿por qué no me acepta esta estructura? , gracias. <br><br>