Re: [Vala] Const #defs after use: is this a known problem?



Thanks for that.  I did search, but not with the right term it seems!

On Tue, Oct 21, 2014 at 6:32 PM, Luca Bruno <lethalman88 gmail com> wrote:

On 21/10/2014 02:14, Andy Lees wrote:
If I have the following structure:

public class Main : Object
{
....
  static const int max_chans = 64;
....
  static int out_chans[max_chans];

The compilation fails because the #defines for the const declarations are
made after the declarations of the non-const arrays.  Is there a reason
for
this, or is it just a compiler error?
Known bug: https://bugzilla.gnome.org/show_bug.cgi?id=727667
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list



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