[Vala] Const #defs after use: is this a known problem?
- From: Andy Lees <andrewl oz gmail com>
- To: vala-list gnome org
- Subject: [Vala] Const #defs after use: is this a known problem?
- Date: Tue, 21 Oct 2014 11:14:40 +1100
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?
Regards,
Andrew Lees
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]