Re: [Vala] Some problems with migration to Vala 0.3.1
- From: "Juerg Billeter" <j bitron ch>
- To: "gege2061" <gege2061 redaction-developpez com>
- Cc: Vala ML <vala-list gnome org>
- Subject: Re: [Vala] Some problems with migration to Vala 0.3.1
- Date: Mon, 28 Apr 2008 16:26:37 +0200 (CEST)
On Thu, April 24, 2008 20:40, gege2061 wrote:
Second, with length function :
--------------------------------------------------------------------------------
Xml.NodeSet* node = ...;
nodes->length ();
--------------------------------------------------------------------------------
is transformed to c code :
--------------------------------------------------------------------------------
xmlXPathNodeSetGetLength (((gpointer) nodes));
--------------------------------------------------------------------------------
but xmlXPathNodeSetGetLength is macro extend to :
--------------------------------------------------------------------------------
((ns) ? (ns)->nodeNr : 0)
--------------------------------------------------------------------------------
Makes an error :
--------------------------------------------------------------------------------
warning: dereferencing 'void *' pointer
error: request for member 'nodeNr' in something not a structure or union
--------------------------------------------------------------------------------
Please file a bug about this issue.
Juerg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]