Re: [Vala] Cairo sample is not compiled.



As the compiler said, there is a missing return statement for the function starting at line 24. So add a return true there. ++

Michel Salim a écrit :
2008/1/27 Denis Cheremisov <denis-cheremisov yandex ru>:
 valac cairo-demo.vala --pkg gtk+-2.0 --pkg cairo -o cairo-demo
 /home/master/Desktop/cairo-demo.vala:24.22-24.27: error: missing return
statement at end of method body

Works fine with 0.1.6 here (Fedora, x86_64)






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