[Vala] strcmp : incompatible pointer type warning
- From: bsquared <bwcode4u gmail com>
- To: vala-list gnome org
- Subject: [Vala] strcmp : incompatible pointer type warning
- Date: Mon, 03 Oct 2011 13:16:28 -0700
warning: assignment from incompatible pointer type [enabled by default]
vala:
assert (strcmp (array.get_string_element (array.get_length () - 1), "hola") == 0);
c:
GCompareFunc _tmp4_;
[...]
_tmp4_ = g_strcmp0;
_tmp5_ = couchdb_struct_field_get_string_field (sf, "string_field");
_tmp6_ = _tmp4_ (_tmp5_, "hola");
g_assert (_tmp6_ == 0);
I Googled this and found a similar reference that suggested a bug be filed.[1]
I looked at the bug and it's status is UNCONFIRMED.[2]
What should be done about these warnings? Should a bug be filed?
--
Regards,
Brian Winfrey
[1] - http://mail.gnome.org/archives/vala-list/2010-July/msg00079.html
[2] -https://bugzilla.gnome.org/show_bug.cgi?id=624139
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]