On Sat, 2009-05-30 at 22:22 +0200, Nicolas Joseph wrote:
> Hello,
> 
> Your first problem is due to the '<' character, could you post an
> issue so that I will not forget:
> http://code.google.com/p/valide/issues/list
> 
> libgee is now included in libvala-1.0.dll, you just add the vala-1.0 package.
A annotation for Joss
Now it sounds like we have a runtime for VALA. That's not the case.

vala-1.0 package is the vala compiler itself. vala is organized in such
a way that the core compiler is the library vala-1.0 and there is a
small wrapper executable valac on top of it. 

You get libgee by linking with vala-1.0 because vala-1.0 has an embedded
libgee. 

Best,

Yu
> 
> 2009/5/30 Joss 4 <[email protected]>:
> > @ Nicolas
> > I have problems with valide 4.0 version in windows env.
> >
> > My example is :
> >
> > using GLib;
> >
> >      SList<string> list = new SList<string> ();
> >          list.append ("one");
> >          list.append ("two");
> >          list.append ("three");
> >          list.append ("four");
> >
> > now if I write the sort function with first letter in uppercase like
> > list.Sort the compiler doesn't  warning any error, simply don't compile.
> > while if  manually compile on command line this way, I get the error:
> >
> > main.vala:376.13-376.21: error: The name `Sort' does not exist in the
> > context of `GLib.SList<string>'
> >           list.Sort(strcmp);
> >           ^^^^^^^^^
> > also I have problems with indexeder and find functions; If I write code like
> > this:
> >
> > string key = "three";
> > int ix = list.index(key);        //  In this line I get -1
> >
> > string foundkey =  (string)list.find(key);    // in this line i get null
> >
> > stdout.printf ("%s %d \n", foundkey, ix );
> > Where I am wrong  ? Is there some error in  my settings ?.
> >
> > @Nicolas Joseph ,
> > Could you also post a windows version of libgee-1.0.dll ??
> >
> >
> > _______________________________________________
> > Vala-list mailing list
> > [email protected]
> > http://mail.gnome.org/mailman/listinfo/vala-list
> >
> 
> 
> 

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to