[cfe-dev] [PATCH] Flexible array initializers may be strings

Chris Lattner clattner at apple.com
Sun Oct 10 10:51:36 PDT 2010


On Sep 24, 2010, at 2:14 AM, Pierre Habouzit wrote:

> for example:
> 
> struct a {
>  int  b;
>  char v[];
> };
> 
> struct a foo = { .b = 0, .v = "bar" };
> 
> is perfectly sensible and correct (and accepted by gcc).

Thanks! Applied in r116165, sorry for the delay.

-Chris



More information about the cfe-dev mailing list