Re: [cc65] Another wish: Unsized Arrays in Structures

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-02-03 23:22:22


Hi!

On Wed, Jan 29, 2003 at 06:06:01PM +0100, Spiro Trikaliotis wrote:
> this is not the same because here, char name[...] has 1 element, while the
> MS specific stuff has not.

It's not the same, but it's effectively the same as doing flexible array
members "by hand".

> Ok, this is something I have not thought of. In fact, I never even used it,
> and I cannot find an example where this might be usefull.

I'm still undecided about the initialization feature, but flexible array
members as defined by the C99 standard are now supported by the latest
snapshot. I've also made more than half of the changes needed to support
Microsoft style initialization, but when doing so found more inconsistencies,
so I'm not sure if this will get finished. If you have a use for the C99
feature, please grab the latest snapshot and give it a try. Feedback is
welcome as always.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-02-03 23:24:41 CET