http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
Bug #: 55606 Summary: sorry, unimplemented: non-trivial designated initializers not supported Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com [hjl@gnu-6 build]$ cat x.c struct foo { char x[128]; unsigned* i; }; struct foo x = { i: 0 }; [hjl@gnu-6 build]$ gcc -S x.c [hjl@gnu-6 build]$ g++ -S x.c x.c:7:1: sorry, unimplemented: non-trivial designated initializers not supported [hjl@gnu-6 build]$