[Bug c/38019] Cannot use nested designated initializer with unnamed inner aggregate

2008-11-05 Thread josh at freedesktop dot org
--- Comment #3 from josh at freedesktop dot org 2008-11-05 17:19 --- Sigh. Yes, I get the same set of errors. I seem to have managed to copy and paste the wrong set of messages. This does indeed look like a duplicate of bug 10676. Marking as such. *** This bug has been marked as a d

[Bug c/38019] Cannot use nested designated initializer with unnamed inner aggregate

2008-11-05 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2008-11-05 13:47 --- Subject: Re: Cannot use nested designated initializer with unnamed inner aggregate On Wed, 5 Nov 2008, rguenth at gcc dot gnu dot org wrote: > I get > > t.c: In function 'vec_add': > t.c:10: error: unknown field

[Bug c/38019] Cannot use nested designated initializer with unnamed inner aggregate

2008-11-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-05 09:36 --- I get t.c: In function 'vec_add': t.c:10: error: unknown field 'x' specified in initializer t.c:11: error: unknown field 'y' specified in initializer t.c:11: warning: excess elements in union initializer t.c:11: war