Re: [Vala] problem with posix profile



Yep, the posix profile is experimental and work in progress, I have
submitted some patches for it, because I find it interesting for
many situations where you dont want to depend on G* stuff,
but it lacks many language features.

Actually the posix profile is just a subset of the glib one.

Feel free to submit patches :)

Barry Kauler wrote:
As always, as a guy with assembly, C and Bash programming background
only, I hope that I'm not asking a dumb question...

I understand that posix profile compiles code without glib/gobject
dependency, but I found some simple examples do not compile. For
example, this one in Genie syntax:

init
        a:array of string = {"abc", "def", "xyz"}
        for s in a
                print s

I would have thought that should be okay for the posix profile, but
there are compile errors. The generated C code seems to have some glib
stuff in it.

So, my question is, is it intended that the simple example above
should be okay with the posix profile? And, as it doesn't compile (I'm
using vala from git, October 24 2009), is that because posix support
is a work-in-progress?

Regards,
Barry Kauler
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list



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