Date: Fri, 8 Jun 2001 15:58:14 +0200 To: lablgtk at kaba.or.jp Subject: ocamlopt and testgtk example ... Message-ID: <20010608155814.A12538 at lambda.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: Sven LUTHER Sender: Sven LUTHER Hello, ... Is the following normal, or am i just not seing something obvious ? Script started on Fri Jun 8 15:55:56 2001 luther@lambda:/tmp$ ocamlopt -I +lablgtk -labels -o testgtk lablgtk.cmxa testgt k.ml File "testgtk.ml", line 12, characters 2-55: Warning: this expression should have type unit. File "testgtk.ml", line 13, characters 2-55: Warning: this expression should have type unit. File "testgtk.ml", line 14, characters 2-55: Warning: this expression should have type unit. File "testgtk.ml", line 24, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 71, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 85, characters 3-69: Warning: this expression should have type unit. File "testgtk.ml", line 97, characters 1-65: Warning: this expression should have type unit. File "testgtk.ml", line 101, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 107, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 124, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 131, characters 3-88: Warning: this expression should have type unit. File "testgtk.ml", line 135, characters 1-51: Warning: this expression should have type unit. File "testgtk.ml", line 141, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 157, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 173, characters 1-51: Warning: this expression should have type unit. File "testgtk.ml", line 179, characters 1-51: Warning: this expression should have type unit. File "testgtk.ml", line 195, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 203, characters 3-89: Warning: this expression should have type unit. File "testgtk.ml", line 207, characters 1-51: Warning: this expression should have type unit. File "testgtk.ml", line 213, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 250, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 251, characters 1-55: Warning: this expression should have type unit. File "testgtk.ml", line 295, characters 1-51: Warning: this expression should have type unit. File "testgtk.ml", line 301, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 318, characters 2-48: Warning: this expression should have type unit. File "testgtk.ml", line 319, characters 2-57: Warning: this expression should have type unit. File "testgtk.ml", line 320, characters 2-61: Warning: this expression should have type unit. File "testgtk.ml", line 328, characters 2-47: Warning: this expression should have type unit. File "testgtk.ml", line 329, characters 2-55: Warning: this expression should have type unit. File "testgtk.ml", line 330, characters 2-59: Warning: this expression should have type unit. File "testgtk.ml", line 346, characters 2-68: Warning: this expression should have type unit. File "testgtk.ml", line 349, characters 2-67: Warning: this expression should have type unit. File "testgtk.ml", line 350, characters 2-50: Warning: this expression should have type unit. File "testgtk.ml", line 351, characters 2-57: Warning: this expression should have type unit. File "testgtk.ml", line 352, characters 2-55: Warning: this expression should have type unit. File "testgtk.ml", line 393, characters 1-57: Warning: this expression should have type unit. File "testgtk.ml", line 394, characters 1-57: Warning: this expression should have type unit. File "testgtk.ml", line 407, characters 5-163: Warning: this expression should have type unit. File "testgtk.ml", line 415, characters 1-52: Warning: this expression should have type unit. File "testgtk.ml", line 420, characters 1-79: Warning: this expression should have type unit. File "testgtk.ml", line 439, characters 2-211: Warning: this expression should have type unit. File "testgtk.ml", line 445, characters 2-203: Warning: this expression should have type unit. File "testgtk.ml", line 453, characters 2-193: Warning: this expression should have type unit. File "testgtk.ml", line 459, characters 2-189: Warning: this expression should have type unit. File "testgtk.ml", line 465, characters 2-190: Warning: this expression should have type unit. File "testgtk.ml", line 473, characters 2-140: Warning: this expression should have type unit. File "testgtk.ml", line 477, characters 2-181: Warning: this expression should have type unit. File "testgtk.ml", line 483, characters 2-176: Warning: this expression should have type unit. File "testgtk.ml", line 491, characters 2-145: Warning: this expression should have type unit. File "testgtk.ml", line 496, characters 2-148: Warning: this expression should have type unit. File "testgtk.ml", line 503, characters 2-151: Warning: this expression should have type unit. File "testgtk.ml", line 508, characters 2-152: Warning: this expression should have type unit. File "testgtk.ml", line 515, characters 2-146: Warning: this expression should have type unit. File "testgtk.ml", line 520, characters 2-148: Warning: this expression should have type unit. File "testgtk.ml", line 535, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 561, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 566, characters 1-47: Warning: this expression should have type unit. File "testgtk.ml", line 567, characters 1-49: Warning: this expression should have type unit. File "testgtk.ml", line 570, characters 1-49: Warning: this expression should have type unit. File "testgtk.ml", line 572, characters 1-47: Warning: this expression should have type unit. File "testgtk.ml", line 574, characters 1-96: Warning: this expression should have type unit. File "testgtk.ml", line 576, characters 1-96: Warning: this expression should have type unit. File "testgtk.ml", line 584, characters 1-96: Warning: this expression should have type unit. File "testgtk.ml", line 586, characters 1-96: Warning: this expression should have type unit. File "testgtk.ml", line 590, characters 1-97: Warning: this expression should have type unit. File "testgtk.ml", line 592, characters 1-97: Warning: this expression should have type unit. File "testgtk.ml", line 595, characters 1-54: Warning: this expression should have type unit. File "testgtk.ml", line 650, characters 8-29: Warning: this expression should have type unit. File "testgtk.ml", line 692, characters 2-77: Warning: this expression should have type unit. File "testgtk.ml", line 715, characters 2-64: Warning: this expression should have type unit. File "testgtk.ml", line 720, characters 2-63: Warning: this expression should have type unit. File "testgtk.ml", line 725, characters 2-66: Warning: this expression should have type unit. File "testgtk.ml", line 728, characters 2-51: Warning: this expression should have type unit. File "testgtk.ml", line 731, characters 2-50: Warning: this expression should have type unit. File "testgtk.ml", line 774, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 817, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 824, characters 1-49: Warning: this expression should have type unit. File "testgtk.ml", line 827, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 868, characters 1-83: Warning: this expression should have type unit. File "testgtk.ml", line 900, characters 1-54: Warning: this expression should have type unit. File "testgtk.ml", line 906, characters 1-94: Warning: this expression should have type unit. File "testgtk.ml", line 908, characters 1-73: Warning: this expression should have type unit. File "testgtk.ml", line 915, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 921, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 941, characters 1-60: Warning: this expression should have type unit. File "testgtk.ml", line 949, characters 1-65: Warning: this expression should have type unit. File "testgtk.ml", line 953, characters 1-98: Warning: this expression should have type unit. File "testgtk.ml", line 958, characters 1-115: Warning: this expression should have type unit. File "testgtk.ml", line 963, characters 1-117: Warning: this expression should have type unit. File "testgtk.ml", line 970, characters 1-432: Warning: this expression should have type unit. File "testgtk.ml", line 975, characters 1-218: Warning: this expression should have type unit. File "testgtk.ml", line 1010, characters 1-56: Warning: this expression should have type unit. File "testgtk.ml", line 1021, characters 1-60: Warning: this expression should have type unit. File "testgtk.ml", line 1024, characters 1-70: Warning: this expression should have type unit. File "testgtk.ml", line 1030, characters 1-70: Warning: this expression should have type unit. File "testgtk.ml", line 1032, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 1038, characters 1-50: Warning: this expression should have type unit. File "testgtk.ml", line 1103, characters 2-46: Warning: this expression should have type unit. File "testgtk.ml", line 1107, characters 2-54: Warning: this expression should have type unit. File "testgtk.ml", line 1122, characters 1-40: Warning: this expression should have type unit. File "testgtk.ml", line 1126, characters 2-52: Warning: this expression should have type unit. File "testgtk.ml", line 1132, characters 2-51: Warning: this expression should have type unit. luther@lambda:/tmp$ ./testgtk GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtktypeutils.c: line 337 (gtk_type_class): assertion `node != NULL' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::border_width" is not in the `(null)' ancestry Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::reallocate_redraws" is not in the `(null)' ancestry GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed. Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::title" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::auto_shrink" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::allow_shrink" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::allow_grow" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::modal" is not in the `(null)' ancestry Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::default_width" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::default_height" is not in the `(null)' ancestry GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed. Gtk-WARNING **: invalid cast from `GtkBin' to `(unknown)' Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)' Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)' Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)' GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS_WIDGET (widget)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 4871 (gtk_widget_ref): assertion `GTK_IS_WIDGET (widget)' failed. Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)' Gtk-CRITICAL **: file gtkobject.c: line 457 (gtk_object_sink): assertion `GTK_IS_OBJECT (object)' failed. Gtk-CRITICAL **: file gtkobject.c: line 1162 (gtk_object_ref): assertion `GTK_IS_OBJECT (object)' failed. Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)' GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS_WIDGET (widget)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 3746 (gtk_widget_set_uposition): assertion `GTK_IS_WIDGET (widget)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 3787 (gtk_widget_set_usize): assertion `GTK_IS_WIDGET (widget)' failed. Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)' Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed. Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)' Gtk-WARNING **: gtk_signal_connect_full(): could not find signal "destroy" in the `GtkWindow' class ancestry GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkBox::spacing" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkBox::homogeneous" is not in the `(null)' ancestry Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed. Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed. Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed. Gtk-CRITICAL **: file gtkcontainer.c: line 535 (gtk_container_add_child_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed. Gtk-WARNING **: invalid cast from `GtkBox' to `(unknown)' Gtk-CRITICAL **: file gtkobject.c: line 1162 (gtk_object_ref): assertion `GTK_IS_OBJECT (object)' failed. Gtk-CRITICAL **: file gtkobject.c: line 457 (gtk_object_sink): assertion `GTK_IS_OBJECT (object)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkcontainer.c: line 714 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkMisc::xalign" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkMisc::yalign" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkMisc::xpad" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkMisc::ypad" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkLabel::label" is not in the `(null)' ancestry Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkLabel::pattern" is not in the `(null)' ancestry Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed. Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkLabel::wrap" is not in the `(null)' ancestry Gtk-WARNING **: invalid cast from `GtkLabel' to `(unknown)' GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS_WIDGET (widget)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS_WIDGET (widget)' failed. Gtk-CRITICAL **: file gtkobject.c: line 1162 (gtk_object_ref): assertion `GTK_IS_OBJECT (object)' failed. Gtk-CRITICAL **: file gtkobject.c: line 457 (gtk_object_sink): assertion `GTK_IS_OBJECT (object)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 3356 (gtk_widget_set_parent): assertion `GTK_IS_WIDGET (widget)' failed. Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)' Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)' GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed. GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed. Gtk-WARNING **: gtk_type_create(): unknown parent type `21'. Gtk-CRITICAL **: file gtkwidget.c: line 1057 (gtk_widget_new): assertion `gtk_type_is_a (widget_type, GTK_TYPE_WIDGET)' failed. Fatal error: uncaught exception Gpointer.Null luther@lambda:/tmp$ exit Script done on Fri Jun 8 15:56:15 2001