Ruud Vlaming <r...@betaresearch.nl> wrote:

>> No idea why the behaviour changes, but as a note of warning: a
>> zero-length array is not allowed by the C standard.

> Well, mayby not in ISO C, but certainly in GNU C:

I know, but I've only used it as a flexible array member in the past,
where I'd prefer the C99 way now.

In your case, I'd revert the code to the portable #ifdef.

Anyway, you're right, as long as GCC claims support for it, it ought
to work, so you might consider filing a bug report (unless there's
already one).

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to