[Vala] Problems compiling



Hi.

When I try to compile the attached file, using latest SVN, I get the
following error:
------------------------------------------------------------------------------------------------------------------------------------
valac --pkg gtksourceview-2.0 --pkg glib-2.0 --pkg gtk+-2.0 -g -O 2 -X
-Wall --enable-checking --save-temps -o MainWindow SourceFile.vala
MainWindow.vala

** (valac:16484): CRITICAL **: vala_type_reference_get_data_type:
assertion `VALA_IS_TYPE_REFERENCE (self)' failed

** (valac:16484): CRITICAL **: vala_ccode_function_call_add_argument:
assertion `VALA_IS_CCODE_EXPRESSION (expr)' failed
SourceFile.c: En la funciĆ³n 'source_file_constructor':
SourceFile.c:119: error: expected expression before ')' token
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
make: *** [MainWindow] Error 1
------------------------------------------------------------------------------------------------------------------------------------

I don't know if I'm doing something wrong (considering I have 0 C# and
GTK+ experience) or there is a bug in Vala. Any tips?

Thanks in advance.

Regards,
Francisco Camenforte Torres.

Attachment: SourceFile.vala
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]