[Xfc-dev] make fails on x86_64, keyfile.cc

Christian Lundgren zeflunk at gmail.com
Sat Apr 15 16:38:14 CEST 2006


keyfile.cc fails at a couple of places with errors like this:

keyfile.cc:274: error: cannot convert 'unsigned int*' to 'gsize*' for argument '4' to 'gint* g_key_file_get_integer_list(GKeyFile*, const gchar*, const gchar*, gsize*, GError**)'

I've attached a diff file that changes all unsigned int declarations gsize. With this you also need to change tests/core/iochannel.cc:65 to gsize from unsigned int.

examples/selection.cc also fails with this message:

selection.cc: In member function "virtual void RetrieveSelectionButton::on_selection_received(const Xfc::Gtk::SelectionData&, unsigned int)":
selection.cc:50: error: cast from "unsigned char*" to "unsigned int" loses precision
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keyfile.cc_x86_64.diff
Type: application/octet-stream
Size: 1930 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfc-dev/attachments/20060415/fa6e42b7/attachment.obj>


More information about the Xfc-dev mailing list