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

Re: [Vala] Some problems with migration to Vala 0.3.1



Done : #530369 (http://bugzilla.gnome.org/show_bug.cgi?id=530369)

Thanks.

2008/4/28 Juerg Billeter <j bitron ch>:
> 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
>
>



-- 
Nicolas Joseph

Responsable de la rubrique GTK+ de developpez.com

http://nicolasj.developpez.com


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