On Thu, 2010-01-14 at 15:57 +0800, Jerry Tan wrote:
Hi, all,
I know that I can use gcc or sunstudio to compile C code which is
generated by valac,
I just want to know that is there any compiler dependency,
for example, gcc extension, c99 support,
any requirement for gcc version or
row : string[]
causes error:
mysql.vala.c: In function ‘_main’:
mysql.vala.c:25: error: array size missing in ‘row2’
mysql.vala.c:38: error: incompatible types in assignment
row : string[]?
causes error:
error: syntax error, expected line end or semicolon but got `?'
while Vala works fine with
Hello all
Thanks Łukasz for your reply!
That explains the behavior. But then, shouldn't a thread also own the
thread function or will that lead to other issues?
Should the vapi binding be:
public static weak Thread create (owned ThreadFunc func, bool joinable)
throws ThreadError;
instdead of:
There are still issues to make the C code compilable for visual studio[1]
[1] https://bugzilla.gnome.org/show_bug.cgi?id=606838
I also found a problem in the swig trying to parse the .h files
generated by vala.
On 01/14/2010 09:45 AM, Jürg Billeter wrote:
On Thu, 2010-01-14 at 15:57 +0800,
Hi all
Looks like closures and threads are incompatible right now.
This is the ccode generated from vala.
VALA:
Thread.create( ()= { Thread.usleep(1000); print(in thread : %s \n,
test); }, false);
CCODE:
g_thread_create (__lambda0__gthread_func, _data1_, FALSE,
_inner_error_);
CCODE (with owned
Hi Denis,
use this:
row : array of string
Regards,
Nicolas.
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list