Re: [Vala] array declaration



Hi,

On Thu, Jul 8, 2010 at 9:35 AM, Xavier Bestel <xavier bestel free fr> wrote:
On Wed, 2010-07-07 at 23:07 +0200, Frederik wrote:
(...)

There's one missing type, supported by gcc: dynamic stack-allocated
arrays:

int a[x];

Would be very nice to have.

Although a nice feature, please don't. It would break compatibility
with non-C99 compilers, like MSVC. (We are using Vala this way in
http://code.google.com/p/frida-ire/)

Best regards,
Ole André



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]