Hi!
As I see a few small problems discussed, here is another:
% cat > 1.c
static char* str = "aaa"
"bbb"
"ccc";
% cc -c 1.c
OK
% cp 1.c. 1.vala
% valac -C 1.vala
1.vala:2.1-2.5: error: syntax error, expected `;'
"bbb"
^
Compilation failed: 1 error(s), 0 warning(s)
I know verbatim
On Wed, 2008-10-15 at 23:05 +0400, Кутейников Дмитрий wrote:
> I have defined function with name register and Vala translated it to C
> as is.
> So gcc shows errors because "register" is reserved keyword in C.
Vala currently doesn't check possible conflicts in the C namespace but
it's definitely
Hi,
On Wed, 2008-10-15 at 22:05 +0400, Кутейников Дмитрий wrote:
> I wrote this:
>
> class Item
> {
> public uint8 x, y, zlevel;
> public string location;
> }
>
>
> and got an error:
>
> objects.vala:18.19-18.19: error: syntax error, expected de
I have defined function with name *register *and Vala translated it to C as
is.
So *gcc* shows errors because "register" is reserved keyword in C.
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
I wrote this:
*class Item
{
public uint8 x, y, zlevel;
public string location;
}*
and got an error:
*objects.vala:18.19-18.19: error: syntax error, expected declaration
public uint8 x, y, zlevel;
*This code is cor
On Tue, 2008-10-14 at 14:31 -0400, Yu Feng wrote:
> Hi,
>
> there is a link at http://live.gnome.org/GObjectIntrospection/
> saying that gtkmm 'can' use gobject-introspection.
>
> Is anyone working on this
No.
> / when will it likely to be done?
Not soon unless someone decides that they would
Кутейников Дмитрий wrote:
A thought on syntax:
**
* class A : Object {
public void foo() {
stdout.printf("Object A doing the job.");
}
};*
*class B : Object {
*
* public A a;
public void foo() {
a.foo();
}
};
Delphi does
Can you add one really necessary feature to Vala: delegation?
It would be great if I could write something like this:
* class A : Object {
public void foo() {
stdout.printf("Object A doing the job.");
}
};*
*class B : Object {
*
*public delegati