Re: [Vala] Const #defs after use: is this a known problem?
- From: Luca Bruno <lethalman88 gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Const #defs after use: is this a known problem?
- Date: Tue, 21 Oct 2014 09:32:22 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]