[Vala] Produced C files don't include headers they should include
- From: "Jaap A. Haitsma" <jaap haitsma org>
- To: vala-list gnome org
- Subject: [Vala] Produced C files don't include headers they should include
- Date: Sat, 29 Mar 2008 21:12:02 +0100
Hi,
When I write the following code
-----
using GLib;
public class Foo.Foo : Object {
static int main (string[] args) {
Thread.init ();
Gdk.threads_init ();
Gtk.init (ref args);
Gst.init (ref args);
Gtk.main ();
return 0;
}
}
--------
and compile it to C code no #include statements for gtk, gstreamer and
gdk are generated. Consequently compiling the C code results in
warnings: implicit declerations for the gtk, gst and gdk functions I
use. Am I doing something wrong?
Jaap
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]