Re: [Vala] Compile error (interfacing DBus)



Hi Hannes,

On Tue, 2008-05-20 at 11:45 +0200, Hannes Matuschek wrote:
I've tried to deal with HAL's DBus-interface but got some compile
errors (compiling the C code).
[...]
Fails to compile:
valac --pkg=dbus-glib-1 -o test src/main.vala
main.c: In function 'us_backup_main':
main.c:47: error: 'result' undeclared (first use in this function)
main.c:47: error: (Each undeclared identifier is reported only once
main.c:47: error: for each function it appears in.)
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)

This was bug 529351. I've just committed a fix, it should work fine now
with string[].

Jürg
-- 
Jürg Billeter <j bitron ch>




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