This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/55606] New: sorry, unimplemented: non-trivial designated initializers not supported


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: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@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]$


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]