Re: [Vala] Genie xmlrpc-c bindings test
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: phil logicworks co nz
- Cc: vala-list gnome org
- Subject: Re: [Vala] Genie xmlrpc-c bindings test
- Date: Mon, 13 Sep 2010 19:53:52 +0100
في ن، 13-09-2010 عند 22:07 +1200 ، كتب Phil Daintree:
Trouble again guys...
I have attempted to convert pancake's xmlrpc-c test client that I
modified to use a call to the webERP PHP demo server's XML-RPC api. It
is using pancake's xml-rpc-c bindings
The code fails with:
# valac --pkg=xmlrpc --Xcc=-lxmlrpc_client xmlrpc-c_test.gs
/initrd/mnt/dev_save/my-documents/genie_programs/xmlrpc-c_test.vala.c:
In function '_xmlrpc_INCREF0':
/initrd/mnt/dev_save/my-documents/genie_programs/xmlrpc-c_test.vala.c:90: error:
void value not ignored as it ought to be
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
Off the top of my head : xmlrpc_INCREF doesn't return anything, but
valac expects it to return the instance (like g_object_ref). I don't
know if there is a workaround for this, someone more familiar with the
internals of valac may be able to help.
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]