December 17, 2022 [Issue 23374] ImportC: only 1 designator currently allowed for C struct field initializer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23374 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
October 23, 2023 [Issue 23374] ImportC: only 1 designator currently allowed for C struct field initializer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23374 Andrea Fontana <trikkuz@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trikkuz@gmail.com --- Comment #1 from Andrea Fontana <trikkuz@gmail.com> --- Same problem with unions: union t_union { int a; long b; }; struct t_struct { union t_union u; }; struct t_struct err = { .u.a = 1 }; // Error: only 1 designator currently allowed for C struct field initializer -- |
Copyright © 1999-2021 by the D Language Foundation