On Mon, 26 Oct 2009 07:14:15 +0200
Jan Stępień wrote:
> $ cat Test.vala
>
> class Test {
> public static int x {get; set;}
> Test(int val) { x = val; nop(x); }
> private void nop(int a) { }
> }
>
> $ valac -C Test.vala
>
> Here's a fragment from Test.c:
>
> static Test* test_
As always, as a guy with assembly, C and Bash programming background
only, I hope that I'm not asking a dumb question...
I understand that posix profile compiles code without glib/gobject
dependency, but I found some simple examples do not compile. For
example, this one in Genie syntax:
init
Jud Craft wrote:
> Does Vala print its own error messages for the Vala language, or does
> it spit out the C errors that GCC gives in the background?
Vala prints its own error messages and warnings.
GCC errors are bugs in the Vala compiler (or you don't have the header
files of the libraries used
Does Vala print its own error messages for the Vala language, or does
it spit out the C errors that GCC gives in the background?
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
On Mon, 2009-10-26 at 18:44 +0100, Abderrahim Kitouni wrote:
> Hi,
>
> 2009/10/26 Barry Kauler :
> > I am asking about
> >
> > var s = new string
> >
> > To me, it *does* make sense, but anyway, I am not asking about it's
> > merits. I would like to know why it compiled before, not now.
> > I
Hi,
2009/10/26 Barry Kauler :
> I am asking about
>
> var s = new string
>
> To me, it *does* make sense, but anyway, I am not asking about it's
> merits. I would like to know why it compiled before, not now.
> It looks like quite legal syntax to me, and the compiler was happy
> with it, and
I know that you can just do
var s = ""
I am asking about
var s = new string
To me, it *does* make sense, but anyway, I am not asking about it's
merits. I would like to know why it compiled before, not now.
It looks like quite legal syntax to me, and the compiler was happy
with it, and i
Hey there,
> Could someone explain this to me? I don't understand why this code was
> > ok before but no longer.
> Why not simply var s = "" instead of new string? In my opinion, having
> a constructor for string which takes a string does not make any sense.
>
Why not? 'string' is a class like an
Hi,
2009/10/24 pHilipp Zabel :
>
> I still get the critical error message, though:
>
> ** (valac:1106): CRITICAL **: vala_data_type_get_value_owned: assertion `self
> != NULL' failed
>
> Any idea where this is coming from?
This means that an instance method is being called on a null variable.
To f
Hi,
2009/10/25 Patrick Castle :
> I've been trying to learn Genie and it's going OK for the moment. However, I
> was
> trying to translate a Vala example using MarkupParser in GLib and I was coming
> unstuck on how to define multiple anonymous functions in a comma-separated
> parameter list.
>
[.
Am Montag, den 26.10.2009, 05:30 +0800 schrieb Barry Kauler:
> Hi guys,
> There is a very simple Genie program that compiled ok early in 2009:
>
> init
> var s = new string
> s += "My name is Barry"
> print s
>
> I have got Vala out of git yesterday, and the above program will n
Okay, I'll post this to the bugzilla.
On 10/26/09, Barry Kauler wrote:
> Hi guys,
> There is a very simple Genie program that compiled ok early in 2009:
>
> init
> var s = new string
> s += "My name is Barry"
> print s
>
> I have got Vala out of git yesterday, and the above pro
12 matches
Mail list logo