On Thu, Nov 10, 2005 at 11:35:20PM +0100, Gabriel Dos Reis wrote:
> Mark Mitchell <[EMAIL PROTECTED]> writes:
>
> | Ideally, I think we would support it; I'm just not sure exactly what
> | restrictions, if any, should apply to the flexible array data member.
> | For example, perhaps the type of th
Mark Mitchell <[EMAIL PROTECTED]> writes:
| Ideally, I think we would support it; I'm just not sure exactly what
| restrictions, if any, should apply to the flexible array data member.
| For example, perhaps the type of the elements should be one that does
| not require construction. Perhaps that
Aldy Hernandez wrote:
> Hi folks.
>
> The code below is ICE-ing in C++:
>
> typedef struct {
> unsigned char dir;
> int data[];
> } AiDefaultRailBlock;
> static const AiDefaultRailBlock _raildata_ai_0 = { 1, { 0, 4 } };
>
> According to our docs, this is valid under flexible arrays:
>
> ht